Monday, October 22, 2018

bgp match to $neighbor set nexthop $carp_ip on 6.4

Hi,

I am struggling to announce nexthop to my bgp peers after default
ruleset change in 6.4's bgpd.conf.

On 6.3, I used to have:

match to $ISP1 set nexthop $CARP_TO_ISP1
match to $ISP2 set nexthop $CARP_TO_ISP2
deny from ebgp
deny to ebgp
allow to { $ISP1 $ISP2 }
allow from ibgp
allow to ibgp
(...defaults...)


I like the idea of having my simple ruleset done with minimal override
to defaults. Moreover, I see that slapping above ruleset to 6.4 does
not work the same as on 6.3 (I think I'm sending garbage upstream).

Any good soul out there to tell me what to put above:

### for simple BGP setups, no editing below this line is required ###

...in order to set nexthop per upstream neighbor, if possible?

Thank you in advance,
--
Before enlightenment - chop wood, draw water.
After enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/

No comments:

Post a Comment