Tunneling issues

Steve Bertrand steve at ibctech.ca
Thu Jul 10 12:25:05 UTC 2008


zaphod at 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


More information about the freebsd-net mailing list