一、启用DHCP中继代理
Switch(Config)#Service Dhcp
Switch(Config)#Ip Dhcp Relay Information Option
二、在VLAN中设定DHCP服务器地址
Switch(Config)#Int Vlan 3
Switch(Config-vlan)#Ip Helper-address 192.168.4.40
Switch(Config)#Int Vlan 4
Switch(Config-vlan)#Ip Helper-address 192.168.4.40
转载于:https://blog.51cto.com/xsh2009/1409085