[LARTC] Gre Tunneling Problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Christoph, actually I havent done with netfilter rules and i dont have
any restrictions applied for the linux, its a normal configuration, I also
enable the forwarding under the /proc/sys/net/ipv4/ip_forward with the value
of 1. can you figure out whats the problem? thanks

Glynn

----- Original Message -----
From: "Christoph Simon" <ciccio@kiosknet.com.br>
To: "glynn" <glynn@itextron.com>
Cc: <lartc@mailman.ds9a.nl>
Sent: Monday, January 07, 2002 7:41 PM
Subject: Re: [LARTC] Gre Tunneling Problem


> On Sun, 6 Jan 2002 17:39:46 +0800
> "glynn" <glynn@itextron.com> 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
> .
>




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux