Can two LANS have the same subnet?

Can two LANS have the same subnet?

When there are 2 interfaces on the same subnet there is no assurance as to which interface will be used to transmit traffic and the machine will accept traffic for either IP on either interface. This is because in Linux the IP address belongs to the host and is not associated with the interface.

How can you tell if two hosts are on the same subnet?

The most common subnet you will see is 255.255. 255.0. So if two addresses match in the first three sections (reading left to right), and the subnet is 255.255. 255.0 for both addresses, they are in the same subnet.

How do I ping a different LAN?

To ping another network device using a computer running Windows, complete the following:

  1. To bring up the run dialog, press the Windows key + R.
  2. Type cmd and press Enter.
  3. Type ping and press Enter. The IP address is XXX. XXX. XXX. XXX, where XXX is a number between 0 and 255. For example, to ping 192.168.

Why is my Ping not working in the same subnet?

If you suspect you found the rule that is stopping it, try the ping again, then run the command again and see if the counter increments on that access control list. There are some possibilities at least… but not knowing how your network is set up, I would walk through it one link at a time.

How does a ping get sent to a layer 2 address?

Actually, the ping gets sent to a layer-2 address if they are on the same LAN. Assuming ethernet, the sending host may have a MAC address in its ARP cache, and the pings gets sent to the host with that MAC address (end of story).

Can You Ping a computer on the same network?

If you want the PCs to be able to ping each other without configuring anything else put them in the same IP subnet. If you want to use different subnets for each PC then you need – 1) a vlan per IP subnet and each PC is in it’s own subnet 2) a trunk from the switch to the router allowing both vlans

Can you peer to peer on the same LAN?

Peer to Peer on the same LAN won’t go anywhere near a Gateway. Think about it. The host will ARP for the MAC address of the device it is trying to reach and the actual device will reply. So will the Gateway but as the Gateway isn’t the target it’s ARP reply will be ignored in favour of the ARP from the appropriate host. Thanks, Mark.