VMWare - NAT issues

sebastiaopburnaysebastiaopburnay Registered Users Posts: 1 ■□□□□□□□□□
Hey!
First of all thank you for keeping this forum.
I will now describe my problem.

I have a Linux distributios (SME-server) as guest on a VMWare Workstation, hosted on my Windows 7 Enterprise. The connection is on NAT mode.

Info on physical NIC:
IP: 172.20.31.34
GW:172.20.0.1
MASK:255.255.0.0
Info on host's Virtual NIC
IP: 192.168.1.1
GW:<none>
MASK:255.255.255.0
Info on guest's virtual NIC (eth0)
IP: 192.168.1.2
GW: 192.168.1.1
MASK:255.255.255.0
Guest's resolv.conf:
domain myServer.local
nameserver 192.168.1.1

I would like instructions on how to use the route commands in order to get In->Out and Out->In access to/from the services ran by the virtual guest.

With my best Regards.

Comments

  • Forsaken_GAForsaken_GA Member Posts: 4,024
    you wouldn't use route commands. The guest OS is behind NAT, you can't talk directly to it, so you're going to do some port forwarding, or change it over to use bridged instead

    Edit: let me clarify this - the machine running vmware will be able to access the guest OS's services, since it has an adapter in the same subnet as the guest OS - it's considered local.

    But if you wanted machines other than the one running vmware to be able to access the guest OS's services, you'll need to port forward.
  • DevilsbaneDevilsbane Member Posts: 4,214 ■■■■■■■■□□
    You should also be aware that Windows 7 and VMware workstation 6 won't be compatible without some serious patching (when it comes to getting internet access at least).
    Decide what to be and go be it.
Sign In or Register to comment.