summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient.conf
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2007-02-09 17:50:26 +0000
committeremaste <emaste@FreeBSD.org>2007-02-09 17:50:26 +0000
commit4d18a6391e0641145ae2bba5e54e5bf9e763eb57 (patch)
tree5a719d3797670e80a657e26189df5834f2199ca2 /sbin/dhclient/dhclient.conf
parent73c99587923d911647ba0ffc401352f2a4e22219 (diff)
downloadFreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.zip
FreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.tar.gz
Implement RFC3442, the Classless Static Route option.
The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> Reviewed by: brooks
Diffstat (limited to 'sbin/dhclient/dhclient.conf')
-rw-r--r--sbin/dhclient/dhclient.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.conf b/sbin/dhclient/dhclient.conf
index 4f28066..7eaeeb8 100644
--- a/sbin/dhclient/dhclient.conf
+++ b/sbin/dhclient/dhclient.conf
@@ -5,8 +5,9 @@ send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
send dhcp-lease-time 3600;
supersede domain-name "fugue.com home.vix.com";
prepend domain-name-servers 127.0.0.1;
-request subnet-mask, broadcast-address, time-offset, routers,
- domain-name, domain-name-servers, host-name;
+request subnet-mask, broadcast-address, time-offset,
+ classless-routes, routers, domain-name,
+ domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
OpenPOWER on IntegriCloud