From: Ahmed Hassan (ahmed_hassan@rayatelecom.net)
Date: Tue Apr 08 2003 - 05:57:02 GMT-3
Hi,
Loopback Netmask address must be the same in mask statement under BGP to be able to install all the loopbacks in the BGP table or you have to use aggregate-address instead on network statement
best regards
*************************************
Ahmed Hassan El-shinnawy
Network Planning and configuration Engineer
Raya Telecom
ahmed_hassan@rayatelecom.net
*************************************
-----Original Message-----
From: cebuano [mailto:cebu2ccie@cox.net]
Sent: Tuesday, April 08, 2003 7:27 AM
To: ccielab@groupstudy.com
Subject: Can't get loopbacks into BGP table
Hi group.
I can't figure out why the loopbacks that are configured in BGP with
"network" statement are not showing up in the LOCAL router's BGP table.
Actually, half are installed and the other half are not. And yes, I've
done what Bill Gates told me (reboot). Any comments are welcome. Thanks.
FrSwitch#s
!
interface Loopback100
ip address 100.0.0.1 255.255.255.0
!
interface Loopback101
ip address 100.1.0.1 255.255.255.0
!
interface Loopback102
ip address 100.2.0.1 255.255.255.0
!
interface Loopback103
ip address 100.3.0.1 255.255.255.0
!
interface Loopback110
ip address 110.110.110.110 255.255.255.0
!
interface Loopback111
ip address 111.111.111.111 255.255.255.0
!
interface Loopback112
ip address 112.112.112.112 255.255.255.0
!
interface Loopback113
ip address 113.113.113.113 255.255.255.0
!
interface Ethernet0
ip address 170.1.1.254 255.255.255.0
!
router bgp 100
bgp log-neighbor-changes
network 100.0.0.0 mask 255.255.0.0
network 100.1.0.0 mask 255.255.0.0
network 100.2.0.0 mask 255.255.0.0
network 100.3.0.0 mask 255.255.0.0
network 110.110.110.0 mask 255.255.255.0
network 111.111.111.0 mask 255.255.255.0
network 112.112.112.0 mask 255.255.255.0
network 113.113.113.0 mask 255.255.255.0
neighbor 170.1.1.1 remote-as 34
neighbor 170.1.1.1 route-map BGP out
!
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0
no ip http server
!
access-list 1 permit 100.0.0.0 0.254.0.0
route-map BGP permit 10
match ip address 1
set as-path prepend 200 300 1000 400 500
!
route-map BGP permit 20
set as-path prepend 200 300 400 500
!
FrSwitch#sh ip bgp
BGP table version is 15, local router ID is 200.7.0.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
*> 110.110.110.0/24 0.0.0.0 0 32768 i
*> 111.111.111.0/24 0.0.0.0 0 32768 i
*> 112.112.112.0/24 0.0.0.0 0 32768 i
*> 113.113.113.0/24 0.0.0.0 0 32768 i
*> 195.1.1.0 170.1.1.1 0 34 256 1 i
*> 195.1.2.0 170.1.1.1 0 34 256 i
*> 195.1.3.0 170.1.1.1 0 34 i
*> 195.1.4.0 170.1.1.1 0 0 34 i
*> 195.1.5.0 170.1.1.1 0 34 256 i
*> 195.1.6.0 170.1.1.1 0 34 256 i
FrSwitch#ir
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
170.1.0.0/24 is subnetted, 1 subnets
C 170.1.1.0 is directly connected, Ethernet0
100.0.0.0/24 is subnetted, 4 subnets
C 100.0.0.0 is directly connected, Loopback100
C 100.1.0.0 is directly connected, Loopback101
C 100.2.0.0 is directly connected, Loopback102
C 100.3.0.0 is directly connected, Loopback103
C 200.0.0.0/24 is directly connected, Loopback0
C 200.1.0.0/24 is directly connected, Loopback1
C 200.2.0.0/24 is directly connected, Loopback2
C 200.3.0.0/24 is directly connected, Loopback3
C 200.4.0.0/24 is directly connected, Loopback4
C 200.5.0.0/24 is directly connected, Loopback5
C 200.6.0.0/24 is directly connected, Loopback6
C 200.7.0.0/24 is directly connected, Loopback7
113.0.0.0/24 is subnetted, 1 subnets
C 113.113.113.0 is directly connected, Loopback113
112.0.0.0/24 is subnetted, 1 subnets
C 112.112.112.0 is directly connected, Loopback112
110.0.0.0/24 is subnetted, 1 subnets
C 110.110.110.0 is directly connected, Loopback110
B 195.1.6.0/24 [20/0] via 170.1.1.1, 00:25:33
111.0.0.0/24 is subnetted, 1 subnets
C 111.111.111.0 is directly connected, Loopback111
B 195.1.5.0/24 [20/0] via 170.1.1.1, 00:25:33
B 195.1.4.0/24 [20/0] via 170.1.1.1, 01:09:55
B 195.1.3.0/24 [20/0] via 170.1.1.1, 00:07:29
B 195.1.2.0/24 [20/0] via 170.1.1.1, 00:25:33
B 195.1.1.0/24 [20/0] via 170.1.1.1, 00:26:02
S* 0.0.0.0/0 is directly connected, Ethernet0
FrSwitch#sh ip int brief
Interface IP-Address OK? Method Status
Protocol
Ethernet0 170.1.1.254 YES NVRAM up
up
Loopback0 200.0.0.1 YES NVRAM up
up
Loopback1 200.1.0.1 YES NVRAM up
up
Loopback2 200.2.0.1 YES NVRAM up
up
Loopback3 200.3.0.1 YES NVRAM up
up
Loopback4 200.4.0.1 YES NVRAM up
up
Loopback5 200.5.0.1 YES NVRAM up
up
Loopback6 200.6.0.1 YES NVRAM up
up
Loopback7 200.7.0.1 YES NVRAM up
up
Loopback100 100.0.0.1 YES NVRAM up
up
Loopback101 100.1.0.1 YES NVRAM up
up
Loopback102 100.2.0.1 YES NVRAM up
up
Loopback103 100.3.0.1 YES NVRAM up
up
Loopback110 110.110.110.110 YES NVRAM up
up
Loopback111 111.111.111.111 YES NVRAM up
up
Loopback112 112.112.112.112 YES NVRAM up
up
Loopback113 113.113.113.113 YES NVRAM up
up
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:49 GMT-3