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
 
 
Glynn Condez