From a28fc7a21a2fab0b38aa7317a3128b7590dc7a1b Mon Sep 17 00:00:00 2001 From: huangxin Date: Fri, 17 Feb 2023 09:04:16 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=9A=E4=B8=AAIP=E6=B1=A0=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/vcpe.cfg | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config/vcpe.cfg b/config/vcpe.cfg index 70611ee..ecec93c 100644 --- a/config/vcpe.cfg +++ b/config/vcpe.cfg @@ -13,8 +13,8 @@ application: }; agent: { - iptv_report_url = "http://127.0.0.1:50012/vcpe/dhcp/info"; # IPTV 设备上报接口 - moniter_rep_url = "http://127.0.0.1:50012/vcpe/dhcp/restart"; # vCPE设备上下线接口 + iptv_report_url = "http://10.0.0.1:50012/vcpe/dhcp/info"; # IPTV 设备上报接口 + moniter_rep_url = "http://10.0.0.1:50012/vcpe/dhcp/restart"; # vCPE设备上下线接口 }; # 硬件监控相关配置内容 @@ -99,14 +99,20 @@ application: # 全局租约时间 lease_time = 86400; # 监听网卡 - listen_on = ["10.10.0.1"]; + listen_on = ["192.168.101.1", "10.10.0.1"]; # 主备服务器设置 # replication = ["10.10.0.1", "10.10.0.2"]; # MAC地址黑名单 # mac_filter = ["00:01:02:03:04:07", "00:01:02:03:04:01"]; # IP地址池配置 range_set: ( - { dhcp_range = "10.10.1.1-10.10.100.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"; + lease_time = 36000; + }, + { 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"; gateway = "10.10.0.1";