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 #指定dnsdhcp-range=br1,192.168.170.21,192.168.170.254,86400 #指定可分配的地址范围interface=br2 #接口br2#dhcp-option=br2,1,255.255.255.0dhcp-option=br2,3,192.168.1.1dhcp-option=br2,6,192.168.1.1dhcp-range=br2,192.168.1.20,192.168.1.50,86400interface=br3 #接口br3#dhcp-option=br3,1,255.255.255.0dhcp-option=br3.3,192.168.2.1dhcp-option=br3,6,192.168.2.1dhcp-range=br3,192.168.2.10,192.168.2.20,86400如上配置,可对不同vlan提供相应的dhcp服务,能够保证不同vlan的主机都能通过hdcp获取正确的ip地址、网关、dns
时间: 2024-10-15 04:17:02