Solved

vMotion default gateway problem with multiple VLANs?

Posted on 2009-04-08
3
7,462 Views
Last Modified: 2013-11-14
I'm trying to get vMotion up and running. Here is my config:

Two ESX hosts. 6 pNICs each. One reserved for vMotion, each.

Two VLANs:
VLAN 48 - iSCSI Network - 172.16.48.0, 255.255.255.240
VLAN 200 - vMotion - 172.16.200.0, 255.255.255.248

When I click on the Host and click Configuration tab, I click Networking and then "Add Networking."

When I select VMkernel (for vMotion) the Network Access page comes up. I assign a new vswitch and NIC. I'm now at the Connection Settings and here is where I run into the issue (i think.)

I name the Network Label (I'm matching this name on both hosts) ... I tag the "Use this port group for vMotion" checkbox. I assign the IP and SM and the "VMkernel Default Gateway" is already assigned but grayed out. The DG is the gateway for VLAN 48 .... not VLAN 200.

If I leave the Gateway as 172.16.48.1, I cannot ping the vMotion NIC/IP once I complete the wizard...but if I click the edit box and change the VMkernel Def Gateway to 172.16.200.1, I believe I will lose connectivity to the Service Console/Host machine. (On my last config, when I changed this setting to 200.1, my config got hosed and I had to re-format and re-install. I'd prefer not to do this :D )

In all documentation/best practice reading that I've done, it states that the vMotion network should be on a separate network/VLAN from the VM Network or iSCSI network. How can this be achieved if I can only assign one VMkernel default gateway?? (I have another VMkernel port created and assigned for the iSCSI network...)

What am I doing wrong? I can provide more information as necessary. Please help!
0
Comment
Question by:sjknits
3 Comments
 
LVL 7

Expert Comment

by:kumarnirmal
ID: 24103195
Your vMotion vSwitch should have its IP in 172.16.200.X Subnet and not in 172.16.48.X Subnet the reason being the NIC which would be used for iSCSI Datastore access should be able to locate the vMotion subnet and vice-versa.

This is the reason why one of the Ports in the Physical Switches connected to each other would be configured as a Trunk Link

For more info about Trunk Links, check this URL - http://www.firewall.cx/vlans-links.php
0
 
LVL 22

Expert Comment

by:65td
ID: 24103255
Is there a NIC for the service console and the virual machine network?

One can test the vmkernal connection by using vmkping if the ESX host has a service console.
See:

http://kb.vmware.com/selfservice/viewContent.do?externalId=1003728&sliceId=1

http://download3.vmware.com/vmworld/2006/tac9689-b.pdf
0
 

Accepted Solution

by:
sjknits earned 0 total points
ID: 24206743
Well it looks like this is resolved. Called VMware support.

It appeared that when I created the vMotion kernel port, I named the port and set a value of "200" for the VLAN ID. This apparently confused the system. The moment I took that value out, my vMotion nics began to respond. I'm guessing because we're doing port-based VLANs from our Foundry Networks switching equipment, that we didn't need to do any configuration on the ESX itself.

Also, as far as the "DNS and Routing" is considered, I entered the VLAN 48 gateway IP for both the Service Console and VMKernel and all seems well.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now