Date: Sat, 08 Jan 2011 19:05:21 +0300 From: "Alexander V. Chernikov" <melifaro@ipfw.ru> To: Ferruccio Zamuner <nonsolosoft@diff.org> Cc: freebsd-net@freebsd.org Subject: Re: IPv6 with FreeBSD 8.1 Message-ID: <4D288B41.7090204@ipfw.ru> In-Reply-To: <4D286242.30500@diff.org> References: <4D286242.30500@diff.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ferruccio Zamuner wrote: > 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 "ai_family not supported" is EAI_FAMILY error returned by getaddrinfo(3). Did you recompile world after adding INET6 option? > > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0oi0EACgkQwcJ4iSZ1q2mB+wCgnysIKuULHKKasUWbfM8T+G9R YcYAn19JzEOrx3XZgHCwTKj4RfCVa/r+ =/xqQ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D288B41.7090204>