cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
0
Helpful
3
Replies

Not injecting static route into bgp

csross
Level 1
Level 1

I am new to this so bear with me.

Inside my network I have servers using public addresses and I use private addresses for my pcs, and devices on both nets communicate amongst themselves. I need to add a route to my router attached to the internet so packets know how to get back to the 10 network. There are no gateway statements on the servers to get back to the private network.

ip route 10.1.1.0 255.255.255.0 192.123.64.249

The 192.123.64.249 address is an interface on a router between the two networks.

I'm running bgp on the internet router and I do not want that route advertised. Is there a way to prevent it or do I even need to?

Thanks

3 Replies 3

dbellaze
Level 4
Level 4

If you just configure the static route it won't be advertised via BGP unless you manually configure BGP to do so.

And even if you did advertise to your ISP they should be configured to only accept your public prefix's anyways and nothing else. They won't accept RFC1918 prefixes's.

Daniel

Thank you. Is there a way to see what prefixes the ISP is accepting from me?

You can check hat prefixes you are advertising. If you check you BGP table (show ip bgp), if the prefix is not there, then you are surely not advertising it.

Also the show ip route would list the routing protocols in which it is being advertised.

If you do not have a redistribute static, or have a network statement for the prefix in the bgp configuration, it will not be advertised in BGP

Review Cisco Networking for a $25 gift card