2 cisco 3640 рутера в dynamips под IOS-12.4 (c3640-ik9o3s-mz.124-7)
Настроен RIPv2, в апдейтах шлет неправильный префикс (24 вместо 30)
Сама конфигурация:
r1#sh ip int br
Interface IP-Address OK? Method Status Protocol
FastEthernet1/0 192.168.10.1 YES manual up up
FastEthernet2/0 192.168.20.1 YES manual up up
FastEthernet3/0 unassigned YES unset administratively down down
r1#sh ip route
Gateway of last resort is not set
C 192.168.10.0/24 is directly connected, FastEthernet1/0
192.168.20.0/30 is subnetted, 1 subnets
C 192.168.20.0 is directly connected, FastEthernet2/0
r1(config)#router rip
r1(config-router)#version 2
r1(config-router)#network 192.168.20.0
На втором роутере получаем, соответственно:
r2#sh ip route | include FastEthernet
C 192.168.10.0/24 is directly connected, FastEthernet1/0
R 192.168.20.0/24 [120/1] via 192.168.10.1, 00:00:22, FastEthernet1/0
Дебаг:
r1#debug ip rip
RIP protocol debugging is on
Jul 4 00:26:26.759: RIP: sending v2 update to 224.0.0.9 via FastEthernet1/0 (192.168.10.1)
Jul 4 00:26:26.763: RIP: build update entries
Jul 4 00:26:26.763: 192.168.20.0/24 via 0.0.0.0, metric 1, tag 0
^^
хочу 30
RIP2 же classless протокол и должен отсылать корректную маску в апдейтах,
почему так происходит?