Re: ifconfig and SIOCSIFADDR

Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Tue, 24 Jul 2001 18:05:26 +0200


Hi Andries,

On Tue, Jul 24, 2001 at 02:47:56PM +0000, Andries.Brouwer@cwi.nl wrote:
> I just noticed that the command
>
> ifconfig eth1 netmask 255.255.255.0 broadcast 10.0.0.255 10.0.0.150
>
> (with ifconfig from net-tools-1.60)
> results in a netmask of 255.0.0.0, which is wrong in my situation.

Just change this to

ifconfig eth1 10.0.0.150 netmask 255.255.255.0 broadcast 10.0.0.255

and be happy.

Deciding about bugs vs. "undefined behavior" is not my business,
so I bite my tongue about this topic ;-)

Regards

Ingo Oeser

-- 
Use ReiserFS to get a faster fsck and Ext2 to fsck slowly and gently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/