Network Setup Tips

From NST Wiki
Revision as of 12:38, 27 February 2007 by Rwh (talk | contribs) (How To Add A Host Name Identifier To A DHCP Server)
Jump to navigationJump to search

How To Add A Host Name Identifier To A DHCP Server

Some times it is desirable to add a host name identifier at the DHCP Client to be recognized by the DHCP Server. This will allow for local host names to be resolved by their respective name on the local LAN. This works well with a DD-WRT enabled LinkSys router.

To do this, add the following line to your network configuration file (we will use file: "/etc/sysconfig/network-scripts/ifcfg-eth0" for this example): DHCP_HOSTNAME=<your desired host name for this NST DHCP client>

[root@probe-biostar network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
DHCP_HOSTNAME=probe-biostar