Howto bind BGP to single interface?
Trying to determine what is wrong with "strict bind yes;" under "protocol bgp". The docs suggest that my syntax is correct. protocol bgp vultr { local as 1234; source address 111.22.33.44; # strict bind yes; # Fails if uncommented import filter accept_all; export filter export_bgp; # import none; graceful restart on; multihop 2; neighbor 11.22.33.44 as 11111; password "xxxxxxxxxxxxxxxx"; }
Just a guess, but in the code is appears to be a bool; | bgp_proto STRICT BIND bool ';' { BGP_CFG->strict_bind = $4; } Try, strict bind 1; Cheers, Mike -- Michael McConnell WINK Streaming; email: michael@winkstreaming.com toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com
On Feb 14, 2018, at 12:20 PM, Michael Wayne <wayne47@gmail.com> wrote:
Trying to determine what is wrong with "strict bind yes;" under "protocol bgp". The docs suggest that my syntax is correct.
protocol bgp vultr { local as 1234; source address 111.22.33.44; # strict bind yes; # Fails if uncommented import filter accept_all; export filter export_bgp; # import none; graceful restart on; multihop 2; neighbor 11.22.33.44 as 11111; password "xxxxxxxxxxxxxxxx"; }
Err. scratch my previous example. The usage in the doc. example is; protocol bgp { local 192.168.11.1 as 1000; neighbor 192.168.11.2 as 2000; # local 192.168.1.1 as 1000; # neighbor 192.168.2.1 as 2000; # multihop; # rr client; # strict bind; # debug all; -- Michael McConnell WINK Streaming; email: michael@winkstreaming.com toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com
On Feb 14, 2018, at 12:58 PM, Michael McConnell <michael@winkstreaming.com> wrote:
Just a guess, but in the code is appears to be a bool;
| bgp_proto STRICT BIND bool ';' { BGP_CFG->strict_bind = $4; }
Try, strict bind 1;
Cheers, Mike
-- Michael McConnell WINK Streaming; email: michael@winkstreaming.com <mailto:michael@winkstreaming.com> toll free: 877-GO-4-WINK x 7400 direct: +1 312 281-5434 cell: +506 8706-2389 skype: wink-michael web: http://winkstreaming.com <http://winkstreaming.com/>
On Feb 14, 2018, at 12:20 PM, Michael Wayne <wayne47@gmail.com <mailto:wayne47@gmail.com>> wrote:
Trying to determine what is wrong with "strict bind yes;" under "protocol bgp". The docs suggest that my syntax is correct.
protocol bgp vultr { local as 1234; source address 111.22.33.44; # strict bind yes; # Fails if uncommented import filter accept_all; export filter export_bgp; # import none; graceful restart on; multihop 2; neighbor 11.22.33.44 as 11111; password "xxxxxxxxxxxxxxxx"; }
On Wed, Feb 14, 2018 at 01:20:59PM -0500, Michael Wayne wrote:
Trying to determine what is wrong with "strict bind yes;" under "protocol bgp". The docs suggest that my syntax is correct.
protocol bgp vultr { local as 1234; source address 111.22.33.44; # strict bind yes; # Fails if uncommented import filter accept_all; export filter export_bgp;
Hi According to your import/export filter option, you probably using BIRD 1.6.x, option 'strict bind' is for BIRD 2.0. There are separate docs for both versions on the website. For old BIRD, you can use global option 'listen bgp': http://bird.network.cz/?get_doc&v=16&f=bird-3.html#opt-listen-bgp -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Michael McConnell -
Michael Wayne -
Ondrej Zajicek