LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PPTP (MPPE) routing? (https://www.linuxquestions.org/questions/linux-networking-3/pptp-mppe-routing-290893/)

nicholai 02-16-2005 07:10 AM

PPTP (MPPE) routing?
 
Hey

I would really apriciate some help on this one. This is my setup:


VPN-Client (10.0.0.x) -- Router--External IP <----- Internet ------> Firewall -->MS VPN Server (192.38.76.x) ----------- Our network (All boxes have public ip's in the 192.38.76/88.0)

The connection to the VPN server (finally!!!) works. The problem is that if I:

# route add -net 192.38.76.0 netmask 255.255.255.0 dev ppp0

and try and ping i box in 192.38.76.XX, it seem to go into a loop were tons and tons of date is running through ppp0. (Quite cool actually!). I did notice some solutions on the pptp.sf.net homepage, but I can't figure out if they would apply to me..

How should I route after I start my connection, so that I can access the 192.38.76.XX network??

Here's my ipconfig ppp0:

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.38.88.31 P-t-P:192.38.76.92 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:404 (404.0 b) TX bytes:338 (338.0 b)

After the connection my route looks like:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.38.76.92 * 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0

Thanks in advance.

/Nic


All times are GMT -5. The time now is 07:23 PM.