From 41029b43fe3420037d74a8bb6114936e896bb171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=98=95?= Date: Tue, 16 May 2023 14:31:25 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E6=9B=B4=E6=96=B0=E5=8F=8C=E5=B1=82?= =?UTF-8?q?VLAN=20DHCP=20=E5=8D=8F=E8=AE=AE=E8=BF=87=E6=BB=A4=E5=99=A8?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/vcpe.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/vcpe.cfg b/config/vcpe.cfg index 558f1e8..7789a73 100644 --- a/config/vcpe.cfg +++ b/config/vcpe.cfg @@ -100,7 +100,7 @@ application: # MAC地址黑名单 # 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地址池配置 range_set: ( { dhcp_range = "192.168.101.2-192.168.101.40"; @@ -110,7 +110,7 @@ application: lease_time = 36000; 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"; domain_server = "114.114.2.2,8.8.4.4"; gateway = "10.10.0.1";