3550 emi 配置DHCP SERVER
相關配置命令:
config)#ip dhcp pool [地址池名]
(config)#ip dhcp excluded-address [不分配的地址]
(dhcp-config)#network [要分配的地址] [掩碼]
(dhcp-config)#lease [租約]
(dhcp-config)#default-router [默認網(wǎng)關]
(dhcp-config)#dns-server[dns 服務器]
然后要對自動獲取地址的vlan 進行設置
(config)#ip helper-address [交換機地址]
再將端口劃分到vlan 里
show config:
ip dhcp excluded-address 10.0.199.200 10.0.199.254
!
ip dhcp pool test
network 10.0.199.0 255.255.255.0
default-router 10.0.199.1
dns-server 10.0.199.252
lease 0 0 5
nterface Vlan199
ip address 10.0.199.1 255.255.255.0
ip helper-address 10.0.1.1
文章錄入:csh 責任編輯:csh