02-17-2005 07:33 AM - edited 03-02-2019 09:43 PM
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
02-17-2005 08:20 AM
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
02-17-2005 08:37 AM
Thank you. Is there a way to see what prefixes the ISP is accepting from me?
02-17-2005 09:09 AM
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
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