It looks like Anil wants to get RIP to advertise the 193.9.200.0
network. A secondary address may work on one of the interfaces, but it
would need to be on a different subnet. Notice from the config, he gave
the secondary address the same IP as the primary addy. No matter what he
does with the 193.9.200.0 network, those two routers will always show it
as being "Directly Connected" instead of learned through RIP; DC routes
have an administrative distance of 0, whereas RIP has an AD of 120. In
the routing table, the router is only going o show the route with the
best (lowest) distance. He could add a loopback on a different subnet on
one of the routers, then add network statements for that subnet, and
then he would see that network learned via RIP on the opposite router.
Likewise Anil, if you had a 3rd router connecting to one of your two
routers by the BRI port, that 3rd router would learn of the 193.9.200.0
network through RIP. (Granted, RIP wouldn't be your ideal routing
protocol for an ISDN line, but that's going a little bit deeper than you
need to for now)

Try these configs, then look at your routing tables:

> hostname rustya
> !
> enable secret 5 $1$Ws8V$mRIwI97bc/Iv7PAEKFBVo1
> !
> interface Loopback0
>  ip address 200.10.10.1 255.255.255.0
> !
> interface Ethernet0
>  ip address 192.9.200.1 255.255.255.0
> !
> interface BRI0
>  no ip address
>  shutdown
> !
> router rip
>  network 193.9.200.0
>  network 200.10.10.0
> !
> no ip classless
> !
> line con 0
> line vty 0 4
>  password cisco
>  login
> !
> end


> hostname rustyb
> !
> enable secret 5 $1$JycL$W4sNa8kuL2.tppX2IYQJU/
> !
> interface Loopback0
>  ip address 201.10.10.1 255.255.255.0
> !
> interface Ethernet0
>  ip address 192.9.200.2 255.255.255.0
> !
> interface BRI0
>  no ip address
>  shutdown
> !
> router rip
>  network 196.9.200.0
>  network 201.10.10.0
> !
> no ip classless
> !
> line con 0
> line vty 0 4
>  password cisco
>  login
> !
> end

hth,
Hal


> -----Original Message-----
> From: Kane, Christopher A. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 9:26 PM
> To: [EMAIL PROTECTED]
> Subject: RE: RIP routing (2 router lab) newbie [7:28327]
> 
> 
> I'm not sure if RIP is the same as OSPF, but if so, you must have OSPF
> running on the interface via the Primary address in order to have the
> Secondary address also participate in OSPF. Did you try 
> adding your Primary
> address (network statement) to RIP also?
> 
> Chris 
> 
> 
> 
> -----Original Message-----
> From: Chuck Larrieu
> To: [EMAIL PROTECTED]
> Sent: 12/6/01 5:45 PM
> Subject: RE: RIP  routing (2 router lab) newbie [7:28327]
> 
> try using loopbacks instead of secondaries. Are your 
> secondary addresses
> part of the RIP process via network statements? same subnet 
> boundary as
> the
> primary address?
> 
> Chuck
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> anil
> Sent: Thursday, December 06, 2001 2:03 PM
> To: [EMAIL PROTECTED]
> Subject: RIP routing (2 router lab) newbie [7:28327]
> 
> 
> 2 C1603's connected to a hub.
> It should be simple but I cannot see why RIP does not
> update the routing tables (in either direction).
> I added secondary addresses to both routers e0, and want RIP to send
> these
> routes.
> 
> Any comments/suggestions welcome.
> Many thanks
> -Anil
> 
> 
> ---------
> rustya#sh ip route
> 
> Gateway of last resort is not set
> C    193.9.200.0/24 is directly connected, Ethernet0
> C    192.9.200.0/24 is directly connected, Ethernet0
> rustya#
> ------------------------------
> hostname rustya
> !
> enable secret 5 $1$Ws8V$mRIwI97bc/Iv7PAEKFBVo1
> !
> !
> interface Ethernet0
>  ip address 193.9.200.1 255.255.255.0 secondary
>  ip address 192.9.200.1 255.255.255.0
> !
> interface BRI0
>  no ip address
>  shutdown
> !
> router rip
>  network 193.9.200.0
> !
> no ip classless
> !
> line con 0
> line vty 0 4
>  password cisco
>  login
> !
> end
> 
> 
> 
> --------------------------------
> rustyb#sh ip route
> 
> Gateway of last resort is not set
> 
> C    192.9.200.0/24 is directly connected, Ethernet0
> C    196.9.200.0/24 is directly connected, Ethernet0
> rustyb#
> --------------------------------
> hostname rustyb
> !
> enable secret 5 $1$JycL$W4sNa8kuL2.tppX2IYQJU/
> !
> !
> interface Ethernet0
>  ip address 196.9.200.1 255.255.255.0 secondary
>  ip address 192.9.200.2 255.255.255.0
> !
> interface BRI0
>  no ip address
>  shutdown
> !
> router rip
>  network 196.9.200.0
> !
> no ip classless
> !
> line con 0
> line vty 0 4
>  password cisco
>  login
> !
> end




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=28399&t=28327
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to