Can't delete IPV6 addresses with ifconfig

Daniel O'Connor doconnor at gsoft.com.au
Thu Feb 14 11:57:48 UTC 2008


Hi,
I am experimenting with IPv6 and I can't seem to remove an IPv6 address 
from an interface, eg I have..
[midget 22:11] ~ >ifconfig fxp0
fxp0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 
1500
        options=b<RXCSUM,TXCSUM,VLAN_MTU>
        inet 10.0.2.1 netmask 0xffffff00 broadcast 10.0.2.255
        inet 10.0.2.3 netmask 0xffffffff broadcast 10.0.2.3
        inet 10.0.2.4 netmask 0xffffffff broadcast 10.0.2.4
        inet 10.0.2.7 netmask 0xffffffff broadcast 10.0.2.7
        inet6 2002:792d:8527::1:1 prefixlen 64
        ether 00:02:b3:32:2c:51
        media: Ethernet 100baseTX
        status: active

But I can't remove it, viz..
[midget 22:11] ~ >sudo ifconfig fxp0 -alias 2002:792d:8527::1:1/64
ifconfig: 2002:792d:8527::1:1/64: bad value
[midget 22:27] ~ >sudo ifconfig fxp0 delete 2002:792d:8527::1:1/64
ifconfig: 2002:792d:8527::1:1/64: bad value
[midget 22:27] ~ >sudo ifconfig fxp0 delete 2002:792d:8527::1:1
ifconfig: 2002:792d:8527::1:1: bad value
[midget 22:27] ~ >sudo ifconfig fxp0 delete 2002:792d:8527::1:1 
prefixlen 64
ifconfig: 2002:792d:8527::1:1: bad value
[midget 22:27] ~ >sudo ifconfig fxp0 delete 2002:792d:8527::/64
ifconfig: 2002:792d:8527::/64: bad value

Anyone know the right way to do this? :)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080214/1dd5b780/attachment.pgp


More information about the freebsd-stable mailing list