Hi,
we use Windows DHCP.
when i configure an option 121 (static route) on Windows DHCP, then RouterOS as DHCP client doesn’t get an option 3 (default gateway).
Same behavior on Debian 8.2, and there is no problem on Debian 7.2 (their forum says me nothing).
Today i meet this problem on RouterOS and it is why i’m asking here.
This is not a bug, it is a feature. When routes or classless routes are received via DHCP, the client ignores the default gateway.
When you want a default gateway, you should put it in the route list.
See RFC3442.
thank you for the link of 2002 year,
please tell me, if it is a feature since 2002 year, why this applies only to Debian 8, which came on April 2015?
did you have same behavior on RouterOS two years ago?
i added 0.0.0.0 to 121 (don’t delete the option 3 as 10 mins ago) - now it works.
These options are probably rarely used and it may well be that someone reported to the DHCP client
author that his client is not completely compliant to RFC3442 somewhere in 2012 or so and it had been
modified but it took some time before that modified version entered into Debian and other distributions.
Look, I only read your report and thought “that is funny, it probably is for a reason” and checked the
standard. I never use those DHCP options myself. I’m only the messenger…