Routing problem between two umts clients
Posted: Wed Nov 11, 2009 10:49 am
Hi all,
General situation:
I have a "client1" connecting via an UMTS USB-modem (tun0= 192.168.1.8) to my openvpn "server" (tun0=192.168.1.1).
On the ethernet interface (192.168.2.1) on "client1" I connected a "video server" (192.168.2.2) and a "laptop1" (192.168.2.3).
They both getting the IP address from the dhcp-server installed on "client1". On my "server" I have "/ccd/client1" file in which I configured the static IP address (192.168.1.8) and "push route" for the 192.168.2.0 network. Furthermore I enabled IP-forwarding on client1. I'm able to ping from "laptop1" my "server" over the openvpn channel and vica versa.
Now I have a WindowsXP "client2" connecting also via an UMTS USB-modem (tun0= 192.168.1.6) to my openvpn infrastructure. This client can ping the "server" and "client1" since "client-to-client" on server is activated.
Problem:
I'm not able to ping the 192.168.2.0 network from "client2" side. I tried to add a route on "client2" with the command:
"route -p add net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.8 metric 30 if 2 (0x2 = openvpn interface on winxp).
This route is not accepted by client2.
Any suggestions to solve this problem?
Tks
TamTam
General situation:
I have a "client1" connecting via an UMTS USB-modem (tun0= 192.168.1.8) to my openvpn "server" (tun0=192.168.1.1).
On the ethernet interface (192.168.2.1) on "client1" I connected a "video server" (192.168.2.2) and a "laptop1" (192.168.2.3).
They both getting the IP address from the dhcp-server installed on "client1". On my "server" I have "/ccd/client1" file in which I configured the static IP address (192.168.1.8) and "push route" for the 192.168.2.0 network. Furthermore I enabled IP-forwarding on client1. I'm able to ping from "laptop1" my "server" over the openvpn channel and vica versa.
Now I have a WindowsXP "client2" connecting also via an UMTS USB-modem (tun0= 192.168.1.6) to my openvpn infrastructure. This client can ping the "server" and "client1" since "client-to-client" on server is activated.
Problem:
I'm not able to ping the 192.168.2.0 network from "client2" side. I tried to add a route on "client2" with the command:
"route -p add net 192.168.2.0 netmask 255.255.255.0 gw 192.168.1.8 metric 30 if 2 (0x2 = openvpn interface on winxp).
This route is not accepted by client2.
Any suggestions to solve this problem?
Tks
TamTam