problems using gif tunnels

gumbo at bsdmail.org gumbo at bsdmail.org
Fri Feb 12 17:15:08 UTC 2010


The following configuration should reproduce the problem.





node01
ifconfig em1 alias 10.66.0.1/24
ifconfig gif0 create
ifconfig gif0 tunnel 10.66.0.1 10.66.0.2
ifconfig gif0 10.7.223.1 10.7.223.2 netmask 255.255.255.255
ifconfig gif1 create
ifconfig gif1 tunnel 10.66.0.1 10.66.0.3
ifconfig gif1 10.7.224.1 10.7.224.3 netmask 255.255.255.255
ifconfig gif2 create
ifconfig gif2 tunnel 10.66.0.1 10.66.0.4
ifconfig gif2 10.7.225.1 10.7.225.4 netmask 255.255.255.255

 
node02
ifconfig em1 alias 10.66.0.2/24
ifconfig gif0 create
ifconfig gif0 tunnel 10.66.0.2 10.66.0.1
ifconfig gif0 10.7.223.2 10.7.223.1 netmask 255.255.255.255
 
Start a ping on node02 and see that it's woking. 
ping -I 10.7.223.2 224.0.0.5
 
Bring down gif2 on node01.
ifconfig gif2 down
 
The ping on node02 no longer sees responses.  This happens consistently.




-----Original Message-----
From: Hiroki Sato <hrs at FreeBSD.org>
To: gumbo at bsdmail.org
Cc: freebsd-net at FreeBSD.org
Sent: Thu, Feb 11, 2010 12:44 pm
Subject: Re: problems using gif tunnels


gumbo at bsdmail.org wrote
 in <8CC796E5FBF77EA-2B00-1FEE at web-mmc-m03.sysops.aol.com>:
gu> I am running two nodes with freebsd 7.2 release on both.
u> node 1 has three gifs with tunnels configured on all. The first gif has a 
unnel to node 2.
u> Node two has one gif with a tunnel to node 1 configured.  If I start a 
ulticast ping from
u> node 2 to the inner address of node 1 gif0, everything is fine.  If I then 
ring down gif2 on
u> node 1, the ping receives no more responses.  The down gif should have no 
ffect on the
u> ping.  Has anyone seen this problem ?  What's going on ?  Is this a known 
ug ?
 Can you show a way to reproduce your symptom by using command lines
you entered, for example?
-- Hiroki




More information about the freebsd-net mailing list