PPPT VPN connection blues!!!

Hi,

I am using KVPNC (PPTP) on openSuse 11 to connect to my office network from home.
The connection status shows as ‘Connected’.

However, I am not able to ping machines on the VPN

shaz-linux:/home/shrinidhi # ping 17.108.44.185
PING 17.108.44.185 (17.108.44.185) 56(84) bytes of data.


^C
--- 17.108.44.185 ping statistics ---
16 packets transmitted, 0 received, 100% packet loss, time 15030ms

However, when I use “ping -I ppp0” I am able to ping the remote machine.


shaz-linux:/home/shrinidhi # ping -I ppp0 17.108.44.185
PING 17.108.44.185 (17.108.44.185) from 17.151.113.217 ppp0: 56(84) bytes of data.
64 bytes from 17.108.44.185: icmp_seq=2 ttl=55 time=21.1 ms
64 bytes from 17.108.44.185: icmp_seq=3 ttl=55 time=25.2 ms
64 bytes from 17.108.44.185: icmp_seq=4 ttl=55 time=19.1 ms
^Z
[1]+  Stopped                 ping -I ppp0 17.108.44.185
shaz-linux:/home/shrinidhi #

I am also able to ping web sites like google.com


shaz-linux:/home/shrinidhi # ping google.com
PING google.com (72.14.207.99) 56(84) bytes of data.
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=1 ttl=242 time=99.8 ms
64 bytes from eh-in-f99.google.com (72.14.207.99): icmp_seq=2 ttl=242 time=106 ms
^Z
[2]+  Stopped                 ping google.com
shaz-linux:/home/shrinidhi #

Below is the routing table before connecting to VPN


shaz-linux:/home/shrinidhi # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 ath0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 ath0

Below is the routing table once the connected to VPN.


shaz-linux:/home/shrinidhi # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
17.151.64.50    *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 ath0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 ath0

I have stopped the firewall.
I know I am very close… any help will be greatly appreciated.

Regs,
Shaz.

Still unable to figure out the issue.
Any help would be greatly appreciated…

you have to add route for your company machines so when trying to connect to them ppp0 to be used instead of default route ath0

in connection preferences in Kvpnc scroll the left pane to the end down and click on AfterConnected

in the right field add the corresponding route

for example:

route add -net 17.0.0.0 netmask 255.0.0.0 ppp0

will point all request for 17.x.y.z IPs to ppp0

:frowning: After i executed the route command… I am unable to ping any machines. Not even using -I option. :’(

Any more ideas?
Do you think I need to add a gateway or something?

i gave an example
you have to adjust the routes according your company’s network

did you set to obtain the dns and wins servers for ppp0 from the DHCP server of your company?