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!