OCT 1. 更新DHCP服务器BPF过滤器

This commit is contained in:
huangxin 2023-04-21 16:05:01 +08:00
parent 1ebb14845f
commit e0f812fc43
1 changed files with 3 additions and 3 deletions
config

View File

@ -100,10 +100,10 @@ application:
# MAC地址黑名单
# mac_filter = ["00:01:02:03:04:07", "00:01:02:03:04:01"];
# 数据包过滤器
net_filter = "vlan and udp and port 67 and port 68";
net_filter = "vlan and udp and dst port 67";
# IP地址池配置
range_set: (
{ dhcp_range = "192.168.101.0-192.168.101.4";
{ dhcp_range = "192.168.101.2-192.168.101.4";
subnet_mask = "255.255.255.0";
domain_server = "114.114.114.114,8.8.8.8";
gateway = "192.168.101.1";
@ -112,7 +112,7 @@ application:
},
{ dhcp_range = "10.10.0.2-10.10.0.100";
subnet_mask = "255.255.0.0";
domain_server = "114.114.114.114,8.8.8.8";
domain_server = "114.114.2.2,8.8.4.4";
gateway = "10.10.0.1";
lease_time = 36000;
}