[Dnsmasq-discuss] Reverse of option 121
Geert Stappers
stappers at stappers.nl
Mon Jan 28 19:11:24 GMT 2019
On Mon, Jan 28, 2019 at 06:44:22PM +0100, Daniel Huhardeaux wrote:
> Hi,
>
> I have a setup where 3 VLANs are involved and stateless-static-route are
> sended for one of them. Some devices can be part of one or another of this
> VLANs.
>
> Problem is that if a device was connected to the VLAN who sended the
> static-routes, when switching to one of the other VLAN the static-routes are
> still there.
>
> Is there a way to remove static routes via a dhcp option ? Opposite of
> option 121 ?
>
> Thanks for any hint
>
On Linux with NetworkManager are all routes over a device deleted
whenever the device is disconnected.
So when you have a disconnect upon VLAN hop-over you are fine.
Upon connect happens another DHCP including option 121 static routes.
Groeten
Geert Stappers
--
Leven en laten leven
More information about the Dnsmasq-discuss
mailing list