Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2010 12:14:31 -0500
From:      gumbo@bsdmail.org
To:        freebsd-net@freebsd.org
Subject:   re:  problems using gif tunnels
Message-ID:  <8CC7A1DF9B06ECC-2B00-4C4D@web-mmc-m03.sysops.aol.com>
In-Reply-To: <8CC798334B50596-2B00-26B5@web-mmc-m03.sysops.aol.com>
References:  <8CC796E5FBF77EA-2B00-1FEE@web-mmc-m03.sysops.aol.com> <20100212.054440.00550279.hrs@allbsd.org> <8CC798334B50596-2B00-26B5@web-mmc-m03.sysops.aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

=20
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
=20
Start a ping on node02 and see that it's woking.=20
ping -I 10.7.223.2 224.0.0.5
=20
Bring down gif2 on node01.
ifconfig gif2 down
=20
The ping on node02 no longer sees responses.  This happens consistently.




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


gumbo@bsdmail.org wrote
 in <8CC796E5FBF77EA-2B00-1FEE@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=20
unnel to node 2.
u> Node two has one gif with a tunnel to node 1 configured.  If I start a=
=20
ulticast ping from
u> node 2 to the inner address of node 1 gif0, everything is fine.  If I=
 then=20
ring down gif2 on
u> node 1, the ping receives no more responses.  The down gif should have=
 no=20
ffect on the
u> ping.  Has anyone seen this problem ?  What's going on ?  Is this a kno=
wn=20
ug ?
 Can you show a way to reproduce your symptom by using command lines
you entered, for example?
-- Hiroki





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CC7A1DF9B06ECC-2B00-4C4D>