39-20
To do…
Use the command…
Remarks
Enter system view
system-view
—
interface interface-type interface-number
dhcp server dns-list ip-address
&<1-8>
Configure the
current
interface
quit
Configure
DNS server
addresses
for DHCP
clients
Configure
multiple
interfaces in
system view
dhcp server dns-list ip-address
&<1-8>
{
interface interface-type interface-number
[
to
interface-type interface-number
] |
all
}
Required
By default, no
DNS server
address is
configured.
Configuring WINS Servers for the DHCP Client
For Microsoft Windows-based DHCP clients that communicate through NetBIOS protocol, the host
name-to-IP address translation is carried out by WINS servers. So you need to perform WINS-related
configuration for most Windows-based hosts.
To implement host name-to-IP address translation for DHCP clients, you should enable the DHCP
server to assign WINS server addresses when assigning IP addresses to DHCP clients. Currently, you
can configure up to eight WINS addresses for a DHCP address pool.
Host name-to-IP address mappings are needed for DHCP clients communicating through the NetBIOS
protocol. According to the way to establish the mapping, NetBIOS nodes fall into the following four
categories:
z
B-node. Nodes of this type establish their mappings through broadcasting (The character b stands
for the word broadcast). The source node obtains the IP address of the destination node by
sending the broadcast packet containing the host name of the destination node. After receiving the
broadcast packet, the destination node returns its IP address to the source node.
z
P-node. Nodes of this type establish their mappings by communicating with WINS servers (The
character p stands for peer-to-peer). The source node sends the unicast packet to the WINS
server. After receiving the unicast packet, the WINS server returns the IP address corresponding
to the destination node name to the source node.
z
M-node. Nodes of this type are p-nodes mixed with broadcasting features (The character m stands
for the word mixed), that is to say, this type of nodes obtain mappings by sending broadcast
packets first. If they fail to obtain mappings, they send unicast packets to the WINS server to obtain
mappings.
z
H-node. Nodes of this type are b-nodes mixed with peer-to-peer features (The character h stands
for the word hybrid), that is to say, this type of nodes obtain mappings by sending unicast packets
to WINS servers first. If they fail to obtain mappings, they send broadcast packets to obtain
mappings.
Follow these steps to configure WINS servers for the DHCP client:
To do…
Use the command…
Remarks
Enter system view
system-view
—
interface interface-type interface-number
dhcp server nbns-list
ip-address
&<1-8>
Configure
WINS server
addresses for
DHCP clients
Configure the
current
interface
quit
Required
By default, no
WINS server
address is