Re: Resolved: BGP Sync IBGP over IGP.

From: Evgeny Tantsura (ivgen@castel.nl)
Date: Fri Jan 03 2003 - 14:53:45 GMT-3


It is a known issue.
If you redistribute OSPF <--> BGP both routing protocols MUST have same
router id.

> I cured the problem, thanks to Jack.
>
> There was a combination of two errors.
>
> The main reason it wasn't working was something to do with the router ID on
> Vail, I suspect that it was because it wasn't being advertised and telluride
> couldn't get to it, so failed the sync rule - must play a little more!
> Anybody got any advice?
>
> Also when I retyped the config for the second time I failed to redistribute
> BGP into OSPF at Telluride!!
>
> Cheers to everybody who had a look.
>
> Mat.
>
> ----- Original Message -----
> From: "Matthew Poole" <matthew.poole@blueyonder.co.uk>
> To: <ccielab@groupstudy.com>
> Sent: Friday, January 03, 2003 2:49 PM
> Subject: BGP Sync IBGP over IGP.
>
>
> > Hi All,
> >
> > I can't get my head around Doyle vol II case study, IBGP over an IGP
> > P174-176.
> >
> > I have my routers configured as on P175, prior lab worked fine with fully
> > meshed IBGP. Once the IGP was introduced it started to fall apart!!
> >
> > Both Vail and and Telerude can see all routes via OSPF and IBGP, however
> no
> > best route is selected or advertised - if I turn off synchronisation then
> it
> > works correctly.
> >
> > IP addresses as on diagram, I've only included AS100 configs and routes.
> >
> > I'd appreciate any insight on this!
> >
> > Thanks,
> >
> > Mat.
> >
> > Aspen
> >
> > router ospf 500
> > log-adjacency-changes
> > network 192.168.1.0 0.0.0.255 area 0
> >
> > Show IP route
> > Gateway of last resort is not set
> >
> > O E2 192.168.200.0/24 [110/1] via 192.168.1.221, 00:14:50, Serial0
> > O E2 192.168.250.0/24 [110/1] via 192.168.1.221, 00:14:50, Serial0
> > 192.168.1.0/30 is subnetted, 7 subnets
> > O 192.168.1.224 [110/845] via 192.168.1.221, 00:14:50, Serial0
> > O 192.168.1.204 [110/845] via 192.168.1.197, 00:14:50, Serial1
> > C 192.168.1.196 is directly connected, Serial1
> > O E2 192.168.1.216 [110/1] via 192.168.1.221, 00:14:50, Serial0
> > C 192.168.1.220 is directly connected, Serial0
> > O 192.168.1.208 [110/845] via 192.168.1.221, 00:14:51, Serial0
> > O E2 192.168.1.212 [110/1] via 192.168.1.221, 00:14:51, Serial0
> > O E2 192.168.100.0/24 [110/1] via 192.168.1.221, 00:14:51, Serial0
> >
> > Vail
> >
> > router ospf 500
> > log-adjacency-changes
> > redistribute bgp 100 subnets
> > network 192.168.1.221 0.0.0.0 area 0
> > network 192.168.1.0 0.0.0.255 area 0
> > !
> > router bgp 100
> > bgp router-id 1.1.3.2
> > bgp cluster-id 3232301054
> > bgp log-neighbor-changes
> > neighbor 192.168.1.197 remote-as 100
> > neighbor 192.168.1.197 next-hop-self
> > neighbor 192.168.1.210 remote-as 300
> > neighbor 192.168.1.225 remote-as 200
> > neighbor 192.168.1.225 default-originate
> > no auto-summary
> >
> > R4-Vail#sh ip bgp
> > BGP table version is 27, local router ID is 1.1.3.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
> > * i192.168.1.200/30 192.168.1.197 80 100 0 400 ?
> > *>i192.168.1.204/30 192.168.1.197 80 100 0 400 ?
> > *> 192.168.1.208/30 192.168.1.210 50 0 300 ?
> > *> 192.168.1.212/30 192.168.1.210 50 0 300 ?
> > *> 192.168.1.216/30 192.168.1.225 0 0 200 i
> > *> 192.168.1.224/30 192.168.1.225 0 0 200 ?
> > * i192.168.50.0 192.168.1.197 80 100 0 400 ?
> > * i192.168.75.0 192.168.1.197 80 100 0 400 ?
> > *> 192.168.100.0 192.168.1.225 0 0 200 i
> > *> 192.168.200.0 192.168.1.225 20 0 200 i
> > *> 192.168.250.0 192.168.1.210 50 0 300 ?
> >
> > R4-Vail#sipr
> > Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
> > D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> > N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> > E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> > i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
> > area
> > * - candidate default, U - per-user static route, o - ODR
> > P - periodic downloaded static route
> >
> > Gateway of last resort is not set
> >
> > B 192.168.200.0/24 [20/20] via 192.168.1.225, 00:32:59
> > B 192.168.250.0/24 [20/50] via 192.168.1.210, 00:32:44
> > 192.168.255.0/32 is subnetted, 1 subnets
> > C 192.168.255.254 is directly connected, Loopback0
> > 192.168.1.0/30 is subnetted, 7 subnets
> > C 192.168.1.224 is directly connected, Serial1/2
> > O 192.168.1.204 [110/1626] via 192.168.1.222, 00:16:11, Serial1/0
> > O 192.168.1.196 [110/845] via 192.168.1.222, 00:16:11, Serial1/0
> > B 192.168.1.216 [20/0] via 192.168.1.225, 00:33:01
> > C 192.168.1.220 is directly connected, Serial1/0
> > C 192.168.1.208 is directly connected, Serial1/3
> > B 192.168.1.212 [20/50] via 192.168.1.210, 00:32:45
> > B 192.168.100.0/24 [20/0] via 192.168.1.225, 00:33:01
> >
> > Telluride
> >
> > router ospf 500
> > log-adjacency-changes
> > network 192.168.1.197 0.0.0.0 area 0
> > network 192.168.1.0 0.0.0.255 area 0
> > !
> > router bgp 100
> > bgp log-neighbor-changes
> > neighbor 192.168.1.205 remote-as 400
> > neighbor 192.168.1.221 remote-as 100
> > neighbor 192.168.1.221 next-hop-self
> > no auto-summary
> >
> > R3-Telluride#sh ip bgp
> > BGP table version is 5, local router ID is 192.168.1.206
> > 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
> > *> 192.168.1.200/30 192.168.1.205 80 0 400 ?
> > *> 192.168.1.204/30 192.168.1.205 80 0 400 ?
> > * i192.168.1.208/30 192.168.1.221 50 100 0 300 ?
> > * i192.168.1.212/30 192.168.1.221 50 100 0 300 ?
> > * i192.168.1.216/30 192.168.1.221 0 100 0 200 i
> > * i192.168.1.224/30 192.168.1.221 0 100 0 200 ?
> > *> 192.168.50.0 192.168.1.205 80 0 400 ?
> > *> 192.168.75.0 192.168.1.205 80 0 400 ?
> > * i192.168.100.0 192.168.1.221 0 100 0 200 i
> > * i192.168.200.0 192.168.1.221 20 100 0 200 i
> > * i192.168.250.0 192.168.1.221 50 100 0 300 ?
> > R3-Telluride#sipr
> > Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
> > D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
> > N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
> > E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
> > i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter
> > area
> > * - candidate default, U - per-user static route, o - ODR
> > P - periodic downloaded static route
> >
> > Gateway of last resort is not set
> >
> > B 192.168.75.0/24 [20/80] via 192.168.1.205, 00:24:54
> > O E2 192.168.200.0/24 [110/1] via 192.168.1.198, 00:17:20, Serial1/0
> > O E2 192.168.250.0/24 [110/1] via 192.168.1.198, 00:17:20, Serial1/0
> > B 192.168.50.0/24 [20/80] via 192.168.1.205, 00:24:54
> > 192.168.1.0/30 is subnetted, 8 subnets
> > O 192.168.1.224 [110/1626] via 192.168.1.198, 00:17:20, Serial1/0
> > B 192.168.1.200 [20/80] via 192.168.1.205, 00:24:54
> > C 192.168.1.204 is directly connected, Serial1/1
> > C 192.168.1.196 is directly connected, Serial1/0
> > O E2 192.168.1.216 [110/1] via 192.168.1.198, 00:17:21, Serial1/0
> > O 192.168.1.220 [110/845] via 192.168.1.198, 00:17:21, Serial1/0
> > O 192.168.1.208 [110/1626] via 192.168.1.198, 00:17:21, Serial1/0
> > O E2 192.168.1.212 [110/1] via 192.168.1.198, 00:17:21, Serial1/0
> > O E2 192.168.100.0/24 [110/1] via 192.168.1.198, 00:17:23, Serial1/0
> > .
> .
With kind regards/ met vriendelijke groeten,
------------------------------------------------
E. Tantsura
Network Developer
Essent Kabelcom N.V.
Dr.van Deenweg 84
8025BN Zwolle, The Netherlands
Tel: +31-(0)38-850-7642
Fax: +31-(0)38-850-7410
Mob: +31-(0)6-290-80458
------------------------------------------------
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:40 GMT-3