Zhone 5100 参考手册
CHAPTER 4
IP services
IP services
116
Vpacket 5100/6100 Series Reference Manual
Setting the DNS server for a DHCP static host
You can set up to eight DNS servers to serve a static host by issuing the set dhcp static_host
dnsServers command. The addresses must be separated by a single space. To delete one or more,
you must specify the valid list and omit those you want to remove.
Syntax: set dhcp static_host dnsServers <ipAddress>
Arguments:
Syntax: set dhcp static_host dnsServers <ipAddress>
Arguments:
ipAddress
a list of up to eight IP address in standard notation, each separated by a
space
Example:
In this example, the static host named “VPWebServer” is associated with a DNS server with the
IP address 192.168.101.19.
Setting a network address for a DHCP static host
You can set a network and subnet address for the 5100/6100 VDR by issuing the set dhcp
static_host <static host name> ipAddress command.
Syntax: set dhcp static_host <static host name> ipAddress <ipAddress> <subnet mask>
Arguments:
Syntax: set dhcp static_host <static host name> ipAddress <ipAddress> <subnet mask>
Arguments:
static host name
ipAddress
ipAddress
IP address in standard notation
subnet mask
network subnet mask in standard notation
Example:
In this example, the IP address and subnet mask for the 5100/6100 VDR are associated with the
static host for the WEB server (see Figure 4-3 on page 108).
VPacket# set dhcp static_host dnsServers 192.168.101.19
VPacket#
VPacket# set dhcp static_host ipaddress 10.10.10.2 255.255.255.0
VPacket#