![isc-dhcp-server 上共享网络内的多个池的奇怪行为](https://linux22.com/image/669629/isc-dhcp-server%20%E4%B8%8A%E5%85%B1%E4%BA%AB%E7%BD%91%E7%BB%9C%E5%86%85%E7%9A%84%E5%A4%9A%E4%B8%AA%E6%B1%A0%E7%9A%84%E5%A5%87%E6%80%AA%E8%A1%8C%E4%B8%BA.png)
我的 dhcp 服务器上有一个奇怪的行为,我正在使用负载平衡配置并在共享网络内使用多个池,我有以下配置:
shared-network "my-shared-network" {
subnet 186.88.128.0 netmask 255.255.224.0 {
option subnet-mask 255.255.224.0;
option routers 186.88.128.1;
pool {
range 186.88.128.2 186.88.159.254;
failover peer "my-failover";
}
}
subnet 186.90.0.0 netmask 255.255.224.0 {
option subnet-mask 255.255.224.0;
option routers 186.90.0.1;
pool {
range 186.90.0.2 186.90.31.254;
failover peer "my-failover";
}
}
}
对于子网 186.88.128.0 工作正常,但是当我从子网 186.90.0.0 接收包时,我的服务器提供来自子网 186.88.128.0 的 IP,我在日志中看到:
Oct 26 18:22:09 my-server dhcpd: DHCPDISCOVER from 60:e7:01:4d:f9:3f via 186.90.0.1
Oct 26 18:22:09 my-server dhcpd: DHCPOFFER on 186.88.139.127 to 60:e7:01:4d:f9:3f via 186.90.0.1
Oct 26 18:22:09 my-server dhcpd: DHCPRELEASE of 186.88.139.127 from 60:e7:01:4d:f9:3f via 186.90.0.1 (found)
我的配置有什么问题?
PD: 所有DHCPDISCOVER都来自同一个IP,例如:172.16.25.40
提前致谢