(Optional) Configuring a DHCP Server to Allocate Network Parameters Besides IP AddressesContextDHCP servers can allocate other network parameters as well as IP addresses to DHCP clients. These parameters include the IP address of a DNS server, startup configuration file, and self-defined options. Show
When network parameters, excluding the IP address, are allocated to dynamic and static clients, configuration commands are the same if an interface address pool is used, but are different if a global address pool is used. This is because of the following:
Configuring a Gateway Address for ClientsContextWhen a DHCP client connects to a DHCP server or host outside the local network segment, data must be forwarded through an egress gateway. You can configure the gateway address for clients. This configuration is required only when the global address pool is used. When the interface address pool is used, the gateway address is the IP address of the interface connecting the DHCP server to the DHCP client. NOTE:
Do not configure a gateway address for DHCP clients in the following scenarios:
In a scenario where Virtual Router Redundancy Protocol (VRRP) and DHCP are deployed, if the VRRP group functions as the DHCP server, perform this task to configure the group virtual IP address as the gateway address. To load balance traffic and improve network reliability, configure multiple egress gateways. Each address pool can be configured with a maximum of eight gateway addresses. When a global address pool is used to allocate network parameters, configuration commands are different for dynamic and static clients. Network parameters for dynamic clients are configured in the global address pool view, whereas network parameters for static clients are configured in the global address pool view or DHCP Option template view. The DHCP Option template must be configured when static clients require network parameters that are different from those of dynamic clients. Network parameters configured in the DHCP Option template view take effect only for static clients. If a network parameter is configured differently in the global address pool and DHCP Option template views, the configuration in the DHCP Option template view takes effect. Procedure
Configuring DNS and the NetBIOS Service on the DHCP ClientsContextTo enable DHCP clients to communicate with devices on other networks through host names, configure the DNS or NetBIOS service. DNS, defined by RFC 1034 and provided by TCP/IP, translates host names into IP addresses. NetBIOS, defined by IBM, is applicable to small LANs with dozens of PCs to provide the following services:
Clients running on the Microsoft Windows operating system use the NetBIOS protocol for communication. When such clients are used, the Windows Internet Naming Service (WINS) server translates host names into IP addresses. NetBIOS is vulnerable to attacks, so it is optional on Windows operating systems later than Windows 2000. Users can enable or disable NetBIOS as required. When a DHCP client uses the NetBIOS protocol for communication, its host name must be mapped to an IP address. Based on the modes to obtain mapping, NetBIOS nodes are classified into the following types:
When installing a Microsoft Windows operating system on a PC, you must define a host name. Otherwise, the system generates a host name at random. Host names are unique on a network. When a global address pool is used to allocate network parameters, configuration commands are different for dynamic and static clients. Network parameters for dynamic clients are configured in the global address pool view, whereas network parameters for static clients are configured in the global address pool view or DHCP Option template view. The DHCP Option template must be configured when static clients require network parameters that are different from those of dynamic clients. Network parameters configured in the DHCP Option template view take effect only for static clients. If a network parameter is configured differently in the global address pool and DHCP Option template views, the configuration in the DHCP Option template view takes effect. The DNS server IP address, DNS domain name suffix, and NetBIOS server IP address in the address pool can be statistically specified or automatically obtained. The NetBIOS node type can only be statically specified.
NOTE: If the address pool contains the configurations that are statistically specified and automatically obtained, the statistically specified configuration takes precedence. Procedure
Configuring a Configuration File for a DHCP ClientContextSome clients require certain network parameters, in addition to IP addresses, to be configured before they can work normally. A DHCP server can allocate configuration information such as the startup configuration file to clients. Configuration files are usually saved on the DHCP server or a dedicated file server. The DHCP server can specify the address of the file server so that clients can easily obtain files from the file server. If the startup configuration file is saved on a file server, the route between the DHCP client and file server must be reachable. When a global address pool is used to allocate network parameters, configuration commands are different for dynamic and static clients. Network parameters for dynamic clients are configured in the global address pool view, whereas network parameters for static clients are configured in the global address pool view or DHCP Option template view. The DHCP Option template must be configured when static clients require network parameters that are different from those of dynamic clients. Network parameters configured in the DHCP Option template view take effect only for static clients. If a network parameter is configured differently in the global address pool and DHCP Option template views, the configuration in the DHCP Option template view takes effect. Procedure
Configuring User-defined Options for ClientsContextVendors can define DHCP options. A device functioning as a DHCP server can allocate vendor-defined network parameters to clients using the following methods:
When a global address pool is used to allocate network parameters, configuration commands are different for dynamic and static clients. Network parameters for dynamic clients are configured in the global address pool view, whereas network parameters for static clients are configured in the global address pool view or DHCP Option template view. The DHCP Option template must be configured when static clients require network parameters that are different from those of dynamic clients. Network parameters configured in the DHCP Option template view take effect only for static clients. If a network parameter is configured differently in the global address pool and DHCP Option template views, the configuration in the DHCP Option template view takes effect. Procedure
What is the DHCP option for DNS?DHCP option 81: Client Fully Qualified Domain Name – this option allows to perform automatic update of the DNS records associated to the client, mainly the A and PTR. In the option we can specify whether the client or the server will update the records and the FQDN associated to the client.
Which DHCP client option is used to provide a list of IP addresses for DNS servers?For example, DHCP option 3 is used to list the available routers in the network of the client and option 6 is used to list the available DNS servers.
How does a DHCP server respond to an IP request that can't be renewed?Note If a client requests an invalid or duplicate address for the network, a DHCP server can respond with a DHCP denial message (DHCPNAK packet). This forces the client to release its IP address and obtain a new, valid address.
What RFC defines the DNS resource record types?It uses the same format as the DS record. This record type is defined in RFC 4431. The DNSKEY record specifies the DNSSEC key record. A zone signs its authoritative RRsets by using a private key and stores the corresponding public key in a DNSKEY RR.
|