Hi, I currently advertise 4 /24s through BGP. I have my distribute list set up as an access list:
access-list 110 permit ip xxx.xxx.184.0 0.0.0.255 any access-list 110 permit ip xxx.xxx.185.0 0.0.0.255 any access-list 110 permit ip xxx.xxx.186.0 0.0.0.255 any access-list 110 permit ip xxx.xxx.187.0 0.0.0.255 any
I am trying to turn up a "virtual circuit" with one of my ISPs that will be routing part of one of these networks to a remote site. Obviously, because of this, I must stop announcing this network through BGP with them.
If this network is xxx.xxx.187.48/30, what is the best way to filter it out of the BGP advertisements? Can I just add: access-list 110 deny ip host xxx.xxx.187.48 host 255.255.255.252 to the beginning of my access list? Or do I have to do something more complicated?