Re: Problem with gif and IPv6 in -CURRENT

From: Joe Marcus Clarke <marcus_at_FreeBSD.org>
Date: Fri, 08 Dec 2006 12:16:51 -0500
On Fri, 2006-12-08 at 14:56 +0000, Bjoern A. Zeeb wrote:
> On Fri, 8 Dec 2006, gnn_at_freebsd.org wrote:
> 
> Hi,
> 
> > At Thu, 07 Dec 2006 17:44:43 -0500,
> > Joe Marcus Clarke wrote:
> >> I am running:
> >>
> >> FreeBSD jclarke-pc 7.0-CURRENT FreeBSD 7.0-CURRENT #81: Thu Dec  7
> >> 16:06:32 EST 2006     marcus_at_jclarke-pc:/usr/obj/usr/src/sys/JCLARKE-PC
> >>  i386
> >>
> >> And I am trying to get a gif IPv6 tunnel up to a Cisco router.  I can
> >> get this to work on a 6.2-PRERELEASE server, but the -CURRENT machine
> >> always claims there is no route to the far end of the point-to-point
> >> link.  Here is my config:
> >
> > I have not tried this yet, but I should.  I'll report back to the list
> > after I update my FreeBSD IPv6 router to CURRENT.
> 
> I don't know 6.x vs. HEAD differences either but the real problem
> here seems to be (to my understanding) that it is not a point-to-point
> link in the legacy thinking with v6.
> 
> >> # ifconfig gif0 create
> >> # ifconfig gif0 tunnel 172.18.173.17 10.29.100.75
> >> # ifconfig gif0 inet6 3ffe:604::2 3ffe:604::1 prefixlen 128
> 
> what you should do here instead is:
> ifconfig gif0 inet6 3FFE:604::2/126

Every time I try a prefixlen larger than 128, I get:

ifconfig: ioctl (SIOCAIFADDR): Invalid argument

> 
> I'd be interested if this helps.
> 
> PS: why are you still using 6bone addresses?

I'm just testing things.  This is all in an internal lab.

Joe

> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome_at_FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

Received on Fri Dec 08 2006 - 16:16:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC