diff options
author | Christian Mehlis <christian@m3hlis.de> | 2014-08-12 14:58:06 +0200 |
---|---|---|
committer | Christian Mehlis <christian@m3hlis.de> | 2014-08-12 14:58:06 +0200 |
commit | f2cda6c15b55c80be8739f492a8ee7b4dbd1cf52 (patch) | |
tree | a2095d9dec4fb67c6de995e47c9664013bbd2aec /README | |
parent | 634d9fe9142f62b7b2e7647ef88d6606e54ab155 (diff) |
dhcpv4: implement router configuration option
RFC 2132 defines:
3.5. Router Option
The router option specifies a list of IP addresses for routers on the
client's subnet. Routers SHOULD be listed in order of preference.
The code for the router option is 3. The minimum length for the
router option is 4 octets, and the length MUST always be a multiple
of 4.
Code Len Address 1 Address 2
+-----+-----+-----+-----+-----+-----+-----+-----+--
| 3 | n | a1 | a2 | a3 | a4 | a1 | a2 | ...
+-----+-----+-----+-----+-----+-----+-----+-----+--
Diffstat (limited to 'README')
-rw-r--r-- | README | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,8 @@ ndp string disabled Neighbor Discovery Proxy dynamicdhcp bool 1 dynamically create leases for DHCPv4 and DHCPv6 +router list <local address> Routers to announce + accepts IPv4 only dns list <local address> DNS servers to announce accepts IPv4 and IPv6 domain list <local search domain> Search domains to announce |