On Dim 11 décembre 2005 13:42, Philippe Pegon wrote:
>
> try :
>
> $ sudo ifconfig dc0 inet6 2001:7a8:b138::1 delete
>
> or
>
> $ sudo ifconfig dc0 inet6 2001:7a8:b138::1 -alias
>
> in ifconfig(8) :
>
> SYNOPSIS
>       ifconfig [-L] [-k] [-m] interface [create] [address_family]
> [address [dest_address]] [parameters]
>
> parameters is in the end (like delete or -alias)

thanks ! it's working, i just had to rtfm. i didn't as i always ordered my
options like this and it was working on 5.4-STABLE system :

$ uname -a
FreeBSD marge.cload.net 5.4-STABLE FreeBSD 5.4-STABLE #3: Sat Nov 26
19:12:49 CET 2005     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MARGE 
i386
$ ifconfig fxp0 inet6
fxp0: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
  options=8<VLAN_MTU>
  inet6 fe80::202:a5ff:fe51:2de3%fxp0 prefixlen 64 scopeid 0x1
  inet6 2001:7a8:6cd1::1 prefixlen 48
  inet6 2001:7a8:6cd1::caca prefixlen 48
$ sudo ifconfig fxp0 inet6 -alias 2001:7a8:6cd1::caca
$ ifconfig fxp0 inet6
fxp0: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
  options=8<VLAN_MTU>
  inet6 fe80::202:a5ff:fe51:2de3%fxp0 prefixlen 64 scopeid 0x1
  inet6 2001:7a8:6cd1::1 prefixlen 48

anyway, it's not very important as man page syntax is both case working.
however, the ifconfig option parser could have been more helpful by
printing the token on which it detected an error. i'd have guess that
"-alias" was an invalid inet6 address...

-- 
Matthieu Michaud - EPITA 2007
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to