[Bug 278043] Diskless nfs root BOOTP/DHCP Broken
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 278043] Diskless nfs root BOOTP/DHCP Broken"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Apr 2024 00:04:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278043 --- Comment #6 from Mark Johnston <markj@FreeBSD.org> --- The basic reason is that we cannot easily use raw sockets to receive UDP packets - they belong to udp_input(). dhclient actually uses the BPF interface to send/recv UDP packets for DHCP, but I think that's a bit too inconvenient in the kernel. We can perhaps use a separate UDP socket for receiving packets, but that's a bit inconvenient. Or, we can perhaps temporarily override the ipproto registration when bootp is running. (In reply to Richard Wai from comment #3) We could do that, but I'd prefer not to if there's some other option. We use INADDR_ANY as a sentinel value in various places in the pcb layer, so life is better if we can always say that it's an invalid value. -- You are receiving this mail because: You are the assignee for the bug.