Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 1997 15:07:13 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Hyun-Seog Ryu <HyunSeog.Ryu@easy.re.kr>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: restriction on IP aliasing???
Message-ID:  <Pine.BSF.3.91.971031150355.524z-100000@panda.hilink.com.au>
In-Reply-To: <199710310238.LAA07028@ns.easy.re.kr>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971031150355.524z-100000>