On Sat, 10 Jun 2017 10:57:47 +0900 Joel Rees <joel.r...@gmail.com> wrote:
> Experimenting from the command line, I find myself puzzled about the > arguments for ifconfig. > > Reading the manual, it would appear that the arguments for ifconfig > should be something like this: > > ifconfig eth0 netmask 255.255.255.224 netmask 255.255.255.224 > broadcast 10.19.23.223 10.19.23.94 > > But the command returns with > > SIOCSIFNETMASK: Can't allocate this address. > SIOCSIFBRDADDR: Can't allocate this address. > > If I repeat the command, it gives no errors, but the netmask and > broadcast address end up full class A (255.0.0.0 and 10.255.255.255). > > Anyone have an idea what's happening? > Could you humour me for a moment, and try the exercise with one of the 192.168... networks, with the same sized subnet? I've seen this kind of behaviour a very long time ago, and I can't really believe it is still happening, but... -- Joe