cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1366
Views
0
Helpful
2
Replies

Advertise Nat network into BGP

jhendersion1
Level 1
Level 1

I have a question regarding Nat translation and BGP 

I have 1 network that I am using nat and would like to add this network into bgp. I have been told the only way to do this is via null route is there a better way of doing this?

2 Replies 2

jhendersion1
Level 1
Level 1

Anybody have a suggestion thank you

there are various ways to inject a route into BGP.

either you have a route in your routing table that you can advertise via the "network x.x.x.x mask y.y.y.y" command. If that route is not available, then yes, using the static route to null puts that network in your routing table that allows for the network command under router BGP to pick it up.

You could also redistribute static, once you have that configured, but that "tags" the route as "incomplete" in eBGP terminology, which gneerally is not even an issue btw.

another option is to advertise an atomic aggregate, once you have PART of that netowkr in your routing table of some sort, you can use the summary address option to advertise a larger subnet.

Now just to note, generally eBGP peering SP's will validate and filter your routing updates to make sure what you advertise is what belongs to you.

IF this is just within your own AS, then there is no issue of course as you have full administrative control over what you advertise and how.

regards!

xander

----

Xander Thuijs CCIE #6775

Principal Engineer IOS-XR/XR routing

Review Cisco Networking products for a $25 gift card