Date: Tue, 8 Sep 1998 03:06:14 +0200 From: Neil Blakey-Milner <nbm@rucus.ru.ac.za> To: nbrown@whos.net, questions@FreeBSD.ORG Subject: Re: Question :) Message-ID: <19980908030614.A24575@rucus.ru.ac.za> In-Reply-To: <199809080016.UAA25760@sparticus.bright.net>; from Nic Brown on Mon, Sep 07, 1998 at 08:16:39PM -0400 References: <199809080016.UAA25760@sparticus.bright.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 1998-09-07 (20:16), Nic Brown wrote: > I recently have thought of the idea of using my FreeBSD box to do > virtual hosting, however I'm not sure how I can assign multiple IP > Addresses to only one NIC card. If you would, please explain to > me or show me a URL that explains how to do it in FreeBSD 2.2.2? Basically: ifconfig "networkcard" alias "alias-ipaddress" In my case, ifconfig ed0 alias 146.blah.blah.2 ifconfig ed0 alias 146.blah.blah.3, etc. If the alias-ipaddress is in the same network mask, add "netmask 255.255.255.255", I think. The routes should be set up automatically. Basically, man ifconfig, and read through it. Neil -- Neil Blakey-Milner nbm@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980908030614.A24575>