Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP Options on Linux 1

Status
Not open for further replies.

jimbojimbo

Vendor
Jul 2, 2002
1,082
US
If you are using Linux for your DHCP server you can set up the option 176 with the following in /etc/dhcpd.conf

Here is an example scope

subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.110 192.168.100.150;
default-lease-time 31536000;
max-lease-time 31536000;
option routers 192.168.100.1;
option option-176 "MCIPADD=192.168.100.199, TFTPSRVR=192.168.100.80";
}

Note: I did not include the port string or tftp directory but used default port 1719 and the root directory of the tftp server.

31536000 gives you a 1 year lease. James Middleton
ACSCI/ACSCD/MCSE
Xeta Technologies
jim.middleton@xeta.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top