RIP and secondary

From: Vadim Mikhailov (vm@lukoil.ru)
Date: Sun Mar 02 2003 - 11:41:09 GMT-3


Hi group
i'm slightly confused with following RIP behaviour -
it installs prefix received over secondary address with wrong mask, and ,
as i understand, it should do this in such way. Is it correct?

R1-------------R2

R1:
router rip
 network 128.10.0.0
 network 128.20.0.0

interface Serial0/1
 ip address 128.10.128.129 255.255.255.252 secondary
 ip address 128.20.10.2 255.255.255.252

interface Loopback0
 ip address 128.10.128.5 255.255.255.252

R2:
router rip
 network 128.10.0.0
 network 128.20.0.0

interface Loopback0
 ip address 128.10.128.13 255.255.255.252
 no ip directed-broadcast

interface Serial0
 ip address 128.10.128.130 255.255.255.252 secondary
 ip address 128.20.10.1 255.255.255.252
 no ip directed-broadcast
 no ip mroute-cache

R1: sh ip route
 
     128.10.0.0/30 is subnetted, 6 subnets
R 128.10.128.12 [120/1] via 128.10.128.130, 00:00:16, Serial0/1
C 128.10.128.4 is directly connected, Loopback0
R 128.10.0.0 [120/1] via 128.20.10.1, 00:00:16, Serial0/1 <---------------
C 128.10.128.128 is directly connected, Serial0/1
C 128.10.101.0 is directly connected, Serial0/0
     128.20.0.0/30 is subnetted, 1 subnets
C 128.20.10.0 is directly connected, Serial0/1

R2: sh ip route

      128.10.0.0/30 is subnetted, 6 subnets
C 128.10.128.12 is directly connected, Loopback0
R 128.10.128.4 [120/1] via 128.10.128.129, 00:00:18, Serial0
R 128.10.0.0 [120/1] via 128.20.10.2, 00:00:18, Serial0 <---------------
C 128.10.128.128 is directly connected, Serial0
C 128.10.10.12 is directly connected, Serial1
     128.20.0.0/30 is subnetted, 1 subnets
C 128.20.10.0 is directly connected, Serial0



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:30 GMT-3