From owner-freebsd-isp Thu Oct 30 20:03:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA07931 for isp-outgoing; Thu, 30 Oct 1997 20:03:31 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA07926 for ; Thu, 30 Oct 1997 20:03:25 -0800 (PST) (envelope-from danny@panda.hilink.com.au) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id PAA20743; Fri, 31 Oct 1997 15:07:14 +1100 (EST) Date: Fri, 31 Oct 1997 15:07:13 +1100 (EST) From: "Daniel O'Callaghan" To: Hyun-Seog Ryu cc: freebsd-isp@FreeBSD.ORG Subject: Re: restriction on IP aliasing??? In-Reply-To: <199710310238.LAA07028@ns.easy.re.kr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 31 Oct 1997, Hyun-Seog Ryu wrote: > I have a question on FreeBSD IP aliasing... > Does FreeBSD support only one IP alias for each Ethernet port? > Can I use several IP aliasing on one Ethernet port??? > At Solaris, it is used many Virtual LAN address at one Ethernet port... > But at FreeBSD, how to do??? ifconfig ed0 201.2.3.4 netmask 0xffffff00 ifconfig ed0 201.2.3.5 netmask 0xffffffff alias ifconfig ed0 201.2.3.6 netmask 0xffffffff alias ifconfig ed0 201.2.3.7 netmask 0xffffffff alias ...etc... There is no restriction on the number. Note that unless the IPs belong on the ethernet network, it makes more sense to put them on lo0, not the ethernet interface. Danny