Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 10:27:52 -0500
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        "'Andrew Falanga'" <af300wsm@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Change an IP address without a reboot
Message-ID:  <20061102152746.D0ACB43D72@mx1.FreeBSD.org>
In-Reply-To: <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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





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