SRE, VMware Virtualization, vSphere, vCD, ESX, Configuration Management, Microsoft AD, Security, Networking, and about anything else..
Saturday, March 19, 2016
Netgear VLAN & PVID making me doubt my sanity
I came to realize that the reason for my problems was the fact I had been moving cables around in my Netgear GS748T v5 switch and even though it seemed like the VLANs configs were correct, somehow my old PVID (Advanced-Port PVID Configuration) settings were messing things up. The scenario I have is 4 ESX hosts, one Synology array, plus one Internet link. I have four VLANS, 1=Default/home network, 10=iSCSI, 20=Internet, 30=VSAN traffic. I just upgraded my hosts to the Intel NUC's (because I want to be like William Lam), These Intel NUC's can only use the 1 onboard NIC with vSphere 6.0 U2 right now, hopefully someone will integrate a USB nic driver soon. So back to my challenge, the ESX hosts can ride on the default network and use VLAN tagging for access to the other 3 networks. My internet connection is a dumb device that can't use VLAN tagging, so I needed to find a way of integrating it. Normally that would just be an untagged port, but that doesn't work on these Netgear Switches. In order to get that to work I had to setup PVID, I used port g1 for Internet and g48 for iSCSI, and g39-42 for the ESXi hosts. The key here is that in the PVID settings, the port must be a Member of the VLAN, but not Tagged.
That seems to be working well. From the VLAN membership tab, I left my default VLAN (1) everywhere but the two untagged ports I will need my storage and internet connected to. For the other 3 VLANs I mostly emptied it out and set it up like this:
If you have a similar setup and you get stuck, I hope this helps you!
Monday, January 23, 2012
Setup VLAN tagging for ESXi on a Dell Blade Server using Dell PowerConnect M8024-k chassis switches
When using ESX on a server it is good to have a lot of network cards, especially if using vCD (vCloud) . This is a follow up to my previous post about dividing a single Dell NIC into multiple nics (partitioning) http://bsmith9999.blogspot.com/2012/01/divide-single-network-into-multiple.html.
Before you begin, you need to design your setup, for my example I want 9 VLAN’s.
1010 – mgmt (the vCenter & vCM & vCell, etc…)
1020 – guests (external facing)
1030 – vMotion
1040 – NFS (not using FC)
4010 – vcdni1
4020 – vcdni2
4030 – vcdni3
4040 – vcdni4
4050 – vcdni5
Step 1 Login and look around.
Login to Dell OpenManage, Open Switching/VLAN/ choose “VLAN Membership”. Out of the box you will only see the default VLAN 1. Assuming you are using multiple chassis with clusters that will span these chassis like I am, you will need Tagging to flow through your core switches into these. On this default VLAN, you will see the “Lags” at the bottom left hand side, the Current is set to “F” which is forbidden, meaning this default VLAN will not pass through the trunk into the core switch and cross chassis, for the default VLAN 1, this is good, for the other VLANs, we will change it.
Step 2, Add VLAN’s.
Under “VLAN Membership”, click “Add” near the top, type in your VLAN ID and name, then click Apply. Repeat step to create all of your VLAN’s.
Step 3, Change VLAN Lag type to Tagged.
Click on Detail after you have created your VLANs. Choose your VLAN under “Show VLAN”, Under Lags, change the “Static” box from “F” to “T” by clicking it a couple times. Then click apply, repeat for all new VLAN’s you’ve created that you want to have flow through your core network.
Step 4, Change VLAN Port Settings to “Trunk”
**Warning** before you do this, you must have iDRAC console access to your blade or you may lose connectivity to it****
Click on “Port Settings” which is just below “VLAN Membership”. You will now see the port Detail page. For each Port Te1/0/1 through Te1/0/16 change the Port VLAN Mode from Access to Trunk, then Click Apply. This will allow the blades to pass multiple VLAN networks to and from themselves. Repeat this step 16 times.
Step 5, Modify ESXi to accommodate the new VLANs
Open a iDRAC session to your blade(s). F2 to Login, Choose “Configure Management Network”, Choose “VLAN (optional)”, then type in your VLAN ID
Hit Enter, then ESC. It will ask if you want to Apply changes and restart mangement network? Say (Y)es.
NOTE ***In the dell Switch UI, make SURE to click the little floppy disk picture in the upper right to Save your work when your done or you’ll get to repeat it after your next power outage like I did***
You should be done, repeat these steps to get all your blades online and using VLAN’s.
Thursday, November 3, 2011
VLANs on HP BL490G7 blades using Flex-10 not working with vSphere 5 / ESXi 5
The issue appears to stem from an Emulex driver & firmware version.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007397
The Solution is that HP has updated their advisory with firmware fixes to get this working
Support Flex-10 or Flex Fabric Adapters on VMware ESXi 5.0 in a Virtual Connect Environment





