03-28-2018 06:20 AM - edited 03-05-2019 10:10 AM
All
could you please let me know how to advertise these subnets on BGP? (attached diagram)
My understanding is have a static route from the firewall for 172.16.16.0/24 poitning back to 10.10.10.2 and advertise that static route via route-map through ebgp?
Solved! Go to Solution.
03-28-2018 08:48 AM
now will i need a route-map to limit what advertisements i receive? - is that a must?
ANS. It is not a must, but depending on your environment it is not a bad idea. If you know what you are expecting to receive, it can't hurt to avoid getting advertisements you don't want. It doesn't necessarily have to be done with route maps either. You can filter with ACLs, as-path, prefix-lists, etc.
do i need a route-map to limit what i send (or is the network statement enough to cover this)?
ANS. The network statement should suffice, but there is nothing wrong with adding another level of control to avoid advertising anything you don't want. Again it doesn't only have to be done with a route map.
03-28-2018 06:30 AM
Simply put, for a network to be advertised in BGP, it needs to exist in some form. The static route to 10.10.10.2 meets this requirement. You could redistribute the static via BGP, or even simpler you could just add it as a network statement in BGP.
Either one should work.
Hope this helps.
03-28-2018 06:39 AM
will it work if i add it as a network statement under BGP as the network itself does NOT hang off the firewall?
is this the same case if it was ospf as well?
03-28-2018 06:44 AM
For BGP to advertise a network it needs to see it in the IGP (static, EIGRP, OSPF, etc.). So as stated earlier the network statement or redistribution of static would work.
For OSPF to advertise a network with a network statement, it needs to be an attached network. If it is based on a static route it has to be redistributed as the network statement would not apply.
Hope that clarifies things.
03-28-2018 08:20 AM
now will i need a route-map to limit what advertisements i receive? - is that a must?
and do i need a route-map to limit what i send (or is the network statement enough to cover this)?
03-28-2018 08:48 AM
now will i need a route-map to limit what advertisements i receive? - is that a must?
ANS. It is not a must, but depending on your environment it is not a bad idea. If you know what you are expecting to receive, it can't hurt to avoid getting advertisements you don't want. It doesn't necessarily have to be done with route maps either. You can filter with ACLs, as-path, prefix-lists, etc.
do i need a route-map to limit what i send (or is the network statement enough to cover this)?
ANS. The network statement should suffice, but there is nothing wrong with adding another level of control to avoid advertising anything you don't want. Again it doesn't only have to be done with a route map.
03-28-2018 09:12 AM
Thanks
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