From owner-freebsd-net Sun Sep 17 9:23:49 2000 Delivered-To: freebsd-net@freebsd.org Received: from volatile.chemicals.tacorp.com (ci391991-a.grnvle1.sc.home.com [24.9.31.75]) by hub.freebsd.org (Postfix) with ESMTP id 74A0637B424 for ; Sun, 17 Sep 2000 09:23:46 -0700 (PDT) Received: (from morganw@localhost) by volatile.chemicals.tacorp.com (8.11.0/8.11.0) id e8HGNXt67029; Sun, 17 Sep 2000 12:23:33 -0400 (EDT)?g (envelope-from morganw)œ Date: Sun, 17 Sep 2000 12:23:33 -0400 (EDT) From: Wesley Morgan To: Kirk Strauser Cc: freebsd-net@FreeBSD.ORG Subject: Re: IPv6 woes In-Reply-To: <87og1nuk3f.fsf@pooh.honeypot> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 17 Sep 2000, Kirk Strauser wrote: > I'm running a FreeBSD 4.1-stable system. I went to > www.freenet6.net to get a v6 address, and selected the > FreeBSD/KAME option. Along with the tunkame.*.pl script, it > sent me: > > Your IPv6 address : 3ffe:b00:c18:1fff:0:0:0:455 > Freenet6 IPv6 address (server side) : 3ffe:b00:c18:1fff:0:0:0:454 > Freenet6 IPv4 address (server side): 206.123.31.102 > Your IPv4 address : 216.224.193.50 > > The script executed without errors. However, while I can ping > the local and remote IPv4 address, and I can ping6 the local > IPv6 address, I can't pin6 the remote end. The only error > message I get, at all, is from /var/log/messages: > > /kernel: nd6_lookup: failed to add route for a > neighbor(3ffe:0b00:0c18:1fff::0454), errno=17 Make sure you delete any pre-existing default routes etc before running the script. Check your route table with 'netstat -rf inet6'. The best way to set up the tunnel you want would be with the proper rc.conf options: ipv6_enable="YES" gif_interfaces="gif0" ipv6_network_interfaces="gif0" #ipv6_static_routes="gif0" #ipv6_route_gif0="default 3ffe:b00:c18:1fff:0:0:0:455" gifconfig_gif0="216.224.193.50 206.123.31.102" ifconfig_gif0="inet6 3ffe:b00:c18:1fff:0:0:0:455 3ffe:b00:c18:1fff:0:0:0:454" You may or may not need the static routes, depending on your setup. This is based off my setup (not a freenet6 tunnel) and I think it will work, provided I did not get any of the addresses backwards. You may also need to set an "ipv6_default_interface" if you have multiple tunnels etc. BTW I run -current, so there may be some cosmetic differences... And of course there might be a "more correct" way to set it up with your init scripts. -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ wesleymorgan@home.com _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ 6bone: 3ffe:1ce3:7::b4ff:fe53:c297 Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message