VMware Communities
Micka007
Contributor
Contributor

VMs connectivity to both home and internal networks

I'm trying to build a nested ESX home lab with VMware Workstation on my laptop. I want the VMs to be on a private network (10.0.1.x) and need to connect them to a NAS on my home network (192.168.1.x) for iSCSI storage to the ESX hosts.

Home Network:

192.168.1.1 - Home Router

192.168.1.100 - NAS

Private Network:

10.0.1.10 - DC

10.0.1.20 - vCenter Server

10.0.1.21 - ESX1

Ideally, I'd like to route the internal VM network traffic to a VM with NICs to both networks acting as a router instead of having 2x NICs on each VM.  I've tried using a VM with RRAS but still unable to get routing between the networks.

Any ideas?

Reply
0 Kudos
4 Replies
wmarusiak
Enthusiast
Enthusiast

Hi,

Check out my post where I explained how to do it using Vyatta.

http://wojcieh.net/vyatta-router-running-on-vmware-workstation-part-1/

http://wojcieh.net/vyatta-router-running-on-vmware-workstation-part-2-dns-firewall-and-nat/

Best Regards, Wojciech https://wojcieh.net
TommyFreddy
Enthusiast
Enthusiast

You can try multiple IP address to your adapter. Then you can connect both network when you need. No need to change IP route. Thanks

Reply
0 Kudos
Micka007
Contributor
Contributor

Thanks I was hoping to do this by a simpler method with Microsoft technology. Alternatively, do you know if there is a cisco switch/router vm appliance which could accomplish this? 

Reply
0 Kudos
Micka007
Contributor
Contributor

Thanks but as mentioned I don't want to have multiple NICs. I want it to be real world as possible. I will have nested ESX hosts which will always need connectivity to the NAS so that won't work.

Reply
0 Kudos