The initial DHCP request is a broadcast packet:
22:52:49.998312 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from a8:40:25:f0:00:01, length 297
22:52:49.998394 IP 172.30.0.1.67 > 172.30.0.6.68: BOOTP/DHCP, Reply, length 304
But a renewal is a unicast packet to the current dhcp server:
22:57:19.834564 IP 172.30.0.6.68 > 172.30.0.1.67: BOOTP/DHCP, Request from a8:40:25:f0:00:01, length 291
And we are not handling those.
|
// XXX I read up just enough on DHCP to get initial lease working. |
|
// However, I imagine there could be post-lease messages between |
|
// client/server and those might be unicast, at which point these |
|
// preds need to include that possibility. Though it may also require |
|
// a whole separate action (and this should perhaps be named the |
|
// DhcpLeaseAction). |
The initial DHCP request is a broadcast packet:
But a renewal is a unicast packet to the current dhcp server:
And we are not handling those.
opte/lib/opte/src/engine/dhcp.rs
Lines 436 to 441 in 5d0c819