OCT 1. 更新双层VLAN DHCP 协议过滤器支持

This commit is contained in:
黄昕 2023-05-16 14:31:25 +08:00
parent d01235f83f
commit 41029b43fe
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ application:
# MAC地址黑名单 # MAC地址黑名单
# mac_filter = ["00:01:02:03:04:07", "00:01:02:03:04:01"]; # mac_filter = ["00:01:02:03:04:07", "00:01:02:03:04:01"];
# 数据包过滤器 # 数据包过滤器
net_filter = "vlan and udp and dst port 67"; net_filter = "vlan or (udp and dst port 67)";
# IP地址池配置 # IP地址池配置
range_set: ( range_set: (
{ dhcp_range = "192.168.101.2-192.168.101.40"; { dhcp_range = "192.168.101.2-192.168.101.40";
@ -110,7 +110,7 @@ application:
lease_time = 36000; lease_time = 36000;
vni = 123; vni = 123;
}, },
{ dhcp_range = "10.10.0.2-10.10.0.100"; { dhcp_range = "10.10.0.2-10.10.0.250";
subnet_mask = "255.255.0.0"; subnet_mask = "255.255.0.0";
domain_server = "114.114.2.2,8.8.4.4"; domain_server = "114.114.2.2,8.8.4.4";
gateway = "10.10.0.1"; gateway = "10.10.0.1";