Redistribute BGP to EIGRP (Default route)
OK I have a lab set up for BGP and i can't seem to get the default route from BGP in to EIGRP.
on the edge router i have
router eigrp 10
redistribute bgp 65010
network 10.30.1.1 0.0.0.0
network 192.168.0.0 0.0.255.255
no auto-summary
!
router bgp 65010
no synchronization
bgp log-neighbor-changes
bgp redistribute-internal
neighbor 10.30.2.2 remote-as 65010
neighbor 10.30.2.2 update-source Loopback1
neighbor 172.16.1.1 remote-as 65020
no auto-summary
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/0
D 192.168.4.0/24 [90/307200] via 192.168.2.2, 00:01:50, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
D 10.10.0.0/16 [90/409600] via 192.168.2.2, 00:01:50, FastEthernet0/0
D 10.30.2.2/32 [90/409600] via 192.168.1.2, 00:35:06, FastEthernet0/1
C 10.30.1.1/32 is directly connected, Loopback1
D 10.20.0.0/16 [90/435200] via 192.168.2.2, 00:01:49, FastEthernet0/0
[90/435200] via 192.168.1.2, 00:01:49, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
D 192.168.3.0/24 [90/307200] via 192.168.1.2, 00:01:49, FastEthernet0/1
B* 0.0.0.0/0 [20/0] via 172.16.1.1, 00:04:26
So i can see the default router comming in via BGP, and the redistribution commands are there (narrowed it down to a single default route and got rid of route maps to make it as simple as possible)
on the down stream router i have
router eigrp 10
network 10.10.0.0 0.0.255.255
network 192.168.0.0 0.0.255.255
no auto-summary
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Tunnel0
C 192.168.4.0/24 is directly connected, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
D 10.10.0.0/16 is a summary, 00:35:54, Null0
C 10.10.10.0/24 is directly connected, Loopback1
D 10.30.2.2/32 [90/435200] via 192.168.4.2, 00:02:33, FastEthernet0/1
[90/435200] via 192.168.2.1, 00:02:33, FastEthernet0/0
D 10.30.1.1/32 [90/409600] via 192.168.2.1, 00:02:34, FastEthernet0/0
C 10.10.20.0/24 is directly connected, Loopback2
D 10.20.0.0/16 [90/409600] via 192.168.4.2, 00:02:34, FastEthernet0/1
C 10.10.30.0/24 is directly connected, Loopback3
C 10.10.40.0/24 is directly connected, Loopback4
C 10.10.50.0/24 is directly connected, Loopback5
D 192.168.1.0/24 [90/307200] via 192.168.2.1, 00:02:36, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
D 192.168.3.0/24 [90/307200] via 192.168.4.2, 00:02:36, FastEthernet0/1
So they are swapping EIGRP routes but it is not getting the default route from BGP??
Can any one tell me were I am going wrong ?
on the edge router i have
router eigrp 10
redistribute bgp 65010
network 10.30.1.1 0.0.0.0
network 192.168.0.0 0.0.255.255
no auto-summary
!
router bgp 65010
no synchronization
bgp log-neighbor-changes
bgp redistribute-internal
neighbor 10.30.2.2 remote-as 65010
neighbor 10.30.2.2 update-source Loopback1
neighbor 172.16.1.1 remote-as 65020
no auto-summary
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Serial0/0
D 192.168.4.0/24 [90/307200] via 192.168.2.2, 00:01:50, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
D 10.10.0.0/16 [90/409600] via 192.168.2.2, 00:01:50, FastEthernet0/0
D 10.30.2.2/32 [90/409600] via 192.168.1.2, 00:35:06, FastEthernet0/1
C 10.30.1.1/32 is directly connected, Loopback1
D 10.20.0.0/16 [90/435200] via 192.168.2.2, 00:01:49, FastEthernet0/0
[90/435200] via 192.168.1.2, 00:01:49, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/1
C 192.168.2.0/24 is directly connected, FastEthernet0/0
D 192.168.3.0/24 [90/307200] via 192.168.1.2, 00:01:49, FastEthernet0/1
B* 0.0.0.0/0 [20/0] via 172.16.1.1, 00:04:26
So i can see the default router comming in via BGP, and the redistribution commands are there (narrowed it down to a single default route and got rid of route maps to make it as simple as possible)
on the down stream router i have
router eigrp 10
network 10.10.0.0 0.0.255.255
network 192.168.0.0 0.0.255.255
no auto-summary
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, Tunnel0
C 192.168.4.0/24 is directly connected, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
D 10.10.0.0/16 is a summary, 00:35:54, Null0
C 10.10.10.0/24 is directly connected, Loopback1
D 10.30.2.2/32 [90/435200] via 192.168.4.2, 00:02:33, FastEthernet0/1
[90/435200] via 192.168.2.1, 00:02:33, FastEthernet0/0
D 10.30.1.1/32 [90/409600] via 192.168.2.1, 00:02:34, FastEthernet0/0
C 10.10.20.0/24 is directly connected, Loopback2
D 10.20.0.0/16 [90/409600] via 192.168.4.2, 00:02:34, FastEthernet0/1
C 10.10.30.0/24 is directly connected, Loopback3
C 10.10.40.0/24 is directly connected, Loopback4
C 10.10.50.0/24 is directly connected, Loopback5
D 192.168.1.0/24 [90/307200] via 192.168.2.1, 00:02:36, FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/0
D 192.168.3.0/24 [90/307200] via 192.168.4.2, 00:02:36, FastEthernet0/1
So they are swapping EIGRP routes but it is not getting the default route from BGP??
Can any one tell me were I am going wrong ?
- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Linkin Profile - Blog: http://Devilwah.com
Comments
-
deth1k Member Posts: 312don't forget about default-metric in EIGRP for any external routes being redistributed into it.
-
mattau Member Posts: 218and another way to do it seems you have the default route in the table from bgp is to go into eigrp and say network 0.0.0.0_____________________________________
CCNP ROUTE - passed 20/3/12
CCNP SWITCH - passed 25/10/12
CCNP TSHOOT - passed 11/12/12 -
pogue Member Posts: 213Note sure why this in particular is not working, but Cisco pretty much advises against redistributing BGP into any IGP, yes?
I would think configuring a static default route and advertising it into EIGRP with network 0.0.0.0 or redistributing static routes into EIGRP would do the trick.
Either that, or configuring a classful network on the EIGRP ASBR to be the default network via ip default-network X.X.X.X.
Hope this helps.
RussCurrently working on: CCNA:Security
Up next: CCNA:Voice -
pogue Member Posts: 213don't forget about default-metric in EIGRP for any external routes being redistributed into it.
This.
Without the additional metric command added on, redistribute bgp 65010
is not going to actually redistribute anything into EIGRP..
RussCurrently working on: CCNA:Security
Up next: CCNA:Voice -
Rakurai Member Posts: 84 ■■■□□□□□□□Here's a cisco page that has an example of redistributing BGP default route into EIGRP. Haven't really touched CCNP stuff yet, so i hope this helps.
Q. How can I redistribute internal BGP (iBGP) learned default-route (0.0.0.0/0) route into EIGRP/OSPF/IS-IS?
A. The redistribution of iBGP routes into Interior Gateway Protocol (IGP)—Enhanced Interior Gateway Routing Protocol/Open Shortest Path First/Intermediate System-to-Intermediate System (EIGRP/OSPF/IS-IS)—can cause routing loops within the Autonomous System, which is not recommended. By default, iBGP redistribution into IGP is disabled. Issue the bgp redistribute-internal command in order to enable redistribution of iBGP routes into IGP. Precautions must be taken to redistribute specific routes using route-maps into IGP. A sample configuration for redistributing a iBGP learned default route 0.0.0.0/0 into EIGRP is shown in this output. Configurations for OSPF/IS-IS are similar.
router bgp 65345
[...]
bgp redistribute-internal
!
router eigrp 10
[...]
redistribute bgp 65345 route-map check-def
!
ip prefix-list def-route seq 5 permit 0.0.0.0/0
!
route-map check-def permit 10
match ip address prefix-list def-route
BGP: Frequently Asked Questions - Cisco Systems
-
networker050184 Mod Posts: 11,962 ModThe redistribute-internal is only needed for iBGP routes. As the OP has this via eBGP (AD of 20) its not needed to make this function.An expert is a man who has made all the mistakes which can be made.
-
DevilWAH Member Posts: 2,997 ■■■■■■■■□□and another way to do it seems you have the default route in the table from bgp is to go into eigrp and say network 0.0.0.0
but that would turn on routing for all networks attached to the router, and I don't want that.- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Linkin Profile - Blog: http://Devilwah.com -
DevilWAH Member Posts: 2,997 ■■■■■■■■□□Note sure why this in particular is not working, but Cisco pretty much advises against redistributing BGP into any IGP, yes?
I would think configuring a static default route and advertising it into EIGRP with network 0.0.0.0 or redistributing static routes into EIGRP would do the trick.
Either that, or configuring a classful network on the EIGRP ASBR to be the default network via ip default-network X.X.X.X.
Hope this helps.
Russ
Issue with this is if the exteranly BGP neighbour goes down/stop advertising the default route. Then my edge router still has a static default route it is advertising even though it no longer has a route out I could then track the neighbour add/remove the route based on its status but this and more steap and so more things to go wrong.- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Linkin Profile - Blog: http://Devilwah.com -
DevilWAH Member Posts: 2,997 ■■■■■■■■□□Here's a cisco page that has an example of redistributing BGP default route into EIGRP. Haven't really touched CCNP stuff yet, so i hope this helps.
Q. How can I redistribute internal BGP (iBGP) learned default-route (0.0.0.0/0) route into EIGRP/OSPF/IS-IS?
A. The redistribution of iBGP routes into Interior Gateway Protocol (IGP)—Enhanced Interior Gateway Routing Protocol/Open Shortest Path First/Intermediate System-to-Intermediate System (EIGRP/OSPF/IS-IS)—can cause routing loops within the Autonomous System, which is not recommended. By default, iBGP redistribution into IGP is disabled. Issue the bgp redistribute-internal command in order to enable redistribution of iBGP routes into IGP. Precautions must be taken to redistribute specific routes using route-maps into IGP. A sample configuration for redistributing a iBGP learned default route 0.0.0.0/0 into EIGRP is shown in this output. Configurations for OSPF/IS-IS are similar.
router bgp 65345
[...]
bgp redistribute-internal
!
router eigrp 10
[...]
redistribute bgp 65345 route-map check-def
!
ip prefix-list def-route seq 5 permit 0.0.0.0/0
!
route-map check-def permit 10
match ip address prefix-list def-route
BGP: Frequently Asked Questions - Cisco Systems
that the one i started from to begin with
Cisco is your friend... or is that google??- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Linkin Profile - Blog: http://Devilwah.com -
DevilWAH Member Posts: 2,997 ■■■■■■■■□□don't forget about default-metric in EIGRP for any external routes being redistributed into it.
how could I miss that one the few weeks since I read the book and its all gone
cheers- If you can't explain it simply, you don't understand it well enough. Albert Einstein
- An arrow can only be shot by pulling it backward. So when life is dragging you back with difficulties. It means that its going to launch you into something great. So just focus and keep aiming.
Linkin Profile - Blog: http://Devilwah.com