Troubleshooting
Page 1 of 5
PlanetVM
Infinite possibilities in a Virtual world Search for:
Search
Home VCDX Advice
Rebuilding your Service Console network.
Posted in Tips on March 17th, 2009 by Tom Howarth – 4 Comments
We had been having issues installing in a new ESX farm on a c7000 chassis, due to the lack of a Routing Switch (we will not go into the reasons as to its absence, the pain is still too sharp), so when it finally arrived we had to change the IP addressing scheme on the installed servers and guests to collapse the current flat network that utilised a 16 bit sub-net into a network that utilised a 24 bit sub-net mask. what follows below is a blow by blow account of the command line battle. It was a glorious war So how exactly do you do this from the command line, well firstly you have to delete your vswif and if configured your vmknic interfaces by using the following commands esxcfg-vswif -d vswif0 esxcfg-vmknic -d vmkernel Substitute your vmkernel name here. Also remember that ESX is a case sensitive Operating system: VMKernel is different from vmkernel. Once that is done you need to delete your port groups esxcfg-vswitch -D “VMKernel” esxcfg-vswitch -D “Service Console” The Quotes are not necessary unless you have spaces in your port group names so it is better to get used to using them. Finally delete your vSwitches esxcfg-vswitch -d vSwitch0 This will now leave you with a ‘blank’ networking config. next run the reset options for each of the following commands: esxcfg-vswitch -r esxcfg-vmknic -r esxcfg-vswif0 -r and finally verify if everything has actually gone use
http://planetvm.net/blog/?p=423
09/02/2010
Rebuilding your Service Console network. | PlanetVM esxcfg-vswitch -l esxcfg-vmknic -l esxcfg-vswif -l Now you need to recreate your switches and portgroups First issue the following command to create the vswitches esxcfg-vswitch -a vSwitch0 esxcfg-vswitch -a vSwitch1 Next create