cisco 2600 dhcp 設置主機獲得固定IP方法?

今天我在CISCO 2600 上做了一個DHCP ,主機可以獲得IP。  我想讓主機每次都獲得和上次一樣的IP。
 
按資料說明,這樣做:
 
ip dhcp  pool  client0
   host 192.168.1.20 255.255.255.0
   client-identifier 0021.9b7a.4454
 
reload 路由器,它不能這樣實現。不知道大家有沒有比較好的方法? 小弟在這裏請教了。
 
 
configure    follow:
 
ip dhcp excluded-address 192.168.1.240 192.168.1.254
!
ip dhcp pool server
   network 192.168.1.0 255.255.255.0
   default-router 192.168.1.1
   dns-server 192.168.2.183
ip dhcp pool client0
   host 192.168.1.20 255.255.255.0
   client-identifier 0021.9b7a.4454
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
 full-duplex
!
interface Serial0/0
 no ip address
 shutdown
 random-detect
!
interface Ethernet0/1
 ip address 192.168.1.254 255.255.255.0
 full-duplex
!
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章