Adding new IP's without reboot?

paul beard paulbeard at mac.com
Wed Nov 26 16:48:01 PST 2003


On Nov 26, 2003, at 4:32 PM, 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.
>

This question was the basis for a useful thread a week ago: googling or 
sifting through the archives should turn up some useful information.

I think every variant of UNIX supports this with ifconfig: something 
like this (depending on your interface device name).

[/usr/home/paul]:: ifconfig xl1 192.168.2.100 up

--
Paul Beard
<paulbeard.no-ip.org/movabletype/>
paulbeard [at] mac.com



More information about the freebsd-questions mailing list