VMware Cloud Community
tdubb123
Expert
Expert

esxcfg-vmknic dvs

how do I change the ip of a vmknic which is in a dvs switch?

I tried

esxcfg-vmknic -a -i x.x.x.x -n x.x.x.x -s dvSwitch-xxx -v dvPortGroup-xxx

but does not work

0 Kudos
2 Replies
a_p_
Leadership
Leadership

Try

esxcfg-vmknic -a -i x.x.x.x -n x.x.x.x -s 'dvSwitch-xxx' -v Port-ID

André

0 Kudos
tdubb123
Expert
Expert

it says

Error performing operation: A vmkernel nic for the connection point already exists

0 Kudos