Change an IP address without a reboot

Steve Bertrand iaccounts at ibctech.ca
Thu Nov 2 15:27:49 UTC 2006


> How can I eliminate the first address?  I've looked over the 
> ifconfig manual page several times, each time reading it just 
> a little bit more carefully, but I haven't found anything 
> that answers this question.  Would some kind person please 
> help me out and show me what it is that's eluding me from 
> making this happen?

Maybe this will help. I don't use IPv6, but it should be similar. Here
is an ifconfig of my box. I added the second address just to show the
results:

mybox# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 208.70.104.3 netmask 0xffffff80 broadcast 208.70.104.127
        inet 192.168.250.1 netmask 0xffffff00 broadcast 192.168.250.255

...now,

mybox# ifconfig rl0 delete 192.168.250.1

...and finally,

newmarlo# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=8<VLAN_MTU>
        inet 208.70.104.3 netmask 0xffffff80 broadcast 208.70.104.127

HTH,

Regards,

Steve




More information about the freebsd-questions mailing list