From: Katson Yeung (kyeung@xxxxxxxxxxxxxx)
Date: Wed Jun 19 2002 - 11:06:08 GMT-3
It is because at RTC, the loopback interface 205.40.30.131/26 will be
treated as stub host, and therefore you can see the /32 route at RTB.
Try at RTC:
int lo0
ip ospf network point-to-point
!
router ospf 30
passive interface lo0
network 205.40.30.131 0.0.0.0 area 51
!
That may solve your problem.
On Wed, 19 Jun 2002, Hunt Lee wrote:
> This might be a simple answer. I have 3 routers:-
>
> RTA --- RTB --- RTC - 205.40.30.131 /26
>
> RTA & RTB - running EBGP
> RTB & RTC - running OSPF
>
> The network 205.40.30.131 is the IP of a Loopback interface, and it is
> advertised by OSPF's network command.
>
> OSPF is being redistributed into BGP at RTB.
>
>
> At RTC:-
>
> interface Loopback0
> ip address 205.40.30.131 255.255.255.192
>
> router ospf 30
> log-adjacency-changes
> network 10.0.0.0 0.255.255.255 area 0
> network 205.0.0.0 0.255.255.255 area 51
>
>
> Ok, here is what I'm confused about. At RTB, why is the BGP route for
> 205.40.30.131 is a /32 (host route??) rather than a /26, or am I missing
> something important here??
>
>
> RouterB#sh ip bgp
> BGP table version is 4, local router ID is 172.17.1.1
> Status codes: s suppressed, d damped, h history, * valid, > best, i - interna
l
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 10.1.1.0/30 0.0.0.0 0 32768 ?
> *> 198.8.4.128/25 0.0.0.0 10 32768 ?
> *> 205.40.30.131/32 10.1.1.2 5 32768 ?
>
>
> RouterA>sh ip bgp
> BGP table version is 4, local router ID is 172.17.1.2
> Status codes: s suppressed, d damped, h history, * valid, > best, i - interna
l
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 10.1.1.0/30 172.17.1.1 0 0 2 ?
> *> 198.8.4.128/25 172.17.1.1 10 0 2 ?
> *> 205.40.30.131/32 172.17.1.1 5 0 2 ?
> RouterA>
>
>
> Thanks for your help.
>
> H.
This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:37 GMT-3