From owner-freebsd-net Thu Jul 27 12:48: 5 2000 Delivered-To: freebsd-net@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 8BBCD37BABF for ; Thu, 27 Jul 2000 12:48:00 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id PAA08568; Thu, 27 Jul 2000 15:47:05 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 27 Jul 2000 15:47:04 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: DRHAGER@de.ibm.com Cc: "f.johan.beisser" , freebsd-net@FreeBSD.ORG Subject: Re: true aliased interface? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 25 Jul 2000 DRHAGER@de.ibm.com wrote: > For me this looks like Solaris.. > I dont know if this is some System V related feature. > > In BSD you cant create this sub-interfaces you want. > It is always the same hardware beneath. > > Ifconfig offers aliasing, if you want the adapter to listen > on another Ip-adress in addition to the adress you gave it > initially. > > "Alias" is some sort of misnomer, I think. You can put a lot > of IP definitons on a Interface, but they are completely equal, > there is no preference between them. You can give a interface > a first adress, then a "alias", remove the first adress treating > it as an alias and then you will have the same interface as if > it would have been configured with this "alias" adress right at > the beginning. This is why I followed the BSD/OS lead and added alternative forms for alias addition and deletion: ifconfig fxp0 inet add 192.0.2.200 255.255.255.255 ifconfig fxp0 inet remove 192.0.2.200 Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message