On Wed, Jul 21, 2021 at 04:48:53PM -0600, Maurice Smulders wrote: > Network description (simplest form) > Two internet gateways > GW1: 192.168.30.1/24, DHCP Range 192.168.30.10 ... 192.168.30.39 > GW2: 192.168.30.2/24, DHCP Range 192.168.30.40... 192.168.30.70 > > Both GWs are connected to internet, and are running DNSMasq > > Client: does a DHCP Request, happens to get 192.168.30.56 , so from GW2 > > Failure scenarios > - GW2 goes down fully > - Upstream internet link to GW2 is severed > > Can BIRD be used to deal with this, i.e. for example have a script / > bird ping some known Internet DNS servers, like Google's 8.8.8.8 and > 8.8.4.4 and force the client to switch over to GW1 to get a valid > internet connection again as fast as possible? > > For simplicity, I'm looking at RIPv2 - network is small enough, or > should I use OSPF?
Hi If you want to have two redundant gateways facing to users, then you probably need VRRP to migrate 'gateway address' and use one shared DHCP range. I think that this setup is simple enough that would not profit much from BIRD, you would need some scripts to detect upstream failure anyways (unless your upstream would allow BFD or some routing protocol supported by BIRD). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
