Quantcast
Channel: VMware Communities: Message List - Failed to add vmkernel nic: A specified parameter was not correct. vSphere CLI + ESXi 4
Viewing all articles
Browse latest Browse all 48

Re: Failed to add vmkernel nic: A specified parameter was not correct.

$
0
0

You need to specify the portgroup in which the new VMkernel interface will connect to, if you haven't created the portgroup, then you need to create it first.

 

Try this:

 

[vi-admin@scofield profile]$  esxcfg-vswitch -A "newVMKernelPortgroup" vSwitch0

 

and then create the new VMkernel interface:

 

[vi-admin@scofield profile]$ esxcfg-vmknic -a -i DHCP "vmk5" -p "newVMKernelPortgroup

Added the VMkernel NIC successfully

 

 

 

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

Twitter: @lamw

vGhetto Script Repository

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

 

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

 

If you find this information useful, please award points for "correct" or "helpful".


Viewing all articles
Browse latest Browse all 48

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>