Re: Still VPN routing problems



--On Tuesday, December 09, 2008 13:58:56 -0500 Dan Williams <dcbw redhat com> wrote:
¦
¦ I can't see where the pptp plugin even cares about internal vs. external
¦ gateways.  Can you grab some log output from NM when it brings up the
¦ VPN?
¦
Here's the NM log:

NetworkManager: <info>  VPN connection 'Home' (IP Config Get) reply received.
NetworkManager: <info>  VPN Gateway: 192.168.7.128
NetworkManager: <info>  Tunnel Device: ppp1
NetworkManager: <info>  Internal IP4 Address: 192.168.7.9
NetworkManager: <info>  Internal IP4 Prefix: 32
NetworkManager: <info>  Internal IP4 Point-to-Point Address: 0.0.0.0
NetworkManager: <info>  Maximum Segment Size (MSS): 0
NetworkManager: <info>  Internal IP4 DNS: 192.168.7.128
NetworkManager: <info>  Internal IP4 DNS: 192.168.7.128
NetworkManager: <info>  DNS Domain: '(none)'

¦
¦ Does your route dump mean that the local PTP address for 'ppp1' is
¦ 192.168.7.128 and the remote PTP address is 10.37.79.0?

Not quite - see ifconfig output:

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.37.79.53  P-t-P:10.37.79.0  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:66 (66.0 B)  TX bytes:87 (87.0 B)

ppp1      Link encap:Point-to-Point Protocol  
          inet addr:192.168.7.9  P-t-P:192.168.7.9  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1496  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1473 (1.4 KB)  TX bytes:1734 (1.7 KB)

The PPTP server is also a NAT gateway for its local network, and its private address is 192.168.7.128. This address only exists within the VPN, so can only be accessed over ppp1. I'm not quite sure why ifconfig doesn't show this as the P-t-P address for ppp1, maybe I'm not getting what ifconfig is telling me.

HTH, Rick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]