Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 08:25:05 -0400
From:      Steve Bertrand <steve@ibctech.ca>
To:        zaphod@fsklaw.com
Cc:        freebsd-net@freebsd.org, Julian Elischer <julian@elischer.org>, Mike Tancsa <mike@sentex.net>
Subject:   Re: Tunneling issues
Message-ID:  <4875FFA1.9010608@ibctech.ca>
In-Reply-To: <3d2c56c963f5fc5f6732548548068f69.squirrel@cor>
References:  <8f7879db41dbaecc479a017110e8f32f.squirrel@cor>	<200807040155.m641tl8s000607@lava.sentex.ca>	<7904ac587e71a42fb86c2bbe77bde0ae.squirrel@cor>	<200807091545.m69FjcP4031350@lava.sentex.ca>	<ae8c87bc77551550826e2906287c4cf0.squirrel@cor>	<4874FA1F.40209@elischer.org> <3d2c56c963f5fc5f6732548548068f69.squirrel@cor>

next in thread | previous in thread | raw e-mail | index | archive | help
zaphod@fsklaw.com wrote:

>>> ifconfig gif1 inet 192.168.72.1 192.168.70.1 netmask 255.255.255.0

Above you are assigning a /24 netmask.

> Got it from the manual
> <http://www.freebsd.org/doc/en/books/handbook/ipsec.html>;
> 
> # ifconfig gif0 create
> # ifconfig gif0 tunnel A.B.C.D W.X.Y.Z
> # ifconfig gif0 inet 192.168.1.1 192.168.2.1 netmask 0xffffffff

In your example from the manual, it is applying a /32 netmask ie: 
255.255.255.255.

Aside from that, do you see ICMP inbound via tcpdump on the machine that 
you are trying to ping? Is the traffic making it to the destination, but 
not the return trip?

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4875FFA1.9010608>