Web lists-archives.com

Re: ifconfig network resolution

Le 10/06/2017 à 03:57, Joel Rees a écrit :
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 netmask

But the command returns with

SIOCSIFNETMASK: Can't allocate this address.
SIOCSIFBRDADDR: Can't allocate this address.

You set the mask twice.
The address must be set before the mask and broadcast address.