Beruflich Dokumente
Kultur Dokumente
http://kb.vmware.com/selfservice/microsites/search.do?l...
Solution
Note: ESX 4.0 Update 2 introduces a new tool that simplifies the process of creating or restoring networking in the ESX service console. For more information, see Configuring or restoring networking from the ESX service console using console-setup (1022078) (http://kb.vmware.com/kb/1022078) . To delete and recreate a virtual switch and Service Console from the command line: Note: On your system the vswif, vmnic, vSwitch numbers and network settings are different.
1. Run the following command to list the name of the vswif adapter:
esxcfg-vswif -l
1 di 4
02/11/2011 08:28
http://kb.vmware.com/selfservice/microsites/search.do?l...
6. Run the following commands to create default port groups for vSwitch:
esxcfg-vswitch -A "VM Network" vSwitch0 esxcfg-vswitch -A "Service Console" vSwitch0
8. Run the following command to verify that the settings in the network file are correct:
cat /etc/sysconfig/network NETWORKING=yes GATEWAYDEV=vswif0 HOSTNAME=host.domain.com GATEWAY=nnn.nnn.nnn.nnn
9. Run the following commands to list all of the network adapters and associate a vmnic which has a link status of up:
esxcfg-nics -l
esxcfg-vswitch -L vmnic1 vSwitch0
10. Run the following command to verify that the vmnic is associated with the vSwitch:
esxcfg-vswitch -l
11. Ping an IP address to check for network connectivity. If the ping fails, remove the previous vmnic from the vSwitch and
try another adapter that has a link status of up.
esxcfg-vswitch -U vmnic1 vSwitch0 esxcfg-vswitch -L vmnic2 vSwitch0
13. If you make any manual changes to /etc/sysconfig/network, run the following command to restart the network
service: service network restart For more information, see Configuring a VLAN on a portgroup (1003825) (http://kb.vmware.com/kb/1003825) . For information on vNetwork Distributed Switches, see Configuring vSwitch or vNetwork Distributed Switch from the
2 di 4
02/11/2011 08:28
http://kb.vmware.com/selfservice/microsites/search.do?l...
service console networking Request a Product Feature To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature (http://www.vmware.com/contact/contactus.html?department=prod_request) page. Permalink to: Recreating Service Console networking from the command line
(http://kb.vmware.com/kb/1000266)
Follow us
1 (javascript:void( rate(1,this) )) 2 (javascript:void( rate(2,this) )) 3 (javascript:void( rate(3,this) )) 4 (javascript:void( rate(4,this) )) 5 (javascript:void( rate(5,this) ))
38 Ratings
Actions Bookmark Document (javascript:addBookmark(actionBoxUtil.docURL, actionBoxUtil.docTitle);) Email Document (javascript:emailDoc(actionBoxUtil.extId, actionBoxUtil.sliceId, actionBoxUtil.docTitle,
actionBoxUtil.cpplayer, actionBoxUtil.bbid))
tweet
3 di 4
02/11/2011 08:28
http://kb.vmware.com/selfservice/microsites/search.do?l...
Products: VMware ESX Product Versions: VMware ESX 3.0.x VMware ESX 3.5.x VMware ESX 4.0.x VMware ESX 4.1.x
4 di 4
02/11/2011 08:28