03-07-2008 03:19 PM - edited 03-03-2019 09:02 PM
I need some help determining why my BGP routes are not distributing in my EIGRP. I almost the same configs in a working enviroment, but in my test lab its only distributing the directly connected ports.
Here is my test lab:
Router 1
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial3/0
ip address 192.168.254.2 255.255.255.0
no fair-queue
!
router eigrp 100
redistribute connected
redistribute bgp 1
network 192.168.1.0
default-metric 10000 6000 255 1 1500
no auto-summary
!
router bgp 1
no synchronization
bgp log-neighbor-changes
redistribute connected
redistribute static
redistribute eigrp 100
neighbor 192.168.254.1 remote-as 1
default-information originate
no auto-summary
show ip route:
D 192.168.0.0/24 [90/30720] via 192.168.1.2, 01:14:43, FastEthernet1/0
C 192.168.254.0/24 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet1/0
B 192.168.2.0/24 [200/0] via 192.168.254.1, 01:15:56
Router 2:
interface FastEthernet0/0
description tst
ip address 192.168.0.1 255.255.255.0
ip access-group 102 in
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
router eigrp 100
redistribute static
network 192.168.0.0
network 192.168.1.0
no auto-summary
!
show ip route:
C 192.168.0.0/24 is directly connected, FastEthernet0/0
D EX 192.168.254.0/24 [170/2172416] via 192.168.1.1, 00:07:49, FastEthernet0/1
C 192.168.1.0/24 is directly connected, FastEthernet0/1
As you can see my BGP route from Router 1 is not being propagated to router 2. Is there something I'm overlooking. Any help is greatly appreciated.
Thanks.
03-07-2008 04:03 PM
Hi
When you redistribute into EIGRP you need to include metrics for the EIGRP routes or else they do not get redistributed.
So change to
router eigrp 100
redistribute bgp 1
to
router eigrp 100
redistribute bgp 1 1000 1 255 1 1500
HTH
Jon
03-07-2008 04:16 PM
Jon:
He already has the default-metric command in place...
router eigrp 100
redistribute connected
redistribute bgp 1
network 192.168.1.0
default-metric 10000 6000 255 1 1500
no auto-summary
...configuring the metric on the same line as the redistribute command, like you suggest, allows you more granularity in the event that you want to assign different metrics to different protocols you're redistributing into EIGRP. But in its absence, the default-metric command will assign the same metrics to all redistributed protocols.
Victor
03-08-2008 01:32 AM
Yep, good point. I read the post a bit too quickly and missed that before going out to to the pub :-)
Apologies to the OP.
Jon
03-07-2008 04:18 PM
Armando,
192.168.2.0/24 is learnt via iBGP (AD = 200). By default, IOS will not redistribute iBGP routes into an IGP. You need to configure the following command to change this default behavior:
router bgp 1
bgp redistribute-internal
Hope this helps,
03-10-2008 07:15 AM
Thanks. That did it. I kept seeing that command around but I didn't realize it was under the "router bgp."
I put in the command and restarted my routers and it worked.
Out of curiosity why would it work between my 6509 and 3845 without that command?
These are the commands under the 3845:
router eigrp 100
redistribute bgp 1 metric 19800 6000 255 1 1500
network A.A.A.A
no auto-summary
!
router bgp 1
no synchronization
bgp log-neighbor-changes
redistribute connected
redistribute static
redistribute eigrp 100
neighbor B.B.B.B remote-as 65000
default-information originate
no auto-summary
03-10-2008 08:30 AM
Armando,
This is interesting that you are seeing a different behavior with the 3845. It should be the same.
Are you certain that the BGP route(s) that was redistributed in EIGRP on the 3845 was actually received from iBGP?
Regards,
03-10-2008 08:56 AM
Sorry, they are actually all exterbal BGP routes. That's why it works.
Thanks hritter.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide