R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)
134
• DNS server—Resolves the device's temporary IP address to its host name so the device can request
a configuration file named in the format host name.cfg from the TFTP server. The DNS server might
also need to resolve the TFTP server domain name to the TFTP server IP address. For more
information about the DNS server, see Layer 3—IP Services Configuration Guide.
If the DHCP server, the TFTP server, the DNS server, and the device are not in the same network segment,
you must do the following:
• Configure the DHCP relay agent on the gateway.
• Configure routing protocols to make sure the servers have routes to the device and vice versa.
DHCP server configuration guidelines
When you configure the DHCP server, follow these guidelines:
• To enable a device to request a configuration file from a TFTP server, save the configuration file to
the TFTP server and specify the path of the file in the working directory and the file name. For simple
file name identification, HP recommends that you use file names that do not contain spaces.
• If the devices on a network segment share the same configuration file, configure the dynamic
address allocation mechanism on the connected interface of the DHCP server.
• If the devices on a network segment share most of their configurations, configure the dynamic
address allocation mechanism on the connected interface of the DHCP server. You can put the
configurations that the devices share to the configuration file, and provide a method for the device
administrators to change the configurations after their devices start up. For example, you can use a
configuration file to enable the Telnet service and create a local user, so administrators can Telnet
to their devices to perform specific configurations after their devices start up.
• If the devices on a network segment require different configurations, configure the static address
allocation mechanism on the connected interface of the DHCP server. This method allows you to
have a separate configuration file for each device.
Before you configure a static binding for a device, you must obtain the client ID of the device. To
do so, you can ask the device administrator for the client ID or use the following procedure to view
the client ID:
a. Configure dynamic address allocation on the DHCP server's interface that is connected to the
client.
b. Ask the device administrator to power on the device.
c. Execute the display dhcp server ip-in-use command on the DHCP server to view the client ID of
the device after the device starts up.
After you complete the static binding configuration, ask the device administrator to power off the
device and then power it on. The device then gets the IP address and configuration parameters you
configured for it.
TFTP server configuration guidelines
Create configuration files and host name files required for device automatic configuration on the TFTP
server, including the default configuration file device.cfg. For simple file name identification, use
configuration file names that do not contain spaces.
To use the host name file network.cfg, do the following:
• Create a configuration file for each device on the TFTP server.