0

I am learning ccna, and doing some practice on packet tracer. I have a simple network with two routers, R0 and R1. They are connected to each other through a serial link (172.16.56.128/30). R0 is directly connected to a network (172.16.53.0/25). R1 is directly connected to two networks one on fa0/0 (172.16.54.0/23) and one on fa0/1 (172.16.56.0/25). I have configured rip v2 on both router using no auto-summary. I added both the networks on R1, while I did not add the network(172.16.56.0/25) on R0. However, the network 172.16.56.0/25 is in the routing table of r1.

 172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
R       172.16.53.0/25 [120/1] via 172.16.56.129, 00:00:09, Serial0/0/1 ///WHY?
C       172.16.54.0/23 is directly connected, FastEthernet0/0
C       172.16.56.0/25 is directly connected, FastEthernet0/1
C       172.16.56.128/30 is directly connected, Serial0/0/1

Can anyone explain me why? shouldn't no auto-summary prevent this?

lucaConfa
  • 117
  • 7

1 Answers1

1

no auto-summary can not prevent that.

Because when you using dynamic routing protocol like RIP, it will send the subnet mask of the classful boundary, and not the actual subnet mask. The command no auto summary will turn this feature off in RIP, and send the actual subnet mask.

Update @lucaConfa

You see that, because you use no auto-summary command. so RIP willl use the real subnet mask and you have 172.16.53.0/25 in routing table.

If you don't use no auto-summary command, you will have 172.16.53.0/24

cuonglm
  • 2,386
  • 2
  • 16
  • 20