Warning : the "References:" field in your mail header is wrong and does
not link to the message you replied to, so it breaks the thread.
Le 08/10/2016 à 03:00, Li Wei a écrit :
how to add a route to the remote IP 192.168.115.1 on interface ppp0? Thanks!
The route should have been added automatically by pppd because it is
ppp0's peer address and ppp0 is UP, as can be seen in pppd's log and in
the output of ifconfig and ip addr.
Also a route to the PPTP server should have been automatically added by
pptp-linux, so that it is still reachable if pppd alters the default
route with the "defaultroute replacedefaultroute" option.
In Linux I use VPN with pptp-linux
How do you use pptp-linux ? Please provide all details.
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.115.34 P-t-P:192.168.115.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1496 Metric:1