Re: 2.1.75 breaks dhcpcd

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 25 Dec 1997 14:51:42 +0000 (GMT)


> (1) set address to 0.0.0.0
> (2) set broadcast to 255.255.255.255
> (3) set netmask to 0.0.0.0
> (4) set flags to up,broadcast,notrailers,running
> (1) succeeds, but when it gets to (2) EADDRNOTAVAIL is returned.
> So whats up?

Linux now stops dhcpcd doing things that aren't really legal but happened
to work in 2.0. 0.0.0.0 is not a valid IP addresses. The old dhcpcd can
do bad things if something else sends packets to 0.0.0.0 (if you've ever
seen mixed dhcp and old old sun boxes with 0.0.0.0 as broadcast on a lan
you'd get the picture)

Alan