我的番茄炒蛋
生活如此精彩,挑战无处不在!

导航

 

interface=br1              #接口br1#
dhcp-option=br1,1,255.255.225.0     #指定掩码
dhcp-option=br1,3,192.168.170.1     #指定网关
dhcp-option=br1,6,192.168.170.1     #指定dns
dhcp-range=br1,192.168.170.21,192.168.170.254,86400    #指定可分配的地址范围
interface=br2     #接口br2#
dhcp-option=br2,1,255.255.255.0
dhcp-option=br2,3,192.168.1.1
dhcp-option=br2,6,192.168.1.1
dhcp-range=br2,192.168.1.20,192.168.1.50,86400
interface=br3     #接口br3#
dhcp-option=br3,1,255.255.255.0
dhcp-option=br3.3,192.168.2.1
dhcp-option=br3,6,192.168.2.1
dhcp-range=br3,192.168.2.10,192.168.2.20,86400
如上配置,可对不同vlan提供相应的dhcp服务,能够保证不同vlan的主机都能通过hdcp获取正确的ip地址、网关、dns

posted on 2017-01-12 17:16  bluesky  阅读(1138)  评论(0编辑  收藏  举报