We plugged one of our ESX hosts into a switch and the observed ip range came up correctly. We realized the port on the switch was on the wrong VLAN, so we brought the port down, changed the VLAN on the switch and brought the port back up and now the observed IP range is blank.
Does ESX somehow remember the first network it say and saved it or cached it somewhere and now unless that port is on the original VLAN, it won't work?
Does anybody have any ideas? Thanks for your help!
James
You wont see the observed range untill traffic passes through the pNIC as far as I know.
Also do you have the correct VLAN ID on the portgroup now?
Message was edited by: Chamon
It shouldn't cache it, however I find that sometimes it takes a little while for the observed range to show up. Other then not seeing the observed range, is it working?
Cheers,
Bradley Sessions
If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Here's a quick clarification:
We just reconfigured the port on the switch to the original VLAN it was on when the cable was plugged in. Once we do that, the Observed IP Ranges comes up and finds the correct range and works like it's supposed to. However, if we take the port on the switch down and simply change the VLAN on the port, ESX doesn't work. That's why it makes me think it saves or caches it somehow? Maybe?
Bradley, if we do set it up how it should be working where the Observed IP Ranges is blank, it doesn't work. SO, it's not like it's just not showing up but it's still working.
Chamon, we tried specifying the VLAN on the port group as well and that does not work either.
Any other ideas?
James
can we get a screenshot of your network config?
Cheers,
Bradley Sessions
If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
The screenshot through VI Client? Or some other way? Clarify what you mean and I would be happy too, thanks!
James
That or from the service console.
also does your /etc/resolve.conf have the correct DNS servers listed in it?
esxcfg-vswitch -l
and
esxcfg-vswif -l
Sorry etc/resolv.conf no "e"
Message was edited by: Chamon
Can you post a screenshot of your vSwitch config? If you can what VLAN are you trying to use? Are there multiple VLANs going through the same port on the physical switch?
How are you testing the conectivity after you change the VLAN? Is this for the service console? If so when you change the VLAN are you also changing the SC DGW and Ip address to the correct network?
Can you post the results of
esxcfg-vswitch -l
and esxcfg-vswif -l (if this is for the SC port group)
Point taken. Some people do post them though.
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 64 8 64 1500 vmnic0
PortGroup Name VLAN ID Used Ports Uplinks
VM Test Inside 0 4 vmnic0
Service Console 0 1 vmnic0
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch1 64 6 64 1500 vmnic1
PortGroup Name VLAN ID Used Ports Uplinks
VM Test DMZ 0 3 vmnic1
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch2 64 4 64 1500 vmnic3
PortGroup Name VLAN ID Used Ports Uplinks
Service Console 2 0 1 vmnic3
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch3 64 4 64 1500 vmnic2
PortGroup Name VLAN ID Used Ports Uplinks
VM Prod DMZ 0 1 vmnic2
Name Port Group IP Address Netmask Broadcast Enabled DHCP
vswif0 Service Console 10.3.5.112 255.255.255.0 10.3.5.255 true false
vswif1 Service Console 2 10.3.5.122 255.255.255.0 10.3.5.255 true false
A couple of things. Why do you have the 2 SC with the same IP addresses (sorry I see they have different IP now) on two different vSwiches with different NICs. A better way if you want redundancy for your SC is to attach the vmnic0 and vmnic3 to the same Vswitch. Then you will get the physical redundancy you may be looking for. If you need different subnet's to the vSwitch you can break them out with the VLAN IDs and ethertrunking on your pSwitch. If you have 2 SC you would want them to have different IP addresses and would usually have them on different networks.
Is the VLAN 1 the native VLAN on your physical switch? If it is you should either change the VLAN for your SC to something different or the native VLAN on your pSwitch to something else.
Message was edited by: Chamon
Hi Chamon,
My two SC do have different IP address. 10.3.5.112 and 10.3.5.122. (I just saw that you saw that now :P) You suggest moving vmnic0 (which has a SC and 4 VMs) and vmnic3 (which has a SC) to the same virtual switch? How will that improve the redundancy? They are both going through different physical nics which are in turn going to different physical switches. Maybe I'm misunderstanding you.
VLAN 1 is the native VLAN on the physical switch. Why do I need to change the VLAN for the SC to something different?
Anyways, did the stuff I posed shed any light on why ESX can see one VLAN and the Observed IP Ranges within it and not the other one on the same port on the physical switch? Any ideas? Thanks!
James
service mgmt-vmware restart on a host should make it clear any VC cache. Try that on one host and then you'll know if its a VC cache issue or something else.
If it was useful, give me credit
Jason White - VCP
Take a look at page 8 on this pdf about the native vlan
http://www.vmware.com/pdf/esx3_vlan_wp.pdf
What I mean is at the server level you will still have 2 NIC for use by the SC if you only have one SC on a vswitch with multiple pNICs.
Which Port are you changing when it works? The one connected to vmnic0 or vmnic3? Can you access both SC after you change the VLAN on the pSwitch port?