Advertisement
Guest User

etc/dhcp/dhclient.conf

a guest
Aug 4th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. # Configuration file for /sbin/dhclient.
  2. #
  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. #
  8. # Normally, if the DHCP server provides reasonable information and does
  9. # not leave anything out (like the domain name, for example), then
  10. # few changes must be made to this file, if any.
  11. #
  12.  
  13. option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
  14.  
  15. send host-name = gethostname();
  16. request subnet-mask, broadcast-address, time-offset, routers,
  17. domain-name, domain-name-servers, domain-search, host-name,
  18. dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
  19. netbios-name-servers, netbios-scope, interface-mtu,
  20. rfc3442-classless-static-routes, ntp-servers;
  21.  
  22. #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
  23. #send dhcp-lease-time 3600;
  24. #supersede domain-name "fugue.com home.vix.com";
  25.  
  26.  
  27. # IPv4 et IPv6 pour Google.
  28. # prepend domain-name-servers 8.8.8.8, 8.8.4.4;
  29. # prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
  30.  
  31. # IPv4 et IPv6 pour OpenDNS.
  32. prepend domain-name-servers 127.0.0.1; 208.67.222.222,208.67.220.220;
  33.  
  34. #require subnet-mask, domain-name-servers;
  35. timeout 300;
  36. #retry 60;
  37. #reboot 10;
  38. #select-timeout 5;
  39. #initial-interval 2;
  40. #script "/sbin/dhclient-script";
  41. #media "-link0 -link1 -link2", "link0 link1";
  42. #reject 192.33.137.209;
  43.  
  44. #alias {
  45. # interface "eth0";
  46. # fixed-address 192.5.5.213;
  47. # option subnet-mask 255.255.255.255;
  48. #}
  49.  
  50. #lease {
  51. # interface "eth0";
  52. # fixed-address 192.33.137.200;
  53. # medium "link0 link1";
  54. # option host-name "andare.swiftmedia.com";
  55. # option subnet-mask 255.255.255.0;
  56. # option broadcast-address 192.33.137.255;
  57. # option routers 192.33.137.250;
  58. # option domain-name-servers 127.0.0.1;
  59. # renew 2 2000/1/12 00:00:01;
  60. # rebind 2 2000/1/12 00:00:01;
  61. # expire 2 2000/1/12 00:00:01;
  62. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement