Wednesday, November 6, 2013

Dhcp Linux crap

cat > /etc/dhcp/dhclient.conf  << "EOF"
#Begin /etc/dhcp/dhclient.conf
#
#Basic dhclient.conf(5)

#prepend domain-name-servers 127.0.0.1;
 request subnet-mask, broadcast-address, time-offset,
              routers, domain-name, domain-name-servers, domain-search, host-name,
              netbios-name-servers netbios-scope, interface-mtu,
              ntp-servers;
require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
# End /etc/dhcp/dhclient.conf
EOF

No comments:

Post a Comment