Is it possible to have two identical IP adresses in two different subnets such as
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
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.
It's not feasible to configure identicàl ipaddress in different subnets because ip conflict will occur . Routing issue will occur .
But still you can use identical IP address in different subnets . if both are different networks in this scenario use source NAT IP addresss .so that orginal ip address is hided by nat translations to avoid ip conflicts .
It's possible using VRFs on Router1. The rotuer can have each interface in a different virtual L3 domain with its own separate routing table. This way you can even set identical IP addresses on the router's interfaces. However, you still won't be able to send traffic from PC4 to PC1 because PC4 will just reply to itself (likewise the other direction).