From owner-freebsd-questions Fri Aug 2 08:45:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA13680 for questions-outgoing; Fri, 2 Aug 1996 08:45:07 -0700 (PDT) Received: from csd.cs.technion.ac.il (csd.cs.technion.ac.il [132.68.32.8]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA13668 for ; Fri, 2 Aug 1996 08:44:54 -0700 (PDT) Received: (from nadav@localhost) by csd.cs.technion.ac.il (8.6.11/8.6.10) id SAA19073; Fri, 2 Aug 1996 18:35:59 +0300 Date: Fri, 2 Aug 1996 18:35:58 +0300 (IDT) From: Nadav Eiron X-Sender: nadav@csd To: Igor Vinokurov cc: questions@freebsd.org Subject: Re: Aliases under FreeBSD 2.1.5R In-Reply-To: <199608020911.NAA11967@escape.cs.ibank.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 2 Aug 1996, Igor Vinokurov wrote: > re, > > FreeBSD 2.1.5R, 2nd edition :) > > I use two trivial command to assign two aliases for one ep0 interface: > > bravo# ifconfig ep0 alias 194.58.131.142 netmask 0xffffffe0 > ifconfig: ioctl (SIOCAIFADDR): File exists > bravo# ifconfig ep0 alias 194.58.131.143 netmask 0xffffffe0 ^^^^^^^^^^ When using aliases, you should give a netmask of all ones (i.e. 0xffffffff). I didn't install 2.1.5R yet, but this works on almost any O.S. I've tried it on (including 2.1.0R). You don't need any static arp entries or anything. Just define the alias and it should work. [snip] > > -- > Igor Vinokurov > Nadav