82 lines
2.4 KiB
Plaintext
82 lines
2.4 KiB
Plaintext
--- client/dhclient.conf
|
|
+++ client/dhclient.conf 2008/11/11 09:12:22
|
|
@@ -1,36 +1,48 @@
|
|
-send host-name "andare.fugue.com";
|
|
-send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
|
|
+#
|
|
+# /etc/dhclient.conf -- dhclient configuration file
|
|
+# see "man dhclient.conf" for further details
|
|
+#
|
|
+
|
|
+######################################################
|
|
+# Sometimes, a special configuration is required for
|
|
+# e.g. Cable Modem providers (@Home -- TCI).
|
|
+# For example, it may be required to send out a special
|
|
+# dhcp-client-identifier or to override some settings.
|
|
+#
|
|
+# Uncomment and fill in the appropriate settings:
|
|
+#
|
|
+#send dhcp-client-identifier "c32423-a"
|
|
+# or as hex octets
|
|
+#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
|
|
+#
|
|
+#send host-name "andare.fugue.com";
|
|
+#
|
|
+#supersede domain-name "fugue.com home.vix.com";
|
|
+#prepend domain-name-servers 127.0.0.1;
|
|
+#
|
|
+#####################################################
|
|
+
|
|
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;
|
|
-require subnet-mask, domain-name-servers;
|
|
+
|
|
+# Request several well known/usefull dhcp options.
|
|
+request subnet-mask, broadcast-address, routers,
|
|
+ interface-mtu, host-name, domain-name,
|
|
+ domain-name-servers, nis-domain, nis-servers,
|
|
+ nds-context, nds-servers, nds-tree-name,
|
|
+ netbios-name-servers, netbios-dd-server,
|
|
+ netbios-node-type, netbios-scope, ntp-servers;
|
|
+
|
|
+# We request above options, require only the IP configuration:
|
|
+require subnet-mask;
|
|
+# All another options (DNS, NTP, NIS, ...) are applied using
|
|
+# netconfig(8) modules.
|
|
+
|
|
+# To enforce the availability of the dns server list, set to:
|
|
+#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;
|
|
-}
|
|
+
|