Quote:
Originally Posted by karpi
Hello,
did you mixup the parameters for route?
route add default gw vpn_vpn
HTH
Karpi
<fluctuat nec mergitur>
|
Karpi, thank you for answering.
is your command syntax flawed? because i tried it and it said:
Code:
route add default gw vpn_vpn
vpn_vpn: Unknown host
anyway here's what, after i connect to the service i end up with the following routing table
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.222.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 vpn_vpn
0.0.0.0 192.168.222.2 0.0.0.0 UG 0 0 0 eth0
so i delete the last line, the eth0 default route and add a new one like this :
Code:
route add default dev vpn_vpn
but then it adds the following as the default route
Code:
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 vpn_vpn
if i do it manually like this( i got the gateway from windows XP) :
Code:
route add default gw 10.0.0.1
i get
Code:
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 vpn_vpn
which i think is the correct syntax, only it doesn't work
Code:
wget www.google.com
...
Connecting to www.google.com|209.85.229.106|:80 ...failed: No route to host.