From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Simon Date: Mon, 07 Jan 2002 11:41:50 +0000 Subject: Re: [LARTC] Gre Tunneling Problem Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sun, 6 Jan 2002 17:39:46 +0800 "glynn" wrote: > Hello everyone, I have a problem regarding gre tunneling, I have two > linux box both of them has a private network and the linux A is > connected to the internet via wireless radio and the other linux B is > connected to the internet via lease line. Here is the setup of my two > linux box > > Linux A > eth0 = 203.189.x.1 (internet) > eth1 = 192.168.1.1 (going to hub private network) > > Linux B > eth0 = 205.198.x.1 (internet) > eth1 = 192.168.2.1 (going to hub private network) > > here is my configuration in Linux A and B. I also load the modules > needed (insmod ip_gre) > > Linux A > ip tunnel add netb mode gre remote 205.198.x.1 local 203.189.x.1 ttl 255 > ip link set netb up > ip addr add 192.168.1.1 dev netb > ip route add 192.168.2.0/24 dev netb > > Linux B > ip tunnel add neta mode gre remote 203.189.x.1 local 205.198.x.1 ttl 255 > ip link set neta up > ip addr add 192.168.2.1 dev neta > ip route add 192.168.1.0/24 dev neta > > I could ping both sides the eth0 and also the eth1 with is for the > private network, here is my problem i couldnt ping the other private ip > addresses which my eth1 is connected to the hub, anyone can help me, > whats my error. pls reply asap. thanks Do you have any netfilter rules not letting pass proto 47? You'll also have to allow forwarding. -- Christoph Simon ciccio@kiosknet.com.br --- ^X^C q quit :q ^C end x exit ZZ ^D ? help . _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/