Adding new IP's without reboot?

Rus Foster rghf at fsck.me.uk
Wed Nov 26 16:44:28 PST 2003


On Wed, 26 Nov 2003, Ben Dover wrote:

> Is there a way to add new IP’s 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’s with *nix and I was hoping there was a way to do this in FBSD.
>

Hi,
You can use something similar to the following

ifconfig vr0 alias 192.168.0.1 netmask 0xffffff00

Rus

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



More information about the freebsd-questions mailing list