LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   pptp changed default after connect VPN (http://www.linuxquestions.org/questions/linux-networking-3/pptp-changed-default-after-connect-vpn-825250/)

Solov 08-10-2010 01:55 AM

pptp changed default after connect VPN
 
System - Debian 5 squeeze. VPN pptp.
pptp dont't changed default after connect VPN
defaultrout and replacedefautrout don't work. Next i install ifmetric package. Ifmetric don't work
Quote:

root@host-10-198-146-43:/home/solov# ifmetric eth0 30
NETLINK: Packet too small or truncated! 296!=16!=436
route -n
Quote:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.198.146.122 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
10.198.146.122 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.198.146.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
212.192.164.0 10.198.146.1 255.255.255.0 UG 0 0 0 eth0
193.124.208.0 10.198.146.1 255.255.255.0 UG 0 0 0 eth0
192.168.234.0 10.198.146.1 255.255.255.0 UG 0 0 0 eth0
85.118.224.0 10.198.146.1 255.255.248.0 UG 0 0 0 eth0
93.92.216.0 10.198.146.1 255.255.248.0 UG 0 0 0 eth0
89.31.112.0 10.198.146.1 255.255.248.0 UG 0 0 0 eth0
172.16.0.0 10.198.146.1 255.240.0.0 UG 0 0 0 eth0
10.0.0.0 10.198.146.1 255.240.0.0 UG 0 0 0 eth0
10.192.0.0 10.198.146.1 255.240.0.0 UG 0 0 0 eth0
0.0.0.0 10.198.146.1 0.0.0.0 UG 0 0 0 eth0
How change that VPN changed default?

Solov 08-10-2010 08:06 AM

route add default dev ppp0 - solved


All times are GMT -5. The time now is 09:02 PM.