VMware Cloud Community
taou
Enthusiast
Enthusiast
Jump to solution

Change the vmnic used by the service console

Can anyone help me to change the vmic used by the service concole, when i write the command excfg, i receive the message:

excfg-vswitch -L vminc0 vSwitch0 "segmentation fault"

thank y for yr help.

0 Kudos
1 Solution

Accepted Solutions
avlieshout
VMware Employee
VMware Employee
Jump to solution

AFAIK vmnic0 is assigned by default to vSwitch0.

Try unlinking it first with: esxcfg-vswitch -U vmnic0 vSwitch0

I use the procedure below to delete vSwitch0 and create a service console switch named vsw-cos.

esxcfg-vswif -d vswif0

esxcfg-vswitch --del-pg='Service Console' vSwitch0

esxcfg-vswitch -d vSwitch0

esxcfg-vswitch -a vsw-cos

esxcfg-vswitch -L vmnic0 vsw-cos

esxcfg-vswitch --add-pg='Service Console' vsw-cos

esxcfg-vswif -a vswif0 -p 'Service Console' -i <ESXHOSTIP> -n <ESXHOSTSUBNETMASK>

-Arnim van Lieshout

-


Blogging:

Twitter:

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

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
1 Reply
avlieshout
VMware Employee
VMware Employee
Jump to solution

AFAIK vmnic0 is assigned by default to vSwitch0.

Try unlinking it first with: esxcfg-vswitch -U vmnic0 vSwitch0

I use the procedure below to delete vSwitch0 and create a service console switch named vsw-cos.

esxcfg-vswif -d vswif0

esxcfg-vswitch --del-pg='Service Console' vSwitch0

esxcfg-vswitch -d vSwitch0

esxcfg-vswitch -a vsw-cos

esxcfg-vswitch -L vmnic0 vsw-cos

esxcfg-vswitch --add-pg='Service Console' vsw-cos

esxcfg-vswif -a vswif0 -p 'Service Console' -i <ESXHOSTIP> -n <ESXHOSTSUBNETMASK>

-Arnim van Lieshout

-


Blogging:

Twitter:

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

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos