mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 13:22:48 +00:00
2fcc737008
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
40 lines
1020 B
Plaintext
40 lines
1020 B
Plaintext
# $FreeBSD$
|
|
|
|
send host-name "andare.fugue.com";
|
|
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,
|
|
classless-routes, routers, domain-name,
|
|
domain-name-servers, host-name;
|
|
require subnet-mask, domain-name-servers;
|
|
timeout 60;
|
|
retry 60;
|
|
reboot 10;
|
|
select-timeout 5;
|
|
initial-interval 2;
|
|
script "/etc/dhclient-script";
|
|
media "-link0 -link1 -link2", "link0 link1";
|
|
reject 192.33.137.209;
|
|
|
|
alias {
|
|
interface "ep0";
|
|
fixed-address 192.5.5.213;
|
|
option subnet-mask 255.255.255.255;
|
|
}
|
|
|
|
lease {
|
|
interface "ep0";
|
|
fixed-address 192.33.137.200;
|
|
medium "link0 link1";
|
|
option host-name "andare.swiftmedia.com";
|
|
option subnet-mask 255.255.255.0;
|
|
option broadcast-address 192.33.137.255;
|
|
option routers 192.33.137.250;
|
|
option domain-name-servers 127.0.0.1;
|
|
renew 2 2000/1/12 00:00:01;
|
|
rebind 2 2000/1/12 00:00:01;
|
|
expire 2 2000/1/12 00:00:01;
|
|
}
|