Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I have two hosts with different IP network addresses in same VLAN/physical LAN?

0
Posted

Can I have two hosts with different IP network addresses in same VLAN/physical LAN?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.