Re: ifconfig and SIOCSIFADDR

From: Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Date: Tue Jul 24 2001 - 11:05:26 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:16 EST