Hi All,
I got routing problem when using use PPTP client on device to connect to PPTP server (Linux PPTPD).
After connection established, the routing table became:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.4.3.5 * 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth1
First, I delete 10.4.3.5 routing which auto generated by pptp. Then, I add an routing to my host via below command:
route add -host 10.4.3.5 gw 10.4.3.240 dev ppp0
10.4.3.5 is my PPTP server and the 10.4.3.240 is IP address of ppp0 interface.
The routing table became:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.4.3.5 10.4.3.240 255.255.255.255 UGH 0 0 0 ppp0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth1
But, I still can't ping to the 10.4.3.5. Is there anything wrong?
thanks,
Wallace.