From: Gustavo Novais (gustavo.novais@novabase.pt)
Date: Wed Dec 07 2005 - 13:57:14 GMT-3
Hi,
My feeling was similar to yours, but not relative to peering, but to
installing the routes coming from that neighbor.
The thing is that it works
Lo0 150.1.4.4(R4)s0/0--------- <---- default------s1/0.34(R3)Lo0
150.1.3.3
R4 CONFIG
R4#sh run | b r o
router ospf 1
router-id 150.1.4.4
log-adjacency-changes
area 1 virtual-link 150.1.5.5 authentication authentication-key CISCO
redistribute bgp 100
network 150.1.4.4 0.0.0.0 area 1
network 164.1.34.4 0.0.0.0 area 0
network 164.1.45.4 0.0.0.0 area 1
network 164.1.47.4 0.0.0.0 area 38
!
router bgp 100
no synchronization
bgp router-id 150.1.4.4
bgp log-neighbor-changes
aggregate-address 164.1.0.0 255.255.0.0 summary-only
neighbor 150.1.3.3 remote-as 200
neighbor 150.1.3.3 ebgp-multihop 255
neighbor 150.1.3.3 update-source Loopback0
neighbor 204.12.1.254 remote-as 54
no auto-summary
!
ip classless
!
R4#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 164.1.34.3 to network 0.0.0.0
B 119.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 118.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 222.22.2.0/24 [20/0] via 150.1.3.3, 00:00:40
C 204.12.1.0/24 is directly connected, FastEthernet0/1
B 117.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 220.20.3.0/24 [20/0] via 150.1.3.3, 00:00:40
B 116.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 115.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 114.0.0.0/8 [20/0] via 204.12.1.254, 00:00:40
B 113.0.0.0/8 [20/0] via 204.12.1.254, 00:00:41
B 112.0.0.0/8 [20/0] via 204.12.1.254, 00:00:41
28.0.0.0/24 is subnetted, 2 subnets
B 28.119.17.0 [20/0] via 204.12.1.254, 00:00:41
B 28.119.16.0 [20/0] via 204.12.1.254, 00:00:42
164.1.0.0/16 is variably subnetted, 10 subnets, 4 masks
O 164.1.35.0/24 [110/114] via 164.1.45.5, 05:41:07, Serial1/0
C 164.1.34.0/24 is directly connected, Serial0/0
C 164.1.45.0/29 is directly connected, Serial1/0
C 164.1.47.0/24 is directly connected, FastEthernet0/0
C 164.1.45.5/32 is directly connected, Serial1/0
O 164.1.55.0/24 [110/51] via 164.1.45.5, 05:41:07, Serial1/0
O 164.1.5.0/24 [110/51] via 164.1.45.5, 05:41:07, Serial1/0
O 164.1.7.0/24 [110/2] via 164.1.47.7, 21:17:49, FastEthernet0/0
B 164.1.0.0/16 [200/0] via 0.0.0.0, 00:00:42, Null0
B 164.1.3.0/24 [20/0] via 150.1.3.3, 00:00:42
150.1.0.0/16 is variably subnetted, 3 subnets, 2 masks
O 150.1.5.0/24 [110/51] via 164.1.45.5, 21:17:49, Serial1/0
C 150.1.4.0/24 is directly connected, Loopback0
O 150.1.7.7/32 [110/2] via 164.1.47.7, 21:17:49, FastEthernet0/0
B 205.90.31.0/24 [20/0] via 150.1.3.3, 00:00:43
O*E2 0.0.0.0/0 [110/1] via 164.1.34.3, 05:41:08, Serial0/0
R4# sh ip bgp
BGP table version is 24, local router ID is 150.1.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 28.119.16.0/24 204.12.1.254 0 0 54 i
*> 28.119.17.0/24 204.12.1.254 0 0 54 i
*> 112.0.0.0 204.12.1.254 0 54 50 60 i
*> 113.0.0.0 204.12.1.254 0 54 50 60 i
*> 114.0.0.0 204.12.1.254 0 54 i
*> 115.0.0.0 204.12.1.254 0 54 i
*> 116.0.0.0 204.12.1.254 0 54 i
*> 117.0.0.0 204.12.1.254 0 54 i
*> 118.0.0.0 204.12.1.254 0 54 i
*> 119.0.0.0 204.12.1.254 0 54 i
*> 164.1.0.0 0.0.0.0 32768 i
* 150.1.3.3 0 200 i
s> 164.1.3.0/24 150.1.3.3 0 0 200 i
*> 205.90.31.0 150.1.3.3 0 200 254 ?
*> 220.20.3.0 150.1.3.3 0 200 254 ?
*> 222.22.2.0 150.1.3.3 0 200 254 ?
R4#
R3 CONFIG
R3#sh run | b r o
router ospf 1
router-id 150.1.3.3
log-adjacency-changes
network 164.1.34.3 0.0.0.0 area 0
network 164.1.35.3 0.0.0.0 area 0
default-information originate route-map IF
!
router bgp 200
no synchronization
bgp router-id 150.1.3.3
bgp log-neighbor-changes
network 164.1.3.0 mask 255.255.255.0
neighbor 150.1.4.4 remote-as 100
neighbor 150.1.4.4 ebgp-multihop 255
neighbor 150.1.4.4 update-source Loopback0
neighbor 164.1.13.1 remote-as 300
neighbor 164.1.13.1 route-map TO-AS300 out
neighbor 164.1.23.2 remote-as 200
no auto-summary
!
R3#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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 119.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
B 118.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
O E2 222.22.2.0/24 [110/1] via 164.1.34.4, 00:03:08, Serial0/0.34
B 117.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
O E2 220.20.3.0/24 [110/1] via 164.1.34.4, 00:03:08, Serial0/0.34
B 116.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
B 115.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
B 114.0.0.0/8 [20/0] via 150.1.4.4, 00:03:44
54.0.0.0/24 is subnetted, 1 subnets
D EX 54.1.2.0 [170/2514688] via 164.1.23.2, 1d15h, Serial0/1.23
B 113.0.0.0/8 [20/0] via 150.1.4.4, 00:03:46
B 112.0.0.0/8 [20/0] via 150.1.4.4, 00:03:46
D EX 212.18.1.0/24 [170/2514688] via 164.1.23.2, 1d15h, Serial0/1.23
D EX 212.18.0.0/24 [170/2514688] via 164.1.23.2, 1d15h, Serial0/1.23
D EX 212.18.3.0/24 [170/2514688] via 164.1.23.2, 1d15h, Serial0/1.23
D EX 212.18.2.0/24 [170/2514688] via 164.1.23.2, 1d15h, Serial0/1.23
28.0.0.0/24 is subnetted, 2 subnets
B 28.119.17.0 [20/0] via 150.1.4.4, 00:03:46
B 28.119.16.0 [20/0] via 150.1.4.4, 00:03:46
164.1.0.0/16 is variably subnetted, 15 subnets, 4 masks
C 164.1.35.0/24 is directly connected, Serial0/0.35
C 164.1.34.0/24 is directly connected, Serial0/0.34
O IA 164.1.45.0/29 [110/114] via 164.1.35.5, 05:43:26, Serial0/0.35
[110/114] via 164.1.34.4, 05:43:26, Serial0/0.34
O IA 164.1.47.0/24 [110/65] via 164.1.34.4, 05:43:26, Serial0/0.34
O 164.1.55.0/24 [110/65] via 164.1.35.5, 05:43:26, Serial0/0.35
O 164.1.5.0/24 [110/65] via 164.1.35.5, 05:43:26, Serial0/0.35
O IA 164.1.7.0/24 [110/66] via 164.1.34.4, 05:43:26, Serial0/0.34
O E2 164.1.0.0/16 [110/1] via 164.1.34.4, 00:03:11, Serial0/0.34
C 164.1.3.0/24 is directly connected, FastEthernet0/1
C 164.1.13.0/24 is directly connected, Serial1/1
C 164.1.13.1/32 is directly connected, Serial1/1
D 164.1.12.0/24 [90/11023872] via 164.1.23.2, 1d15h, Serial0/1.23
C 164.1.23.0/24 is directly connected, Serial0/1.23
D 164.1.18.0/24 [90/2181120] via 164.1.13.1, 1d15h, Serial1/1
D 164.1.26.0/24 [90/2514432] via 164.1.23.2, 1d15h, Serial0/1.23
150.1.0.0/16 is variably subnetted, 9 subnets, 3 masks
D 150.1.6.0/24 [90/2642432] via 164.1.23.2, 1d15h, Serial0/1.23
O IA 150.1.5.0/24 [110/65] via 164.1.35.5, 05:43:27, Serial0/0.35
O IA 150.1.4.0/24 [110/65] via 164.1.34.4, 05:43:27, Serial0/0.34
D 150.1.4.0/23 is a summary, 1d15h, Null0
C 150.1.3.0/24 is directly connected, Loopback0
D 150.1.2.0/24 [90/2639872] via 164.1.23.2, 1d15h, Serial0/1.23
D 150.1.1.0/24 [90/2306560] via 164.1.13.1, 1d15h, Serial1/1
O IA 150.1.7.7/32 [110/66] via 164.1.34.4, 05:43:27, Serial0/0.34
D 150.1.8.0/24 [90/2309120] via 164.1.13.1, 1d15h, Serial1/1
O E2 205.90.31.0/24 [110/1] via 164.1.34.4, 00:03:12, Serial0/0.34
R3# sh ip bgp
BGP table version is 24, local router ID is 150.1.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 28.119.16.0/24 150.1.4.4 0 100 54 i
*> 28.119.17.0/24 150.1.4.4 0 100 54 i
*> 112.0.0.0 150.1.4.4 0 100 54 50
60 i
*> 113.0.0.0 150.1.4.4 0 100 54 50
60 i
*> 114.0.0.0 150.1.4.4 0 100 54 i
*> 115.0.0.0 150.1.4.4 0 100 54 i
*> 116.0.0.0 150.1.4.4 0 100 54 i
*> 117.0.0.0 150.1.4.4 0 100 54 i
*> 118.0.0.0 150.1.4.4 0 100 54 i
*> 119.0.0.0 150.1.4.4 0 100 54 i
r 164.1.0.0 150.1.4.4 0 0 100 i
r>i 164.1.26.6 0 100 0 i
*> 164.1.3.0/24 0.0.0.0 0 32768 i
r>i205.90.31.0 164.1.26.6 0 100 0 254 ?
r>i220.20.3.0 164.1.26.6 0 100 0 254 ?
r>i222.22.2.0 164.1.26.6 0 100 0 254 ?
R3#
Gustavo Novais
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
ccie2k4
Sent: quarta-feira, 7 de Dezembro de 2005 13:20
To: ccielab@groupstudy.com
Subject: Re: next-hop reachable through default
Hi Gustavo,
Can you post the output of your sho ip route and the ip addresses of the
loopbacks. I am a little confused as to how your BGP peering is up
because
that shouldn't be since your BGP neighbor address on R4 is reachable via
a
default route. I believe that there has to be a specific route for the
neighbor ip in order for peering to be establised. Thx
On 12/6/05, Gustavo Novais <gustavo.novais@novabase.pt> wrote:
>
> Hello,
>
>
>
> I'm doing IEWB3.0 lab 10 bgp section.
>
> Here I have R4 and R3 which are EBGP peers, using their loopback
> interfaces as source. But R4 IGP's is OSPF and R3 IGP is EIGRP. OSPF
is
> redistributed into EIGRP but EIGRP is NOT redistributed into OSPF.
> Instead a default route is generated to R4
>
>
>
> Regarding the peering there are no problems. But regarding the routes
> being installed, I was expecting that as my next hop (R3) is reachable
> through a default, R4 would not install any routes coming from it.
>
>
>
> Instead it does.
>
>
>
> Can anybody explain if the behaviour was recently changed, or if I am
> mistaking something? I am running version 12.3.
>
> According to "Troubleshooting IP Routing Protocols" it should not
accept
> the routes...
>
>
>
> Thanks
>
>
>
> Gustavo Novais
>
>
This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:50 GMT-3