Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 1996 20:59:01 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        "Robert S. Liotta, II" <bliotta@usco.com>
Cc:        "'questions@freebsd.org'" <questions@freebsd.org>
Subject:   Re: Can I set up multiple IP on one Card?
Message-ID:  <Pine.BSF.3.91.961223205626.1723A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <01BBF0D2.5ED90560@lrnau101.usco.com>

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


On Mon, 23 Dec 1996, Robert S. Liotta, II wrote:

> Can FreeBSD listen to multiple IP addresses on one interface?
> How?
> 
> 
Yes. It is called IP aliases. If the addresses are on the same subnet as 
the first IP address assigned the easiest way is to give something like:

ifconfig de0 inet 192.116.93.18 netmask 255.255.255.255 alias

Note that you should use a netmask of all 1-s. If you want the new alias 
on a different subnet than the original you'll have to give the true 
netmask and also modify the routing tables accordingly. Look at the 
manual pages for ifconfig(8) and route(8), if necessary.

Nadav



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