From: Bezverkhi, Serguei (Serguei.Bezverkhi@xxxxxx)
Date: Thu May 23 2002 - 08:35:36 GMT-3
Two strange things I have found in your configuration. One 172.16.1.4
the one that you advertise is not mentioned in your configuration, and
by definition for BGP to advertise anything IT MUST BE IN THE ROUTING
TABLE exactly the same as you specify in network statement!! And second
thing I think there is a problem with ip addressing in your config, you
assign one ip addr and advertise something different.
Here is the working example, you should be able to adapt to your config:
Ip subnet-zero
Int lo 0
ip addr 172.16.1.5 255.255.255.128
!
Router bgp 300
no auto-summary
no sync
neighbor .........
Network 172.16.1.0 mask 255.255.255.128
!
This config will do the job
Let me know if you need more explanation
Serguei
-----Original Message-----
From: Sharma, Mohit
Sent: May 23, 2002 6:49 AM
To: 'Yan-Hui Liang'; ccielab@groupstudy.com
Subject: RE: BGP
HI All,
Thanx for your inputs.
I have disbaled both auto summary and synchronisation on the routers.
After giving the command network 172.16.1.5 mask 255.255.255.128 I still
do not see this advertised.
hostname giggles
!
!
ip subnet-zero
!
!
!
interface Loopback0
ip address 172.16.1.7 255.255.255.128
no ip directed-broadcast
!
interface Serial0
ip address 172.16.100.10 255.255.255.252
no ip directed-broadcast
!
interface BRI0
no ip address
no ip directed-broadcast
shutdown
!
router bgp 300
no synchronization
network 172.16.1.4 mask 255.255.255.128
neighbor 172.16.100.9 remote-as 700
no auto-summary
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.16.100.9
!
end
giggles#sh ip bgp neighbors 172.16.100.9 advertised-routes giggles#
Any other suggestions please?
Smiles,
Mohit.
-----Original Message-----
From: Yan-Hui Liang [mailto:Yan-Hui.Liang@sprint-canada.com]
Sent: Mittwoch, 22. Mai 2002 19:19
To: SHARMA,MOHIT (HP-Germany,ex1); ccielab@groupstudy.com
Subject: RE: BGP
Did you disable auto summary under BGP? then use network 172.16.1.5 mask
255.255.255.128 -----Original Message-----
From: SHARMA,MOHIT (HP-Germany,ex1) [mailto:mohit_sharma@hp.com]
Sent: Wednesday, May 22, 2002 12:52 PM
To: ccielab@groupstudy.com
Subject: BGP
Hi All,
I have an issue with BGP.
I am using 172.16.1.0/25 subnet for the looopback interfaces on my lab
routers.
I have a router in an AS with the loopback interface ip 172.16.1.5
Is it possible that I can advertise only this IP to other external AS's.
I have tried this but somehow it always advertises some weird subnet.
Can you use such a big subnet for loopbacks?
Smiles,
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:59:06 GMT-3