OCT 1. 配置文件增加多个IP池支持
This commit is contained in:
parent
d33629bc24
commit
a28fc7a21a
|
@ -13,8 +13,8 @@ application:
|
||||||
};
|
};
|
||||||
|
|
||||||
agent: {
|
agent: {
|
||||||
iptv_report_url = "http://127.0.0.1:50012/vcpe/dhcp/info"; # IPTV 设备上报接口
|
iptv_report_url = "http://10.0.0.1:50012/vcpe/dhcp/info"; # IPTV 设备上报接口
|
||||||
moniter_rep_url = "http://127.0.0.1:50012/vcpe/dhcp/restart"; # vCPE设备上下线接口
|
moniter_rep_url = "http://10.0.0.1:50012/vcpe/dhcp/restart"; # vCPE设备上下线接口
|
||||||
};
|
};
|
||||||
|
|
||||||
# 硬件监控相关配置内容
|
# 硬件监控相关配置内容
|
||||||
|
@ -99,14 +99,20 @@ application:
|
||||||
# 全局租约时间
|
# 全局租约时间
|
||||||
lease_time = 86400;
|
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"];
|
# replication = ["10.10.0.1", "10.10.0.2"];
|
||||||
# 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"];
|
||||||
# IP地址池配置
|
# IP地址池配置
|
||||||
range_set: (
|
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";
|
subnet_mask = "255.255.0.0";
|
||||||
domain_server = "114.114.114.114,8.8.8.8";
|
domain_server = "114.114.114.114,8.8.8.8";
|
||||||
gateway = "10.10.0.1";
|
gateway = "10.10.0.1";
|
||||||
|
|
Loading…
Reference in New Issue