From owner-freebsd-current@FreeBSD.ORG Tue Mar 29 13:14:01 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB225106566C for ; Tue, 29 Mar 2011 13:14:01 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (unknown [IPv6:2001:44b8:7c07:5581:266:e1ff:fe0c:8f16]) by mx1.freebsd.org (Postfix) with ESMTP id 1EAC28FC08 for ; Tue, 29 Mar 2011 13:14:00 +0000 (UTC) Received: from [10.0.2.78] (ppp208-76.lns1.adl2.internode.on.net [203.122.208.76] (may be forged)) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p2TDDvSj047230 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 29 Mar 2011 23:43:58 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: Date: Tue, 29 Mar 2011 23:43:57 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: References: <451C39DA-76B9-4767-9FFC-24F2A182E301@dons.net.au> <0C27BDBF-1F22-4DFD-A1A5-48D0BD1618BC@gsoft.com.au> <71147117-D87B-4F36-9838-238E144BB51F@gsoft.com.au> To: Marcin Cieslak X-Mailer: Apple Mail (2.1082) X-Spam-Score: -0.272 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-current@freebsd.org Subject: Re: ipv6 / rtadv problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 13:14:01 -0000 On 29/03/2011, at 23:10, Marcin Cieslak wrote: >>> Daniel O'Connor wrote: >>=20 >> On 29/03/2011, at 8:29, Daniel O'Connor wrote: >>> On 29/03/2011, at 1:37, Sergey Kandaurov wrote: >>>> 1) ipv6_enable is obsolete in HEAD, see UPDATING. >>>=20 >>> Ahh UPDATING, of course, thanks :) >>>=20 >>>> 2) Normally hosts ignore rtadv packets if ipv6_gateway_enable is = also >>>> set (as per rfc4861). >>>> All you need is something like ifconfig_em0_ipv6=3D"inet6 = accept_rtadv" >>>=20 >>> Great, it works! >>=20 >> I spoke a little too soon, I could not connect to a remote host until = I did some pings, eg.. >> maarsy-acq:~>telnet -NK6 ipv6.google.com 80 >> Trying 2404:6800:8004::68... >> ^C >> maarsy-acq:~>ping6 metatron >> PING6(56=3D40+8+8 bytes) 2001:44b8:7c07:5581:225:90ff:fe32:91e --> = 2001:44b8:7c07:5581:204:61ff:fe79:276f >> 16 bytes from 2001:44b8:7c07:5581:204:61ff:fe79:276f, icmp_seq=3D0 = hlim=3D64 time=3D0.507 ms >> 16 bytes from 2001:44b8:7c07:5581:204:61ff:fe79:276f, icmp_seq=3D1 = hlim=3D64 time=3D0.247 ms >> ^C >> --- metatron.gsoft.com.au ping6 statistics --- >> 2 packets transmitted, 2 packets received, 0.0% packet loss >> round-trip min/avg/max/std-dev =3D 0.247/0.377/0.507/0.130 ms >=20 > Are you having this problem when talking to other v6 in the same LAN? Well, the first one (metatron) I pinged worked fine and after that it = all came good. > How does your "netstat -rnf inet6" look like? Routing tables Internet6: Destination Gateway Flags = Netif Expire ::/96 ::1 UGRS = lo0 =3D> default fe80::204:61ff:fe79:276f%em0 UG = em0 ::1 ::1 UH = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 2001:44b8:7c07:5581::/64 link#2 U = em0 2001:44b8:7c07:5581:225:90ff:fe32:91e link#2 UHS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%em0/64 link#2 U = em0 fe80::225:90ff:fe32:91e%em0 link#2 UHS = lo0 fe80::%lo0/64 link#5 U = lo0 fe80::1%lo0 link#5 UHS = lo0 ff01::%em0/32 fe80::225:90ff:fe32:91e%em0 U = em0 ff01::%lo0/32 ::1 U = lo0 ff02::/16 ::1 UGRS = lo0 ff02::%em0/32 fe80::225:90ff:fe32:91e%em0 U = em0 ff02::%lo0/32 ::1 U = lo0 > Can you reach metatron.gsoft.com.au from your gateway? metatron IS my gateway :) It is running a fairly old FreeBSD (6.x..), maybe there are bugs there.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C