Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2006 16:20:55 +0000
From:      Vince <jhary@unsane.co.uk>
To:        Andrew Falanga <af300wsm@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Change an IP address without a reboot
Message-ID:  <454A1AE7.1000306@unsane.co.uk>
In-Reply-To: <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com>
References:  <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Falanga wrote:

> When it boots, I log in and configure an IPv6 address like this:
> 
> ifconfig sis0 inet6 fec0:1:1:1::3/64
> 
> Which works just great.  It so happens in this little isolated network I'm
> building, this address was taken, so then I did the exact same command as
> above only I gave it the address of fec0:1:1:1::2/64.  The part that I want
> to know how to eliminate is, after issuing the second command, I listed the
> interface configuration using ifconfig and both the addresses were present.
> 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?
> 
from man ifconfig
-alias  Remove the network address specified.  This would be used if you
incorrectly specified an alias, or it was no longer needed.  If
you have incorrectly set an NS address having the side effect of
specifying the host portion, removing all NS addresses will allow
you to respecify the host portion.

it also says you can use delete or remove

(not really an rtfm cause i know how it is when you know you've read
something carefully but still managed not to see what your looking for ;)


Vince
> Thanks,
> Andy
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




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