Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MPLS with BGP and EIGRP

Status
Not open for further replies.

Igymann

IS-IT--Management
May 7, 2004
28
0
0
US
Hello,

I am new to the whole MPLS setup. We are trying connect a circuit using BGP on the Providers side and EIGRP on our side.


I tired..

BGP XXXX

redristribute eigrp XXX
redristribute eigrp XXX
network X.X.X.X <-- Interface IP that leads to the MPLS.

I'm a missing something?
Any suggestions?

 
For your BGP config:

router bgp (AS number provided by your provider)
no synchronization
bgp log-neighbor-changes
network xx.xx.xx.xx mask yy.yy.yy.yy
neighbor zz.zz.zz.zz remote-as (providers AS number)
neighbor zz.zz.zz.zz description (whatever you want)
neighbor zz.zz.zz.zz version 4
neighbor zz.zz.zz.zz weight 1
no auto-summary

xx.xx.xx.xx and yy.yy.yy.yy should have been provided by your provider.

zz.zz.zz.zz is the IP address of the PE router.

This is how I have our company's configured. So this may not be exactly how you will need to configure yours. Hope it will help.



Jim W MCSE CCNA
Network Manager
 
Wow, let me try that and I'll let you know how it goes.

I am install a Verizon MPLS network. Never done anything with BGP, so this is all new to me.

Thanks,
 
This would be an EBGP connection from the MPLS circuit.

Make sure all your internal routing protocols are clearly defined and working ok....

Here is a pgm example for setting up bgp and static route.

ip route 0.0.0.0 0.0.0.0 10.0.0.1 <--next hop ip to mpls

router bgp 100
no synchronization
network 192.168.1.0
neighbor 10.0.0.1 remote-as 200
no auto summary



Some people are like slinkies.
Not really good for anything but they bring a smile to your face when pushed down the stairs.


Tek-TIP Member 19,650
[americanflag]
 
also with eigrp you need to specify a seed metric for the redistribution...
since i assume you want to do a 2 way redistribution.
i also assume this site is on your own mpls vpn (vrf) and not receiving all internet routes?

*note* if you do have a full internet routing table coming to you then you wont want to redistribute it into the eigrp so skip that line in the config :p.

something like this...

router eigrp XXXX (as number)
redistribute bgp XXXX (as number)metric 1536 10 255 1 1500 (seed metric)
network .... (interface you want to participate in eigrp no auto-summary
!
router bgp xxx
bgp log-neighbor-changes
neighbor xxx remote-as xxx
redistribute eigrp xxx
no auto-summary
no synchronization
 
Thank you Jfwebber! This worked!
router bgp (AS number provided by your provider)
no synchronization
bgp log-neighbor-changes
network xx.xx.xx.xx mask yy.yy.yy.yy
neighbor zz.zz.zz.zz remote-as (providers AS number)
neighbor zz.zz.zz.zz description (whatever you want)
neighbor zz.zz.zz.zz version 4
neighbor zz.zz.zz.zz weight 1
no auto-summary

plshlpme,
i also assume this site is on your own mpls vpn (vrf) and not receiving all internet routes?

The circuit is not going straight the internet, its going to Verizons network. So now vrf routes were needed, well at least in my end.

The only thing pending is sending my LAN traffic via that circuit, but I have EIGRP, EIGRP will take preference over the BGP. I saw the metric example.

How would it look like for a 100MB circuit?



router eigrp XXXX (as number)
redistribute bgp XXXX (as number)metric 10000 10 255 1 1500 (seed metric)
network .... (interface you want to participate in eigrp no auto-summary
?????
 
redistribute bgp XXXX (as number)metric 100000 10 255 1 1500 (seed metric)
100000, not 10000...

Burt
 
do you have an eigrp connection to your headquarters still or is the mpls connection the only link back to the network?

when you redistribute into eigrp you need to specify a seed metric or else the routing protocol will discard the routes..
so the eigrp metric is based on 5 factors..

bandwidth(kb/s) 100000
delay(ms) 10
reliability(%) 255 (255/255 = 100%)
load(%) 1 (1/255 = 0%)
mtu(bytes) 1500 (default ethernet)

so the thing to keep in mind here is that if this site has only one method to reach the network then there is really no need to be doing the two way redistribution.. a default route will accomplish everything you need to do.

you would still need to redistribute your eigrp routes into bgp though so that your other mpls sites would have a route to your network at this location.


the reason i ask if there is another eigrp connection to your headquarters is that i believe eigrp will prefer the internal route over the external route that you redistribute into eigrp.. and youll find that even though you have this nice new 100mb circuit over the mpls cloud it will still be routing via your old circuit.

 
We have similar problem:

We have point-to-point link from two service provider.

Service Provider A:
EIGRP is routed through BGP. The route appears as External route.

Service Provider B:
A Tunnel is created between two remote sites, and EIGRP is configured. Route appears as Internal Route

EIGRP is preferring the internal route over the external route. We tried all efforts by adding delay, changing speed, increasing bandwidth to influence metric, however nothing workd.

We want to use Service Provider A as primary link and Service Provider B as backup/failover link.

Can anyone help to resolve the problem.

Regards,

Faheem
 
Static route will work. But, what if Primary link (Service Provider A) fails? Do i need to manually change staic route to Backup link (Service Provider B)?

We want auto failover between links.

Regards
 
No---the backup link has a routing protocol and routing enabled on it. If the static route fails, the backup link will pickup automatically. The static with the lower metric will only be preferred. Try it, and do a shutdown on the link. You will see in the routing table the new entry for the backup route. Commonly, floating static routes are configured for this operation...
ip route 0.0.0.0 0.0.0.0 x.x.x.x
ip route 0.0.0.0 0.0.0.0 y.y.y.y 50

Burt
 
plshlpme you are right.
The only traffic I am able to route via our new 100mb circuits is internet traffic with...


ip route 0.0.0.0 0.0.0.0 X.X.X.X (Mpls 100mb)

As to EIGRP, we have EIGRP on all of our routers. Right now
I have 2 routers per site and I cant get the router without the MPLS circuit to find that network on its routing table.

How would I accomplish that? Route map?

Example.

Router A Router B

Eigrp 10 BGP 3000
Eigrp 11 Eigrp 21
Eigrp 12 Eigrp 22
Eigrp 13 Eigrp 23


Router B can talk to the MPLS circuit, But router A can't.
 
BTW, on Router B am redistributing BGP on EIGRP 21 22 & 23.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top