VMware Cloud Community
Buddhi01
Contributor
Contributor

Vswitch Configuration

HI,

I have used 172.20.14.0/24 network for my esxi management interface. and now i am going to use 172.20.15.0/24 network for my VMs. but when i assign an IP address from that range my VM it is not going to connect with the physical world. but if i use 172.20.14.0/24 IP address for a VM, it is working fine. What may be the issu?

I have 4 uplinks to the physical switch and all those four ports are configured as trunk links. how do i configure the trunk ports from the virtual switch end?

network diagram is attached below..

please reply me...

thanks

Reply
0 Kudos
5 Replies
virtualinstall
Enthusiast
Enthusiast

Hi,

Do you have any vlans in place for the different subnets on the physical switch?  If so you will need to configure the vSwitch portgroup with the correct corresponding vlan.

aravinds3107
Virtuoso
Virtuoso

is both your subnets on differernt vLAN? If so create a portgroup on your vSwitch1 and assign the VM the particulart portgroup (vLAN)

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
Reply
0 Kudos
Buddhi01
Contributor
Contributor

do i need to create trunk links from the vswitch end? because i have already made the uplinks as trunk links at the physical switch end.

Reply
0 Kudos
aravinds3107
Virtuoso
Virtuoso

Juts create a port group on the vSwitch1 for the appropriate vLAN ID's

Once you created the port group EDIT the VM or white creating the VM Choose the appropriate port group

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
Buddhi01
Contributor
Contributor

ok..thanks.....

Reply
0 Kudos