I hope this might be acceptable to ask here even if it is FPC and
Lazarus off topic....

I have created a VMWare WS12PRO virtual machine in which I have
installed Linux Mint 17.3 MATE to host FreePascal 3.0.0 and Lazarus
1.6.
These are now fine and working.

As a last item I need to secure connectivity to the company version
control system hosted on a Windows server on address 10.0.0.7
This network is on-line on the VMWare host PC (Windows7 X64) via VPN.

I have set the virtual machine networking to NAT so it will use the
host networking system and it should be able therefore to use the VPN
channel to reach the 10.0.0.7 server.

This is the addresses of my system:
Main PC (VMWare host):
 IP=192.168.0.137 Mask=255.255.255.0 GW=192.168.0.129

VMWare virtual adapter for vnet8 on main PC:
  IP=192.168.80.1 Mask=255.255.255.0

 
Linux Mint virtual machine:
IP=192.168.80.130 Mask=255.255.255.0 GW=192.168.80.2

Server on VPN network:
IP=10.0.0.7 Mask=255.255.255.0

I know that this should work but I feel that there is something
missing on the Linux side to make it actually start working...
On previous Linux virtual machines (VMWare Workstation 7 level) I did
not have to do anything else than connect VPN on my host PC to make
that network also available on the virtual computer.
Does not work now...

I have tried adding route 10.0.0.0 on the linux side as follows:

bosse@mint17mate ~ $ route -n
Kernel IP routing table
Destination   Gateway      Genmask       Flags Metric Ref Use Iface
0.0.0.0       192.168.80.2 0.0.0.0       UG    0      0     0 eth0
10.0.0.0      192.168.80.1 255.255.255.0 UG    0      0     0 eth0
192.168.80.0  0.0.0.0      255.255.255.0 U     1      0     0 eth0

But this does not work either.
I don't get any ping response. On the host system I get immediate
response...

Is there anyone here who has done this and made it work?


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to