Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 00:45:24 +0000 (GMT)
From:      Rus Foster <rghf@fsck.me.uk>
To:        Ben Dover <nuckingfutsto@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Adding new IP's without reboot?
Message-ID:  <Pine.LNX.4.58.0311270044540.24451@bitch.localdomain>
In-Reply-To: <Law11-F372feZvDUNnv00017011@hotmail.com>
References:  <Law11-F372feZvDUNnv00017011@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Nov 2003, Ben Dover wrote:

> Is there a way to add new IP=92s to a FreeBSD 4.9 or 5.1 box without
> rebooting.  I add them to /etc/rc.conf but they are not effective until a
> reboot.  There are some webhosting assistant programs which allow instant
> use of IP=92s with *nix and I was hoping there was a way to do this in FB=
SD.
>

Hi,
You can use something similar to the following

ifconfig vr0 alias 192.168.0.1 netmask 0xffffff00

Rus

--=20
e: support@jvds.com     | Linux + FreeBSD Servers from $12.50/mo
e: sales@jvds.com       | Full Root Access
m: +44 7919 373537=09| Free Trial Account
t: 1-888-327-6330 =09| http://www.jvds.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.58.0311270044540.24451>