Hi,
I have as host a PCLinuxOS conected to the internet using PPPOE.
Also Vmware installed on with two separate guests, one WinXP and second a VPN server.
1. I can connect through VPN from the WinXP machine to the VPN server and browse the Internet without any problem
2. Unfortunately I can't make working the VPN connection from the host to this VM VPN server either I can ping it and the comm seems to be up and running.
I've tried to define some PPTP connection but none of work in the end.
Bellow are the ifconfig output before and after the trying.
Before try to connect to the VPN server the ifconfig is:
eth0 Link encap:Ethernet HWaddr 00:24:E8
5:E7:59
inet6 addr: fe80::224:e8ff:fed5:e759/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3615292 errors:0 dropped:0 overruns:0 frame:0
TX packets:3606176 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2811756270 (2.6 GiB) TX bytes:3596369473 (3.3 GiB)
Memory:f6fe0000-f7000000
eth0:9 Link encap:Ethernet HWaddr 00:24:E8
5:E7:59
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Memory:f6fe0000-f7000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39476 errors:0 dropped:0 overruns:0 frame:0
TX packets:39476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3726550 (3.5 MiB) TX bytes:3726550 (3.5 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.x.x.222 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:1227 errors:0 dropped:0 overruns:0 frame:0
TX packets:1193 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:140277 (136.9 KiB) TX bytes:104052 (101.6 KiB)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.106.1 Bcast:192.168.106.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2547 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3584 errors:0 dropped:0 overruns:0 frame:0
TX packets:2923 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Running the following command:
pppd pty "pptp <VPN_server_IP> --nolaunchpppd" file /etc/ppp/options.pptp user xxxxxx password xxxxxx
I got this configuration:
eth0 Link encap:Ethernet HWaddr 00:24:E8
5:E7:59
inet6 addr: fe80::224:e8ff:fed5:e759/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3617258 errors:0 dropped:0 overruns:0 frame:0
TX packets:3607862 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2812374438 (2.6 GiB) TX bytes:3596608106 (3.3 GiB)
Memory:f6fe0000-f7000000
eth0:9 Link encap:Ethernet HWaddr 00:24:E8
5:E7:59
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Memory:f6fe0000-f7000000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39476 errors:0 dropped:0 overruns:0 frame:0
TX packets:39476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3726550 (3.5 MiB) TX bytes:3726550 (3.5 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:x.x.x.222 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3021 errors:0 dropped:0 overruns:0 frame:0
TX packets:2827 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:671072 (655.3 KiB) TX bytes:305177 (298.0 KiB)
ppp1 Link encap:Point-to-Point Protocol
inet addr:10.10.10.11 P-t-P:10.10.10.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1000 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:96 (96.0 b) TX bytes:102 (102.0 b)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.106.1 Bcast:192.168.106.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2547 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3635 errors:0 dropped:0 overruns:0 frame:0
TX packets:2971 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Bottom line this VPN connection should be done through vmnet8 interface that communicate with the VPN VM server.
Any ideas?
That drive me crazy
Thanks,
-Johnny.