Can I have two hosts with different IP network addresses in same VLAN/physical LAN?
This scenario is again not the typical design, since VLANs and subnets cover typically the same topology. Two devices within two different IP networks (prefixes) need a router to communicate between them. If there is a router in place on the same physical network, this router need two IP addresses on its interface, one for each subnet. All traffic runs through that router, even when this is not necessary by the physical network. If there is no router in the network, you may use a trick. Set the default gateway of each device to its own IP address. Then, most operating systems or IP stacks, will send the data direct to the destination (resolving the layer 2 address with ARP).
Related Questions
- Why is it not possible, that two developers working on different hosts in the network check out the same developmentline from their host and commit changes on it?
- Can we use the web interface for configuration from a different LAN segment than the IP device?
- Can I have two hosts with same IP network address in different VLANs?