cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1823
Views
0
Helpful
6
Replies

advertise the routes learned by eigrp into bgp AS

orsonjoon
Level 1
Level 1

Hello,

I'm trying to build something in the lab where I want to use only one eigrp AS for two different locations where each others routes are learned over bgp (see picture)

I do a redistribute from and to eigrp and bgp, but not all the routes learned by the bgp router for example R3 are again advertised to other bgp neighbours.

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

     100.0.0.0/30 is subnetted, 1 subnets
C       100.100.100.0 is directly connected, FastEthernet0/0
     172.16.0.0/24 is subnetted, 1 subnets
D       172.16.0.0 [90/284160] via 10.10.10.1, 01:43:42, FastEthernet1/0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C       10.10.10.0/24 is directly connected, FastEthernet1/0
B       10.0.0.0/30 [20/0] via 10.0.0.6, 00:37:04
C       10.0.0.4/30 is directly connected, FastEthernet0/1
B    192.168.0.0/24 [20/0] via 100.100.100.2, 01:19:50

R6#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

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, FastEthernet0/1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.10.0 is directly connected, FastEthernet0/0

R2#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

     100.0.0.0/30 is subnetted, 1 subnets
C       100.100.100.0 is directly connected, FastEthernet0/0
     160.0.0.0/24 is subnetted, 1 subnets
D       160.0.0.0 [90/284160] via 192.168.0.1, 02:49:25, FastEthernet1/0
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
B       10.10.10.0/24 [20/0] via 100.100.100.1, 02:25:39
C       10.0.0.0/30 is directly connected, FastEthernet0/1
B       10.0.0.4/30 [20/0] via 10.0.0.2, 02:33:00
C    192.168.0.0/24 is directly connected, FastEthernet1/0

Is this just not possible or is this as designed or limitation? Please help....

1 Accepted Solution

Accepted Solutions

Hello Orson,

on R3

router eigrp 65500

default-metric 10000 1500 255 1 1500

you need a seed metric when redistributing a routing protocol into EIGRP

see

http://www.cisco.com/en/US/docs/ios/iproute_eigrp/command/reference/ire_a1.html#wp1038657

and EIGRP troubleshooting flow chart

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094613.shtml#rdc

Hope to help

Giuseppe

View solution in original post

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Can you post

"sh ip bgp" from R1 and R2.

In answer to your question, yes it is possible.

Jon

Thanks for the quick answer, this is the sh ip bgp output:

R1#sh ip bgp
BGP table version is 7, local router ID is 10.0.0.6
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
*  10.0.0.0/30      10.0.0.1                 0             0 65000 i
*>                  0.0.0.0                  0         32768 i
*> 10.0.0.4/30      0.0.0.0                  0         32768 i
*                   10.0.0.5                 0             0 65001 i
*  10.10.10.0/24    10.0.0.1                               0 65000 65001 i
*>                  10.0.0.5                 0             0 65001 i
*  100.100.100.0/30 10.0.0.5                 0             0 65001 i
*>                  10.0.0.1                 0             0 65000 i
*  192.168.0.0      10.0.0.5                               0 65001 65000 i
*>                  10.0.0.1                 0             0 65000 i
R1#

R2#sh ip bgp
BGP table version is 11, local router ID is 192.168.0.2
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
*  10.0.0.0/30      100.100.100.1                          0 65001 65002 i
*                   10.0.0.2                 0             0 65002 i
*>                  0.0.0.0                  0         32768 i
*  10.0.0.4/30      100.100.100.1            0             0 65001 i
*>                  10.0.0.2                 0             0 65002 i
*> 10.10.10.0/24    100.100.100.1            0             0 65001 i
*                   10.0.0.2                               0 65002 65001 i
*  100.100.100.0/30 100.100.100.1            0             0 65001 i
*>                  0.0.0.0                  0         32768 i
*> 192.168.0.0      0.0.0.0                  0         32768 i
R2#

Okay, i was looking at the network 172.16.0.0/24 which R3 knows about through EIGRP but R1 and R2 don't. But looking at R3 config you are not redistributing EIGRP into BGP so BGP wouldn't advertise it to R1.

Did you want to advertise EIGRP into BGP ?

Jon

Yes, I would like to advertise eigrp in bgp and also bgp into eigrp.

I changed the config of R3:

router eigrp 65500
redistribute bgp 65001
network 10.10.10.0 0.0.0.255
no auto-summary
!
router bgp 65001
no synchronization
bgp log-neighbor-changes
bgp redistribute-internal
network 10.0.0.4 mask 255.255.255.252
network 10.10.10.0 mask 255.255.255.0
network 100.100.100.0 mask 255.255.255.252
redistribute eigrp 65500
neighbor 10.0.0.6 remote-as 65002
neighbor 100.100.100.2 remote-as 65000
neighbor 100.100.100.2 soft-reconfiguration inbound
no auto-summary

It seems that the routes from eigrp are now correctly advertised into bgp:

R3#sh ip bgp neighbors 100.100.100.2 advertised-routes
BGP table version is 20, local router ID is 100.100.100.1
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
*> 10.0.0.0/30      10.0.0.6                 0             0 65002 i
*> 10.0.0.4/30      0.0.0.0                  0         32768 i
*> 10.10.10.0/24    0.0.0.0                  0         32768 i
*> 100.100.100.0/30 0.0.0.0                  0         32768 i
*> 160.0.0.0/24     100.100.100.2       284160             0 65000 ?
*> 172.16.0.0/24    10.10.10.1          284160         32768 ?
*> 192.168.0.0      100.100.100.2            0             0 65000 i

Total number of prefixes 7

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

     100.0.0.0/30 is subnetted, 1 subnets
C       100.100.100.0 is directly connected, FastEthernet0/0
     172.16.0.0/24 is subnetted, 1 subnets
D       172.16.0.0 [90/284160] via 10.10.10.1, 04:13:55, FastEthernet1/0
     160.0.0.0/24 is subnetted, 1 subnets
B       160.0.0.0 [20/284160] via 100.100.100.2, 00:15:53
     10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C       10.10.10.0/24 is directly connected, FastEthernet1/0
B       10.0.0.0/30 [20/0] via 10.0.0.6, 03:07:16
C       10.0.0.4/30 is directly connected, FastEthernet0/1
B    192.168.0.0/24 [20/0] via 100.100.100.2, 03:50:02

But when I look in R6:

R6#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

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, FastEthernet0/1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.10.10.0 is directly connected, FastEthernet0/0

router eigrp 65500
redistribute connected
network 10.10.10.0 0.0.0.255
network 172.16.0.0 0.0.0.255
no auto-summary

I can not see the 160.0.0.0 network for example, not all the routes know to BGP are redistibuted into eigrp. I think thats the problem, but don't no how to solve this. Looks like a eigrp issue, any ideas please help...

Hello Orson,

on R3

router eigrp 65500

default-metric 10000 1500 255 1 1500

you need a seed metric when redistributing a routing protocol into EIGRP

see

http://www.cisco.com/en/US/docs/ios/iproute_eigrp/command/reference/ire_a1.html#wp1038657

and EIGRP troubleshooting flow chart

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094613.shtml#rdc

Hope to help

Giuseppe

Yesssss, that did it many many thanks...., this one i'll never forget again

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card