From owner-freebsd-net@FreeBSD.ORG Sat Jan 8 16:05:45 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8149F106571E for ; Sat, 8 Jan 2011 16:05:45 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from no.spam.no.ddos.ru (no.spam.no.ddos.ru [IPv6:2a02:978:2:1000::3]) by mx1.freebsd.org (Postfix) with ESMTP id CC2DF8FC13 for ; Sat, 8 Jan 2011 16:05:44 +0000 (UTC) Received: from ws.su29.net (v6.mpls.in [IPv6:2a02:978:2::5]) by no.spam.no.ddos.ru (Postfix) with ESMTPA id 2F7D5339603; Sat, 8 Jan 2011 19:05:27 +0300 (MSK) Message-ID: <4D288B41.7090204@ipfw.ru> Date: Sat, 08 Jan 2011 19:05:21 +0300 From: "Alexander V. Chernikov" User-Agent: Thunderbird 2.0.0.24 (X11/20100515) MIME-Version: 1.0 To: Ferruccio Zamuner References: <4D286242.30500@diff.org> In-Reply-To: <4D286242.30500@diff.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: IPv6 with FreeBSD 8.1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2011 16:05:45 -0000 -----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 metric 0 mtu 16384 > options=3 > 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-----