Created
July 27, 2011 06:24
-
-
Save sumikawa/1108785 to your computer and use it in GitHub Desktop.
ip6addctl on MacOSX 10.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% uname -a | |
Darwin prince.local 11.0.0 Darwin Kernel Version 11.0.0: Sat Jun 18 12:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64 x86_64 | |
% curl -o ip6addrctl.c 'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/usr.sbin/ip6addrctl/ip6addrctl.c?rev=1.3.32.1;content-type=text%2Fplain' | |
% gcc -o ip6addrctl ip6addrctl.c | |
% ./ip6addrctl | |
Prefix Prec Label Use | |
::1/128 60 0 18 | |
fc00::/7 50 1 0 | |
::/0 40 2 2953 | |
::ffff:0.0.0.0/96 30 3 1043 | |
2002::/16 20 4 8 | |
2001::/32 10 5 0 | |
::/96 1 10 0 | |
fec0::/16 1 11 0 | |
3ffe::/16 1 12 0 | |
% sudo ./ip6addrctl delete 2001::/32 | |
ip6addrctl: ioctl(SIOCDADDRCTL_POLICY): Operation not supported |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment