diff options
author | Baptiste Jonglez <git@bitsofnetworks.org> | 2016-10-09 11:23:27 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-10-26 15:16:51 +0200 |
commit | 89817614bb4f275996b72fc76e41acf3a031e716 (patch) | |
tree | af63aaeef7643463583642226173f2918d7165fd /tools/bc | |
parent | 86c6b07e15b25d1f6dbb7c0b1ef428c5c4c05395 (diff) | |
download | upstream-89817614bb4f275996b72fc76e41acf3a031e716.tar.gz upstream-89817614bb4f275996b72fc76e41acf3a031e716.tar.bz2 upstream-89817614bb4f275996b72fc76e41acf3a031e716.zip |
netifd: Request DHCP option 121 (classless route) by default
This option, defined by RFC3442, allows a DHCP server to send static
routes to a client. But the client has to request this option
explicitely.
Static routes are useful when the gateway configured by DHCP cannot be
in the same subnet as the client. This happens, for instance, when
using DHCP to hand out addresses in /32 subnets.
A new configuration option "classlessroute" is available, allowing
users to disable this feature (the option defaults to true).
Other DHCP clients already request this option by default (dhcpcd, for
instance, and possibly Windows). If a DHCP server does not support
this option, it will simply ignore it.
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
Diffstat (limited to 'tools/bc')
0 files changed, 0 insertions, 0 deletions