Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 11:48:39 -0700
From:      "Andrew Falanga" <af300wsm@gmail.com>
To:        "Steve Bertrand" <iaccounts@ibctech.ca>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Change an IP address without a reboot
Message-ID:  <340a29540611021048i2e113fbcj4ac2ff7d4d4fa245@mail.gmail.com>
In-Reply-To: <20061102152746.D0ACB43D72@mx1.FreeBSD.org>
References:  <340a29540611020711v50a08a2ge07490323cf37af0@mail.gmail.com> <20061102152746.D0ACB43D72@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/2/06, Steve Bertrand <iaccounts@ibctech.ca> wrote:
>
> 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
>

This seems to work for IPv4 address as I tried the above.  I added the
address and then deleted it.  However, when I attempt to delete the IPv6
address I've given to the interface, I continually get "bad value."  For
example,

ifconfig sis0 inet6 fec0:1:1:1::2/64

ifconfig sis0 delete fec0:1:1:1::2

Which returns:

ifconfig: fec0:1:1:1::2: Bad value

I've even tried expressing all 8 "blocks" of the IPv6 address.  Could this
be a defect in how ifconfig handles IPv6 addresses?  If so, whom do I
contact to look into it?

Andy



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