Networking Forums

Networking Forums > Computer Networking > Linux Networking > pptp client and routing

Reply
Thread Tools Display Modes

pptp client and routing

 
 
hundal
Guest
Posts: n/a

 
      02-02-2004, 10:08 AM
I've managed to setup a pptp client on a linux (Mandrake 9) and it's
"active" on ppp0. The thing is I can't ping the remote network at all. my
route looks like:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
#### the line below is the remote vpn network
212.240.214.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
### the gw on my network is another linux box running iptables
default 192.168.0.3 0.0.0.0 UG 0 0 0 eth0

How do I get about pinging the remote network. A windows box on the local
network works fine.

Clueless,

Pinder

 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      02-02-2004, 01:40 PM
hundal <(E-Mail Removed)> wrote:
> I've managed to setup a pptp client on a linux (Mandrake 9) and it's
> "active" on ppp0. The thing is I can't ping the remote network at all. my
> route looks like:


Security note: pptp is a flawed VPN technology and its should not be
used in new networks. There are a number of weaknesses apparently.

> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> #### the line below is the remote vpn network
> 212.240.214.1 * 255.255.255.255 UH 0 0 0 ppp0
> 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0 lo
> ### the gw on my network is another linux box running iptables
> default 192.168.0.3 0.0.0.0 UG 0 0 0 eth0
>
> How do I get about pinging the remote network. A windows box on the local
> network works fine.


Showing us the output of "ifconfig ppp0" would be a useful thing.

Perhaps you need to turn on proxy arp, if its not already. Something

echo 1 > /proc/sys/net/ipv4/conf/ppp0/proxy_arp

The reason you need this is because your 212.240.214.1 route is not
specifying the far-end of the connection as a gateway.

You can (and probably should) despence with the proxy_arp, and ensure
that your ppp0 interface is correctly setup with a P-t-P entry. If
you're bringing up the interface yourself, just remember that you say
"pointopoint", _not_ "pointtopoint" (that tripped me up for ages one
time.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PPTP -client- "use default gateway" slows client to remote upload markm75g Windows Networking 1 12-18-2008 02:11 PM
Routing for VPN with PPTP Sword Spider Linux Networking 2 06-29-2007 03:04 PM
PPTP client, masquerade and routing morleyc@gmail.com Linux Networking 4 06-28-2007 07:50 PM
PPTP issues with routing Sameer Windows Networking 0 04-27-2004 04:11 AM
PPTP Client Routing Issue Ken Morris Linux Networking 0 12-01-2003 03:43 PM



1 2 3 4 5 6 7 8 9 10 11