我有以下设置:
Client --> eth2(10.4.0.1/16) - router / - eth1(10.3.0.1/16) --> dhcp-server(10.3.0.150)
dhcp-relay如果客户端启动dhcp请求,它将接收dhcp中继,dhcp中继将此请求转发给dhcp服务器:
IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from << MAC >> (oui Unknown), length 340dhcp-服务器接收到此请求,并向客户端的路由器接口发送答复:
IP 10.3.0.1.bootps > 10.3.0.150.bootps: BOOTP/DHCP, Request from b8:27:eb:61:ef:c1 (oui Unknown), length 340
IP 10.3.0.150.bootps > 10.0.4.1.bootps: BOOTP/DHCP, Reply, length 300但是这个回复永远不会到达发起请求的客户端。为了测试所有的防火墙都是禁用的,所以没有丢弃的包.
发布于 2017-01-18 00:11:20
子网掩码是否应该是/8作为/16,使10.3.0.1和10.4.0.1处于不同的范围?
/8 = 255.0.0.0
/16 = 255.255.0.0https://serverfault.com/questions/826890
复制相似问题