From: Kyaw Khine (kkhine@xxxxxxxxxxxx)
Date: Wed Jun 19 2002 - 10:52:07 GMT-3
A loopback address will advertise a /32 route into OSPF process which in
turn is distributed inside BGP.
That is why you are seeing /32.
Put "ip ospf network point-to-point" under loopback0 interface command and
it will be advertised as /26 route.
-----Original Message-----
From: Hunt Lee [mailto:ciscoforme3@yahoo.com.au]
Sent: Wednesday, June 19, 2002 9:30 AM
To: ccielab@groupstudy.com
Subject: Please help!!!
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 -
internal 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 -
internal 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.
http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
This archive was generated by hypermail 2.1.4 : Tue Jul 02 2002 - 08:12:37 GMT-3