cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1421
Views
0
Helpful
1
Replies

Different subnet on point to point link

Roger De Couto
Level 1
Level 1

Hi guys, I'm a bit confused with why this ping was successful?

Topology

Router 1 <----directly connected to----> Router 2

 

Fast ethernet interfaces on both routers.

 

Router 1 IP add 192.168.0.1 255.255.255.192

Router 2 IP add 192.168.0.5 255.255.255.224

 

Next, I tried pinging 192.168.0.5 from Router 1 and vice-versa and it worked perfectly. Can anyone explain why this worked? My understanding is that they are in 2 different subnets and hence pings should have failed?

1 Reply 1

Both router-interfaces are in the same subnet. It's only that router1 sees that subnet from 192.168.0.0 to 192.168.0.63 and router2 sees this subnet from 192.168.0.0 to 192.168.0.31.

So there is a problem with that configuration, but at least for this test it doesn't have any negative impact.

If you configure R1 to 192.168.0.60, then R1 still sees R2 as belonging to the same subnet, but for Router2, the router1-address is part of a different subnet.