LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-08-2010, 12:54 PM   #1
pipiak
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
PPTPD, no gateway,ping OK


Hello ,sorry that iam a newbie in Linux so please answer to me in steps.THX

My problem is simple, iam runing ubuntu 8.04 (ebox 1.4) , i have installed and configured PPTPD server, i can connect and ping users perfectly. BUT i dont getting any gateway address, in my case i have to get IP address 172.16.0.1 (PPTP server address).

I tried to change localIP in pptpd.conf to 0.0.0.0 ,or my remote(ISP) address but nothing.

Can someone explain to me how can i manually assign gateway IP address to PPTPD Server ???
 
Old 08-02-2010, 12:20 PM   #2
armbp1972
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
localIP in pptpd.conf is for setting the local ip that is going to be asigned to the end of the tunnel in the linux server,this means:

if you configure localip as 192.168.130.1 and remoteip as 192.168.130.2-31 when the client establish a connection to the server it will be as a ppp (modem) connection with two ends, one in the server with the address 192.168.130.1 and the other in the user with an assigned address from the pool configured (let's say 192.168.130.5); so setting this variable (localIP) as 0.0.0.0 is nonsense.

If what you want is to route the connections from your clients to the Internet, or an external network, try to use one of the options explained in "man pptpd.conf" under the common title: ROUTING CHECKLIST.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using pptpd as a remote gateway GettingWeb Linux - Networking 0 02-23-2010 01:36 PM
VPN - Default Gateway / Routing Issues, pptpd stuartornum Linux - Networking 0 03-25-2008 01:15 PM
pptpd connection established, ping doesn't work t0bias Linux - Networking 0 07-13-2007 05:55 AM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
dhcp client can't ping gateway but can ping other local hosts dirty_forks Linux - Networking 7 10-08-2004 10:54 AM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration