Please Read: Significant Update Planned, Migrating Forum Software This Month

See more
See less

Add server to vlan

  • Filter
  • Time
  • Show
Clear All
new posts

  • Add server to vlan

    I install two new servers but i cannot add new host in vSphere 4.0, I did not add them to a vlan during installtion. how can I add them to vlan 1 so i can add them as a host?
    Last edited by jls; 16th April 2010, 21:13.

  • #2
    Re: Add server to vlan

    You'll need to configure the vswif portgroup for vlan tagging. Do you have access to the service console of the ESX host? If so, run the following command while logged in as root at the Service Console:

    /usr/sbin/esxcfg-vswitch vSwitch0 -p "Service Console" -v 1

    vSwitch0 = the vSwitch your Service Console port group is on.
    "Service Console" = is the name of the Service Console port group vswif0 is attached to.
    -v 1 = the vlan to be tagged. You mentioned vlan 1.
    VCDX3 #34, VCDX4, VCDX5, VCAP4-DCA #14, VCAP4-DCD #35, VCAP5-DCD, VCPx4, vEXPERTx4, MCSEx3, MCSAx2, MCP, CCAx2, A+ - VMware Virtualization Evangelist
    My advice has no warranties. Follow at your own risk.