Hi all,
I installed kubuntu a few days ago and I'm really impressed, One last thing I need to do is to set up a vpn (pptp) to my work. I've read a whole bunch of information and have it connecting but when I try and ping a computer on the vpn network it does not respond.
I looked at the routing table and noticed that the net mask for the pptp device looked wrong so I change it like so -
sudo /sbin/ifconfig ppp0 netmask 255.255.255.0
I then try and ping again. It works for a few seconds then the connection disconnects. I really don't understand routing and would appreciate any help.
Here are my routing tables before and after I connect to the vpn.
BEFORE:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
AFTER:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.80 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
I installed kubuntu a few days ago and I'm really impressed, One last thing I need to do is to set up a vpn (pptp) to my work. I've read a whole bunch of information and have it connecting but when I try and ping a computer on the vpn network it does not respond.
I looked at the routing table and noticed that the net mask for the pptp device looked wrong so I change it like so -
sudo /sbin/ifconfig ppp0 netmask 255.255.255.0
I then try and ping again. It works for a few seconds then the connection disconnects. I really don't understand routing and would appreciate any help.
Here are my routing tables before and after I connect to the vpn.
BEFORE:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
AFTER:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.80 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 1000 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
Comment