Skip to content

Fix adding multiple routes

dnsmasq reports 'Ignoring duplicate dhcp-option 121' and 'Ignoring duplicate dhcp-option 249' when used with multiple routes. Only a single option 121 and single option 249 are sent to the client, each containing one of the specified routes.

Both DHCP options support adding multiple routes (see https://tools.ietf.org/html/rfc3442 and https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dhcpe/f9c19c79-1c7f-4746-b555-0c0fc523f3f9).

This merge request changes l2tp-updown.sh to add all the specified routes using a single instance of DHCP options 121 and 249.

Merge request reports