IPv6 with FreeBSD 8.1
Ferruccio Zamuner
nonsolosoft at diff.org
Sat Jan 8 13:40:12 UTC 2011
Ciao,
I was trying to configure my host with IPv6.
I've verified:
1)
options INET6 # IPv6 communications protocols
exists in /usr/src/sys/amd64/conf/MYKERNEL, and it is.
2) in /etc/rc.conf:
ipv6_enable="YES"
to be enabled, and it is.
But:
> ping6 -c4 ::1
ping6: ai_family not supported
even if ifconfig output:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xffffff00
inet6 ::1 prefixlen 128
inet6 fe80::1 prefixlen 64 scopeid 0x2
I'm a IPv6 newbie, but I've not understood from what I've read until now
what I've missed or where/what I did wrong configuring IPv6 on FreeBSD 8.1.
Can you please help me with links, hints or explains to fix it and get
it running?
Here there is also sysctl output filtered by inet6.
> sysctl -A | grep inet6
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.stats: Format:S,ip6stat Length:3312
Dump:0x00000000000000000000000000000000...
net.inet6.ip6.maxfragpackets: 6400
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 15
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 30
net.inet6.ip6.kame_version: FreeBSD
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.v6only: 1
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.auto_linklocal: 1
net.inet6.ip6.rip6stats: Format:S,rip6stat Length:56
Dump:0x00000000000000000000000000000000...
net.inet6.ip6.prefer_tempaddr: 0
net.inet6.ip6.use_defaultzone: 0
net.inet6.ip6.maxfrags: 6400
net.inet6.ip6.mcast_pmtu: 0
net.inet6.ip6.mcast.loop: 1
net.inet6.ip6.mcast.maxsocksrc: 128
net.inet6.ip6.mcast.maxgrpsrc: 512
net.inet6.ip6.fw.deny_unknown_exthdrs: 1
net.inet6.ip6.fw.enable: 1
net.inet6.ipsec6.ipsecstats: Format:S,ipsecstat Length:12504
Dump:0x00000000000000000000000000000000...
net.inet6.ipsec6.def_policy: 1
net.inet6.ipsec6.esp_trans_deflev: 1
net.inet6.ipsec6.esp_net_deflev: 1
net.inet6.ipsec6.ah_trans_deflev: 1
net.inet6.ipsec6.ah_net_deflev: 1
net.inet6.ipsec6.ecn: 0
net.inet6.ipsec6.debug: 0
net.inet6.ipsec6.filtertunnel: 0
net.inet6.icmp6.stats: Format:S,icmp6stat Length:4328
Dump:0x00000000000000000000000000000000...
net.inet6.icmp6.rediraccept: 1
net.inet6.icmp6.redirtimeout: 600
net.inet6.icmp6.nd6_prune: 1
net.inet6.icmp6.nd6_delay: 5
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_useloopback: 1
net.inet6.icmp6.nodeinfo: 3
net.inet6.icmp6.errppslimit: 100
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_debug: 0
net.inet6.icmp6.nd6_prlist: Format:N Length:128
Dump:0x1c1c000000000000fe80000000000000...
net.inet6.icmp6.nd6_maxqueuelen: 1
net.inet6.icmp6.nd6_onlink_ns_rfc4861: 0
net.inet6.mld.use_allow: 1
net.inet6.mld.v1enable: 1
net.inet6.mld.gsrdelay: 10
Thank you in advance, \ferz
More information about the freebsd-net
mailing list