conf ter
int f0/0
ip add 192.168.1.1 255.255.255.0
no shu
ip dhcp pool ipku
net 192.168.1.0  255.255.255.0
default-router 192.168.1.1
dns-server 202.106.195.98
ex
ip dhcp excluded-address 192.168.1.1 192.168.1.2
exit
Router#show ip dhcp ?
 binding  DHCP address bindings
Router#show ip dhcp bind
Router#show ip dhcp binding
IP address       Client-ID/              Lease expiration        Type
                Hardware address
192.168.1.3      0040.0B01.5AA2           --                     Automatic
PC>ipconfig /all

FastEthernet0 Connection:(default port)
Physical Address................: 0040.0B01.5AA2
Link-local IPv6 Address.........: FE80::240:BFF:FE01:5AA2
IP Address......................: 192.168.1.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
DNS Servers.....................:202.106.195.98
DHCP Servers....................: 192.168.1.1


PC>ipconfig /release

IP Address......................: 0.0.0.0
Subnet Mask.....................: 0.0.0.0
Default Gateway.................: 0.0.0.0
DNS Server......................: 0.0.0.0

PC>ipconfig /renew

IP Address......................: 192.168.1.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
DNS Server......................: 202.106.195.98

PC>ipconfig /all

FastEthernet0 Connection:(default port)
Physical Address................: 0040.0B01.5AA2
Link-local IPv6 Address.........: FE80::240:BFF:FE01:5AA2
IP Address......................: 192.168.1.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
DNS Servers.....................:202.106.195.98
DHCP Servers....................: 192.168.1.1路由器实现DHCP功能 _路由器实现DHCP功能