igotnoluck Posted January 9, 2008 Share Posted January 9, 2008 Hi, i'm trying to connect to my ISP using PPTP connection. i've configured the following files / settings: 1. i've installed the pptp-linux package and i've done steps 2-5 in this thread: Problem with VPN now my ifconfig is: [root@localhost peers]# ifconfig eth0 Link encap:Ethernet HWaddr 00:16:17:BC:2C:84 inet addr:172.21.13.46 Bcast:255.255.255.255 Mask:255.255.224.0 inet6 addr: fe80::216:17ff:febc:2c84/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:247543 errors:0 dropped:0 overruns:0 frame:0 TX packets:25100 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:42039565 (40.0 MiB) TX bytes:4021366 (3.8 MiB) Interrupt:23 Base address:0x2c00 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:67 errors:0 dropped:0 overruns:0 frame:0 TX packets:67 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5206 (5.0 KiB) TX bytes:5206 (5.0 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:89.0.32.175 P-t-P:212.29.206.206 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:9748 errors:0 dropped:0 overruns:0 frame:0 TX packets:9805 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:7002604 (6.6 MiB) TX bytes:1534588 (1.4 MiB) using the pptp command: pptp pns.barak.net.il call barak and i've routed as following: route add -host pns.barak.net.il gw 172.21.13.46 route add -net 172.0.0.0/8 gw 172.21.13.46 route add -net default ppp0 now the thing is that the network is working fine BUT the connection is realy slow, i think its the DNS server, but how can i config the DNS for the ppp0 connection ? and the second thing is: can i change the 172.21.13.46 to eth0 ? thanks, noluck Link to comment Share on other sites More sharing options...
tyme Posted January 9, 2008 Share Posted January 9, 2008 DNS info is always held in /etc/resolv.conf, not matter what connection (eth0, ppp0, etc.) you're using (IIRC). I would suggest setting up OpenDNS, it's faster and does a lot of nice little extras. and the second thing is: can i change the 172.21.13.46 to eth0 ?I don't understand what you're asking here...could you clarify? Link to comment Share on other sites More sharing options...
scarecrow Posted January 9, 2008 Share Posted January 9, 2008 +1 for OpenDNS. It's very fast, and I'm using it since a long time ago as my primary DNS server, keeping one of my ISP's DNS servers as secondary. My net speeds have improved considerably (and I don't think its a placebo effect). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now