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";