Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
at first i thought it is successful, i can ping, SSH, FTP to my NAS from my laptop, however, when i try to open the web interface, it never come up in my browser.
here is my routing table in the ubuntu laptop after the pptp connected.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.1 * 255.255.255.255 UH 0 0 0 ppp0
119246039114.ct 10.0.34.254 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 ppp0
10.0.34.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1000 0 0 eth0
default 10.0.34.254 0.0.0.0 UG 100 0 0 eth0
192.168.1.0 is the remote network.
it is so strange!
then i try to connect by another windows laptop from office, it just works seamlessly.
when i compare the windows pptp and linux pptp connection i found the different in the gateway.
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.180 P-t-P:192.168.1.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1446 Metric:1
IP address........: 192.168.1.180
Default Gateway...: 192.168.1.180
but i don't know why in linux the p-t-p will become 192.168.1.1 ? where to set it??
what about gateway in linux?
P-t-P is set by VPN serv.
can you ping 192.168.1.1? are you sure you enabled web interface for LAN? do you access it as http://192.168.1.1/ ? i presume it's an IP of router.
btw have no idea why windows tells a gateway is your own ip, it can't be.
what's wrong with subnet mask? i think it shouldn't be 255.255.255.255, usually it's 255.255.255.0.
i think you should look into your router's settings.
No point to point has a subnet mask of 255.255.255.255 becuase it is a point to point that's normal. I don't know why the browser isn't working but it seems to me that his PPTP connection is working if he can ping ssh, etc... it seems more browser specific. We need to know the full story IP network range key IPs like the router, and the server setup on the DD-WRT linksys in order to help better.
Might this have anything to do with Proxyarp settings maybe data is not getting back to it properly, additionally your server address if I recall correctly should be the same as the server itself. However, it looks like everything is setup properly, and that you have networking, as you can use other services, I am baffled.
I am studying the proxy arp issue, it seems that it should be in the router (DD WRT).
the router seems somehow not passing the traffic. i found my ssh session freeze after the connection established for awhile.
another point is the linux VPN client get the gateway ip address as specified by the router, but for windows machine, it just use the client ip address as the gateway and seem it make a different. so i guess it could be a work around that let my linux vpn client to set the gateway same as the it's ip in this ppp connection, but i don't know how to do it.....