Dhcp

Da Lecco.
Versione del 4 ott 2007 alle 21:40 di CristianCantoro (discussione | contributi)
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)
  1. Configuration file for /sbin/dhclient, which is included in Debian's
  2. dhcp3-client package.
  3. This is a sample configuration file for dhclient. See dhclient.conf's
  4. man page for more information about the syntax of this file
  5. and a more comprehensive list of the parameters understood by
  6. dhclient.
  7. Normally, if the DHCP server provides reasonable information and does
  8. not leave anything out (like the domain name, for example), then
  9. few changes must be made to this file, if any.

send host-name "<hostname>";

  1. send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
  2. send dhcp-lease-time 3600;
  3. supersede domain-name "fugue.com home.vix.com";
  4. prepend domain-name-servers 127.0.0.1;

request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, netbios-name-servers, netbios-scope;

  1. require subnet-mask, domain-name-servers;

timeout 30;

  1. retry 60;
  2. reboot 10;
  3. select-timeout 5;
  4. initial-interval 2;
  5. script "/etc/dhcp3/dhclient-script";
  6. media "-link0 -link1 -link2", "link0 link1";
  7. reject 192.33.137.209;
  1. alias {
  2. interface "eth0";
  3. fixed-address 192.5.5.213;
  4. option subnet-mask 255.255.255.255;
  5. }
  1. lease {
  2. interface "eth0";
  3. fixed-address 192.33.137.200;
  4. medium "link0 link1";
  5. option host-name "andare.swiftmedia.com";
  6. option subnet-mask 255.255.255.0;
  7. option broadcast-address 192.33.137.255;
  8. option routers 192.33.137.250;
  9. option domain-name-servers 127.0.0.1;
  10. renew 2 2000/1/12 00:00:01;
  11. rebind 2 2000/1/12 00:00:01;
  12. expire 2 2000/1/12 00:00:01;
  13. }