Zhone 5100 참조 매뉴얼

다운로드
페이지 186
CHAPTER 4
IP services
110    
Vpacket 5100/6100 Series Reference Manual
Setting DNS servers for a DHCP pool
You can assign DNS servers to a DHCP pool by issuing the set dhcp pool <pool> dnsServers 
command.
Syntax: set dhcp pool <pool name> dnsServers <up to eight IP address>
Arguments:
pool name name of the DHCP pool that you want to configure
dnsServers up to eight IP addresses of DNS servers in standard dotted-decimal format; 
addresses must be separated by a single space. 
Note. To delete one or more DNS server addresses from the list, you must specify the 
valid list and omit those you want to remove.
Example:
In this example, a DNS servers with the IP addresses 209.119.23.6 and 10.10.10.4 (see Figure 4-1 
on page 104) are associated with the DHCP pool named “vpacket.”
Setting a default router for a DHCP pool
You can set the IP gateway to the 5100/6100 VDR to a specific DHCP pool by issuing the set 
dhcp pool <pool> default_router command.
Syntax: set dhcp pool <pool> default_router <IP address>        
Arguments:
pool
the name of the DHCP pool to which you want to assign a default router
IP address the address of the default router in standard dotted-decimal notation
Example:
In this example, the IP gateway address for the DHCP pool named “vpacket” is set to 
10.10.10.254, which is the IP address of the WAN interface (see Figure 4-3 on page 108).
VPacket# set dhcp pool vpacket dnsServers 209.119.23.6 10.10.10.4
VPacket#
VPacket# set dhcp pool vpacket default_router 10.10.10.254
VPacket#