Routing – Identical IPv4 Addresses in Different Subnets

ipipv4routingsubnet

Is it possible to have two identical IP adresses in two different subnets such as PC1 and PC4?

Network 1

Best Answer

Simply configuring PC1 with that address will not work. If a packet is destined for PC1, the router would look for the destination address in its routing table, and it would find that it should send the packet out the interface with the 10.0.32.0/24 address.

The original premise of IP is that every host is assigned a unique IP address, and this allows end-to-end IP connectivity. What you have breaks that, and it can cause problems.

There are some complex ways that you may be able to make this work, e.g. NAT, but this is something that you really want to avoid if at all possible.