From owner-freebsd-questions Thu Aug 3 07:54:21 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id HAA01094 for questions-outgoing; Thu, 3 Aug 1995 07:54:21 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id HAA01087 for ; Thu, 3 Aug 1995 07:54:15 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA20195; Thu, 3 Aug 1995 10:52:04 -0400 Date: Thu, 3 Aug 1995 10:52:04 -0400 From: Garrett Wollman Message-Id: <9508031452.AA20195@halloran-eldar.lcs.mit.edu> To: Nik Clayton Cc: questions@freebsd.org Subject: FAQ: ifconfig alias and a 3C509 Combo b In-Reply-To: <199508031142.LAA00285@elbereth.blueberry.co.uk> References: <199508031142.LAA00285@elbereth.blueberry.co.uk> Sender: questions-owner@freebsd.org Precedence: bulk < 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