有以下这些段:
192.168.1.0/26 192.168.1.65/26 192.168.1.129/26 192.168.1.193/26
如果用路由作DHCP服务器,怎么配置,可以令PC自动获取IP?
注:vlan1 :192.168.1.0/26 vlan2:192.168.1.65/26 vlan3:192.168.1.129/26 vlan4:192.168.1.193/26
#ip dhcp pool vlan1
#network 这里应该怎么配?
同理:VLAN2 VLAN3 VLAN4应该怎么配?
------解决方案--------------------
ip dhcp pool vlan1
network 192.168.1.0 255.255.255.192
ip dhcp pool vlan2
network 192.168.1.65 255.255.255.192
ip dhcp pool vlan3
network 192.168.1.129 255.255.255.192
ip dhcp pool vlan4
network 192.168.1.193 255.255.255.192
具体可以看看这个http://bbs.54master.com/viewthread.php?tid=196474