Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2000 12:23:33 -0400 (EDT)
From:      Wesley Morgan <morganw@chemicals.tacorp.com>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: IPv6 woes
Message-ID:  <Pine.BSF.4.21.0009171215330.67011-100000@volatile.chemicals.tacorp.com>
In-Reply-To: <87og1nuk3f.fsf@pooh.honeypot>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009171215330.67011-100000>