Re: BGPD and source interface

2021-10-01 Thread Stuart Henderson
If you want more fine-grained control (for example if you don't have full out-of-band console access across your network and might need to hop between local network addresses to reach other routers during an IGP failure), you can alternatively use PF to nat to the preferred address just in the plac

Re: BGPD and source interface

2021-10-01 Thread Laura Smith
Super, thanks ! Laura ‐‐‐ Original Message ‐‐‐ On Friday, October 1st, 2021 at 13:39, Theo de Raadt wrote: > route [-T rtable] sourceaddr [-inet|-inet6] [address] > route [-T rtable] sourceaddr [-inet|-inet6] -ifp interface > Set the preferred source address

BGPD and source interface

2021-10-01 Thread Laura Smith
Could somebody kindly remind me how to force OpenBSD to use the lo0 alias for outbound traffic ? I've got an OpenBSD instance which is getting its default route via bgpd. ping 8.8.8.8 does not work but ping -I $lo0_alias works How can I tell OpenBSD to use the lo0 as default outbound interface

Re: BGPD and source interface

2021-10-01 Thread Theo de Raadt
route [-T rtable] sourceaddr [-inet|-inet6] [address] route [-T rtable] sourceaddr [-inet|-inet6] -ifp interface Set the preferred source address. If address is the word "default", 0.0.0.0 or ::, source address will be chosen by the kern