Network Setup Tips: Difference between revisions

From MediaWiki
Jump to navigationJump to search
(New page: == 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. Then local host na...)
 
Line 1: Line 1:
== How To Add A Host Name Identifier To A DHCP Server ==
== 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. Then local host names can be used for name resolving. This works well with a DD-WRT enabled LinkSYS router.
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 [http://www.dd-wrt.com DD-WRT] enabled [http://www.linksys.com LinkSys] router.


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


<pre>
<pre>
[root@probe-biostar network-scripts]# cat ifcfg-eth0
DEVICE=eth0
DEVICE=eth0
BOOTPROTO=dhcp
BOOTPROTO=dhcp

Revision as of 11:38, 27 February 2007

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