DELL 8132 ユーザーズマニュアル

ページ / 1818
956
DHCP Server and Relay Agent Commands
• Client DNS server – dns-server
• NetBIOS WINS Server – netbios-name-server
• NetBIOS Node Type – netbios-node-type
• Client default router – default-router
• Client address lease time – lease
Administrators may also configure manual bindings for clients using the host 
command in DHCP Pool Configuration mode. This is the most often used 
for DHCP clients for which the administrator wishes to reserve an ip address, 
for example a computer server or a printer. A DHCP pool can contain 
automatic or dynamic address assignments or a single static address 
assignment.
To configure a manual address binding, configure the pool properties using 
the DHCP pool commands listed below. It is only necessary to configure a 
DHCP client identifier or a BOOTP client MAC address for a manual 
binding. To configure a manual binding, the client identifier or hardware 
address must be specified before specifying the host address.
• DHCP client identifier – client-identifier
• BOOTP client MAC address – hardware-address
• Host address – host
• Client name (optional) – client-name
Examples
Example 1 – Manual Address Pool
console#ip dhcp pool “Printer LP32 R1-101”
console(config-dhcp-pool)#client-identifier 00:23:12:43:23:54
console(config-dhcp-pool)#host 10.1.1.1 255.255.255.255
console(config-dhcp-pool)#client-name PRT_PCL_LP32_R1-101
Example 2 – Dynamic Address Pool
console(config)#ip dhcp pool "Windows PCs"
console(config-dhcp-pool)#network 192.168.21.0 /24
console(config-dhcp-pool)#domain-name power-connect.com
console(config-dhcp-pool)#dns-server 192.168.22.3 192.168.23.3
2CSPC4.X8100-SWUM102.book  Page 956  Friday, March 15, 2013  8:56 AM