2013年6月27日星期四

Static Route and BGP


Question:


My client has MPLS network WS-C3750X-48PF-S Price via eBGP to communicate with all the sites. Here is the basic config on the router.

router eigrp 65210
neighbor 192.168.1.2 remote-as 13939

When they installed the internet on the local router, and added the static route on the router to hit the internet, they need to add the static route (2nd one) to communicate to the other sites.

ip route 0.0.0.0 0.0.0.0 75.75.75.1
ip route 192.168.0.0 255.255.0.0 192.168.1.2
ip route 172.20.0.0 255.255.0.0 192.168.1.2

They want to route all the traffic out thru the local intenet besides their private networks ( 192.168.0.0/16 and 172.20.0.0/16). Are there ways not to add last two static routes and communicate the other sites via eBGP? Please advise.


Answer:

Default-originate is to originate a default route. But your requirement is to remove the static routes configured on the given router. You need to advertise 192.168.0.0/16 & 172.20.0.0/16 into the MPLS via BGP. This needs to be done on the router which has these network connected (not on the router whose configuration you have posted).

By doing this, you will start learning routes for 192.168/16 & 172.20/16 via BGP (MPLS). Then you can remove WS-C3750X-48PF-L the static routes.

没有评论:

发表评论