• S
    [IPCONFIG]: The kernel gets no IP from some DHCP servers · dea75bdf
    Stephen Hemminger 提交于
    From: Stephen Hemminger <shemminger@linux-foundation.org>
    
    Based upon a patch by Marcel Wappler:
     
       This patch fixes a DHCP issue of the kernel: some DHCP servers
       (i.e.  in the Linksys WRT54Gv5) are very strict about the contents
       of the DHCPDISCOVER packet they receive from clients.
     
       Table 5 in RFC2131 page 36 requests the fields 'ciaddr' and
       'siaddr' MUST be set to '0'.  These DHCP servers ignore Linux
       kernel's DHCP discovery packets with these two fields set to
       '255.255.255.255' (in contrast to popular DHCP clients, such as
       'dhclient' or 'udhcpc').  This leads to a not booting system.
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    dea75bdf
ipconfig.c 36.1 KB