12-08-2009 08:55 AM - edited 03-04-2019 06:54 AM
I have two BGP routers one connected via MPLS and the other one is connected via Private T1 Line. Both Routers have EBGP connections to MPLS and to the T1 and also have IBGP session between them. The Ethernet ports on both routers are connected to the LAN Routers via EIGRP. The BGP routers are receving Default Routes from the BGP Cloud and then advertised Default Routes to EIGRP via redistribution. We would like MPLS default routes as a primary path to internal EIGRP router and backup by default routes via other BGP router.
What would be the best way to configure this. Would change the metrics while redistributing default routes into EIGRP work such as:
on T1 BGP WAN Router:
redistributed static route-map CHANGE-METRIC
route-map CHANGE-METRIC permit 10
match ip address 99
set metric 412284672 100 255 1 1500
access-list permit 99 0.0.0.0 0.0.0.0
Please advise.
12-08-2009 09:28 AM
abbas.ali wrote:
I have two BGP routers one connected via MPLS and the other one is connected via Private T1 Line. Both Routers have EBGP connections to MPLS and to the T1 and also have IBGP session between them. The Ethernet ports on both routers are connected to the LAN Routers via EIGRP. The BGP routers are receving Default Routes from the BGP Cloud and then advertised Default Routes to EIGRP via redistribution. We would like MPLS default routes as a primary path to internal EIGRP router and backup by default routes via other BGP router.
What would be the best way to configure this. Would change the metrics while redistributing default routes into EIGRP work such as:
on T1 BGP WAN Router:
redistributed static route-map CHANGE-METRIC
route-map CHANGE-METRIC permit 10
match ip address 99
set metric 412284672 100 255 1 1500
access-list permit 99 0.0.0.0 0.0.0.0
Please advise.
Personally i would use an offset-list to achieve this -
Jon
12-08-2009 09:45 AM
John,
I tried offset list but it didn't seem to work.
Would I apply offset list on a WAN Router connected to T1 such as
Router eigrp 111
redistribute static
offset-list 44994949 out fastethernet 0/0
Note: Would I point offset list to the interface connects to Internal Router.
Regards,
12-08-2009 09:51 AM
abbas.ali wrote:
John,
I tried offset list but it didn't seem to work.
Would I apply offset list on a WAN Router connected to T1 such as
Router eigrp 111
redistribute static
offset-list 44994949 out fastethernet 0/0
Note: Would I point offset list to the interface connects to Internal Router.
Regards,
You would apply the offset-list to the ethernet interface on the T1 router. If it's not working then before applying the offset check what the value is on your internal LAN routers.
Jon
12-08-2009 12:13 PM
Router eigrp 111
redistribute static
offset-list 44994949 out fastethernet 0/0
That's not the correct syntax and the reason it was accepted by the IOS was because 44994949 was accepted as a named ACL
If you want to offset a route in EIGRP, the syntax is:
offset-list {access-list-number | access-list-name} {in | out} offset [interface-type interface-number]
For instance:
offset-list 20 out 44994949 fastethernet 0/0
Where 20 is your ACL
If you want to offset all routes, you can use the value of 0
In your case, the offset list didn't have any offset so no action was taken.
Regards
Edison.
12-08-2009 01:09 PM
Edison,
Thanks for your reply. Actually, It was a typo error. I defined the offset list exactly the way you mentioned, but no luck.
Regards,
12-08-2009 02:22 PM
Hi, sorry if this is totally incorrect as I am joining this discussion a little bit late but i see u mentioned in your original post that you are getting the route via BGP. However your redistribute statement is saying "redistribute static". Could you please clarify if the default route is actually learnt via BGP and if so than you would need " redistribute bgp
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