diff options
author | ume <ume@FreeBSD.org> | 2013-02-02 18:08:09 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2013-02-02 18:08:09 +0000 |
commit | d10987d4020421db516b11821338cc2f1dd4b3ef (patch) | |
tree | 3107cc93ad11f9e2c929a8e4027cc5b609f6d547 /etc/rc.d/ip6addrctl | |
parent | 223577af1441262f35f33dd49b943e7df388cef3 (diff) | |
download | FreeBSD-src-d10987d4020421db516b11821338cc2f1dd4b3ef.zip FreeBSD-src-d10987d4020421db516b11821338cc2f1dd4b3ef.tar.gz |
Use the default policy table of RFC 6724.
MFC after: 1 weeks
Diffstat (limited to 'etc/rc.d/ip6addrctl')
-rwxr-xr-x | etc/rc.d/ip6addrctl | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/etc/rc.d/ip6addrctl b/etc/rc.d/ip6addrctl index 801d7bb..914ca8c 100755 --- a/etc/rc.d/ip6addrctl +++ b/etc/rc.d/ip6addrctl @@ -29,11 +29,15 @@ ip6addrctl_prefer_ipv6() afexists inet6 || return 0 ip6addrctl flush >/dev/null 2>&1 - ip6addrctl add ::1/128 50 0 - ip6addrctl add ::/0 40 1 - ip6addrctl add 2002::/16 30 2 - ip6addrctl add ::/96 20 3 - ip6addrctl add ::ffff:0:0/96 10 4 + ip6addrctl add ::1/128 50 0 + ip6addrctl add ::/0 40 1 + ip6addrctl add ::ffff:0:0/96 35 4 + ip6addrctl add 2002::/16 30 2 + ip6addrctl add 2001::/32 5 5 + ip6addrctl add fc00::/7 3 13 + ip6addrctl add ::/96 1 3 + ip6addrctl add fec0::/10 1 11 + ip6addrctl add 3ffe::/16 1 12 checkyesno ip6addrctl_verbose && ip6addrctl } @@ -42,11 +46,15 @@ ip6addrctl_prefer_ipv4() afexists inet6 || return 0 ip6addrctl flush >/dev/null 2>&1 - ip6addrctl add ::ffff:0:0/96 50 0 - ip6addrctl add ::1/128 40 1 - ip6addrctl add ::/0 30 2 - ip6addrctl add 2002::/16 20 3 - ip6addrctl add ::/96 10 4 + ip6addrctl add ::1/128 50 0 + ip6addrctl add ::/0 40 1 + ip6addrctl add ::ffff:0:0/96 100 4 + ip6addrctl add 2002::/16 30 2 + ip6addrctl add 2001::/32 5 5 + ip6addrctl add fc00::/7 3 13 + ip6addrctl add ::/96 1 3 + ip6addrctl add fec0::/10 1 11 + ip6addrctl add 3ffe::/16 1 12 checkyesno ip6addrctl_verbose && ip6addrctl } |