cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
409
Views
0
Helpful
1
Replies

Default route for Branch on MPLS?

Darren Strunk
Level 1
Level 1

We want to setup Internet access for our branches ONLY through our regional hub. Currently, branch officesare on MPLS for WAN, and local provider for Internet access.

Question is this: How to set the default route in BGP for each branch to go over MPLS to the regional hub for Internet access, WITHOUT having those default routes propagate througout the global routing table? Some sloppy methods come to mind, but I am looking for the most elegant solution. But don't hesitate to offer up any suggestions! Thanks

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Darren,

neighbor default-originate

To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor for use as a default route, use the neighbor default-originate command in address family or router configuration mode. To send no route as a default, use the no form of this command.

neighbor {ip-address | peer-group-name} default-originate [route-map map-name]

no neighbor {ip-address | peer-group-name} default-originate [route-map map-name]

see

http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp3.html#wp1013044

+

filters towards BGP sessions to other non branch neighbors

ip prefix-list only-default permit 0.0.0.0/0

route-map to-nonbranch deny 10

match ip address prefix-list only-default

route-map to-nonbranch permit 20

This should be usable also if you are using MPLS L3 VPN services

Hope to help

Giuseppe

Hope to help

Giuseppe

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: