how do I add a vmkernel nic to a existing dvswitch/dvportgroup?
vicfg-vmknic --server x.x.x.x -a -i x.x.x.x -n 255.255.0.0 -s dvswitchname?
http://www.vmware.com/pdf/vsphere4/r41/vsp4_41_vcli_inst_script.pdf page 117.
Run vicfg-vmknic --add to add a VMkernel network interface. You must specify the IP address using
--ip, the netmask, and the port group name.
still cant get it to work
Hi,
I think executing 2 sets of actions together will not work for esxcfg-vmknic command sets. Try adding a vmknic to the portgroup first using vicfg-vmknic -a -i DHCP -p <Portgroup Name> . Then try adding the DVSwitch properties to the same vmknic.
Thanks,
Krishnaprasad
No you will need to do them seperately unfortunately, so in two commands.
Duncan (VCDX)
Available now on Amazon: vSphere 4.1 HA and DRS technical deepdive