Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 1995 10:52:04 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        Nik Clayton <nik@blueberry.co.uk>
Cc:        questions@freebsd.org
Subject:   FAQ: ifconfig alias and a 3C509 Combo b
Message-ID:  <9508031452.AA20195@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199508031142.LAA00285@elbereth.blueberry.co.uk>
References:  <199508031142.LAA00285@elbereth.blueberry.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 3 Aug 1995 11:42:46 +0000 (), Nik Clayton <nik@blueberry.co.uk> said:

>     # ifconfig ep0 inet x.y.z.10 alias

> Seems to do this. But it spits out the error

>     ifconfig: ioctl (SIOCAIFADDR): File exists

You must specify an appropriate netmask.  By default, `ifconfig' will
use the same netmask for x.y.z.10 as it did for x.y.z.50, which is not
a valid operation.  You need to specify an all-ones netmask (i.e.,
255.255.255.255 aka 0xffffffff) to indicate that the alias you are
adding is for a single extra host and not another network sharing the
same wire.

This should go into the FAQ.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508031452.AA20195>