From mboxrd@z Thu Jan 1 00:00:00 1970 From: "glynn" Date: Sun, 06 Jan 2002 09:39:46 +0000 Subject: [LARTC] Gre Tunneling Problem MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0108_01C196D9.21C7DAE0" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0108_01C196D9.21C7DAE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D 203.189.x.1 (internet) eth1 =3D 192.168.1.1 (going to hub private network) Linux B eth0 =3D 205.198.x.1 (internet) eth1 =3D 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 Glynn Condez ------=_NextPart_000_0108_01C196D9.21C7DAE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello everyone, I have a problem = regarding gre=20 tunneling, I have two linux box both of them has a private network = and the=20 linux A is connected to the internet via wireless radio and the other = linux B is=20 connected to the internet via lease line. Here is the setup of my two = linux=20 box
 
Linux A
eth0 =3D 203.189.x.1 = (internet)
eth1 =3D 192.168.1.1 (going to hub = private=20 network)
 
Linux B
eth0 =3D 205.198.x.1 = (internet)
eth1 =3D 192.168.2.1 (going to hub = private=20 network)
 
here is my configuration in Linux A and = B. I also=20 load the modules needed (insmod ip_gre)
 
Linux A
ip tunnel add netb mode gre remote = 205.198.x.1=20 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=20 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=20 with is for the private network, here is my problem i couldnt ping the = other=20 private ip addresses which my eth1 is connected to the hub, anyone can = help me,=20 whats my error. pls reply asap. thanks
 
 
Glynn Condez
------=_NextPart_000_0108_01C196D9.21C7DAE0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/