Hi All, I'm new to this community and not sure if asking at the right place, and also not sure if this has been asked before - so asking after i've exhausted all my search.
I'm trying to figure out the following to work:
Topology:
======
Cisco Switch(Vlan = 192.168.10.1/24) ---------------- ESXi (NIC/Management n/w = 192.168.10.2/24)----------Vswitch0-----------VMs(192.16.20.x/24)
- I have just one physical adaptor on my ESXi Host and that is connected to my Cisco Switch.
- ESXi Host's OR The Physical NIC's Gateway is set as 192.168.10.1 - which is the Cisco Switch Vlan's IP and ESXi can very well ping it.
- I have just one (default) VMSwitch0 to which all my Virtual Machines are connected.
Problem:
======
I'm trying to configure a different subnet for my Virtual Machines which is 192.168."20".x /24 and i'm not able to ping the ESXi Host(192.168.10.2) and neither my Cisco Switch (192.168.10.1).
I wish to Provide my Virtual Machines (Which are in different Subnet) access to the physical network - And not able to do so.
Also, need to keep the Physical Adaptor's IP Subnet same as Physical network and cannot change it to the Virtual Machine's IP Subnet.
---
I've tried setting up the Gateway on my Virtual Machine (Windows XP) to the Host's NIC IP (192.168.10.2) and added a manual route in my XP machine - that doesnt work either.
I'll be glad to hear a response on this as this is getting out of my understanding as i can do the same on my physical network
Thanks !
Hi,
welcome to the VMware Communities.
If you want to connect two different subnets you need a router. You can create a new virtual machine, give it two vNics, one in each subnet, and configure it as a router between the subnets. That will connect the two subnets and make network traffic between the subnets possible.
Regards, Robert
The router could also be a virtual appliance.
Andre
To expand on the above a little, can you clarify whether your Cisco switch is a layer-3 device? Also, are you using VLAN tagging (dot-1Q)?