Setting up network connectivity using VMware vsphere Standard Switches

Source: Internet
Author: User
Tags switches

Each component of the standard switch architecture is configured at the host level. Virtual environments provide network connectivity elements that are similar to physical environments. Similar to physical machines, each virtual machine has one or more virtual network adapters or virtual NICs. The operating system and applications communicate with the virtual network card through standard device drivers or VMware-optimized device drivers, and the virtual network card is like a physical network card. For the external environment, the virtual network card has its own MAC address and one or more IP addresses, as well as the physical network card, it can also be a standard Ethernet protocol to respond accurately.

The vsphere standard switch simulates a physical Ethernet switch. The default number of logical ports for standard switches is 120. Each port can connect to a network adapter for a virtual machine. Each uplink adapter that is associated with a standard switch uses one port. Each logical port on a standard switch is a member of a single port group, and one or more port groups can be assigned to each standard switch.

(i) Create a virtual machine network

You can select a host in the Inventory pane. Click the Configuration tab and network. We can see the network settings on the ESXi server. After the ESXi system is installed, a switch is automatically created using the first NIC, and 2 port groups are created, one is the virtual machine communication port Group, and the other is the control communication port that manages ESXi.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/A4/wKioL1RWCfSyhRoFAAUDq5abGVs262.jpg "title=" Qq20141101191830.png "alt=" Wkiol1rwcfsyhrofaaudq5abgvs262.jpg "/>

The physical NIC is the first NIC Vmnic0 that uses the server by default, and the vSwitch0 that you see with this network is the default switch. The black part is the virtual machine switch, the right is the physical network, the left is the upstream line virtual machine network,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/A5/wKiom1RWCYiDkWEOAAEzaOhoULE061.jpg "title=" Qq20141102183735.png "alt=" Wkiom1rwcyidkweoaaezaohoule061.jpg "/>

Next, create a virtual machine port group on VSwitch0. On the right side of the standard switch, click the Properties button, and in the pop-up Properties window, you can see the basic information of the virtual switch,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/A5/wKiom1RWCxTS8EwoAAH61ncZvKY078.jpg "title=" Qq20141102184112.png "alt=" wkiom1rwcxts8ewoaah61nczvky078.jpg "/>" On the Ports tab, click the "Add" button in the lower left corner of the window to select the virtual machine in the popup dialog box. Add a tagged network to handle virtual machine network traffic, and then click the Next button. The Vmkernel network interface provides network connectivity for hosts and handles VMware vMotion, IP storage, and fault tolerance. In the later chapters you will talk about the Vmkernel network, where you choose to add a virtual machine network,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/A5/wKiom1RWDBuQlKCoAAGKXMI3Duk148.jpg "title=" Qq20141102184142.png "alt=" wkiom1rwdbuqlkcoaagkxmi3duk148.jpg "/> Enter the network label and VLAN ID for the virtual network port group. Here the VLAN ID is from 1 to 4094, which can be divided into different VLANs. As with the physical switch, if the virtual machine is in a different VLAN, the virtual machines in different VLANs are not able to communicate, although they all pass in and out of the same NIC. If you enter 0 or leave this option blank, the port group sees only unmarked (non-VLAN) traffic. If you enter 4095, the port group detects traffic on any VLAN, and the VLAN tag remains intact.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/A4/wKioL1RWDaeSpQOyAAHkp9D4RV0850.jpg "title=" Qq20141102184205.png "alt=" wkiol1rwdaespqoyaahkp9d4rv0850.jpg "/> Determine if the switch is configured correctly, click the Finish button,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/A5/wKiom1RWDW_ww5NxAAG2pucbFes195.jpg "title=" Qq20141102184234.png "alt=" wkiom1rwdw_ww5nxaag2pucbfes195.jpg "/> When you create a virtual network, create a virtual machine again, or modify the virtual machine's network settings, you can see the VM that was created Networks 02 Network Port Group, you can set up the corresponding virtual machine communication network,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/A5/wKiom1RWDg6gsk5VAAIUUMdfzu0645.jpg "title=" Qq20141102185701.png "alt=" Wkiom1rwdg6gsk5vaaiuumdfzu0645.jpg "/>

To add a physical network card for VSwitch0, you must first determine that there are multiple physical network cards available on the ESXi server, and that the physical network card to be added can be recognized by the system under ESXi so that we can add a new physical NIC to Vswitch0. In standard switch VSwitch0, click the Properties button in the upper-right

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/A4/wKioL1RWD46wXDuSAAEplOW7IZA265.jpg "title=" Qq20141102190148.png "alt=" wkiol1rwd46wxdusaaeplow7iza265.jpg "/> In the VSwitch0 Properties dialog box, select the" Network Adapters "tab, You can see the information of the physical network card under this tab, there are currently only 1 physical network cards. Click the Add button at the bottom left of the Properties window,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/A4/wKioL1RWEJqBAeYcAAHx7OEGWhc776.jpg "title=" Qq20141102190436.png "alt=" Wkiol1rwejqbaeycaahx7oegwhc776.jpg "/>

Select one or more adapters in the list and click the Next button, here we see the status of the NIC being assigned,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/A5/wKioL1RWGCTThzUvAAJjxmQG0P0075.jpg "title=" Qq20141102192052.png "alt=" Wkiol1rwgctthzuvaajjxmqg0p0075.jpg "/>

We are here to add a network card for vswitch, if you want to add a network card for Management network, select Management Network, add, Management network can be accessed through vswitch, It can also be accessed via a separate network card. To reorder the NIC to a different category, select the network card you want to move and click Move Up or Move down. The network card in the active adapter will work at the same time, and the standby adapter will only work if the active adapter fails. When you are set up, click the Next button,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/A5/wKiom1RWGV2hcbgEAAIFI98O5Ok157.jpg "title=" Qq20141102194512.png "alt=" Wkiom1rwgv2hcbgeaaifi98o5ok157.jpg "/>

To view the information on the adapter summary interface, click the Back button to change the relevant entry, and then click the Finish button

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/A5/wKioL1RWGvLj4QDmAAD86UAZPNc744.jpg "title=" Qq20141102194816.png "alt=" Wkiol1rwgvlj4qdmaad86uazpnc744.jpg "/>

The list of network adapters appears again, showing the adapters that are now declared by the standard switch. Click the Close button to exit the dialog box,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/A5/wKioL1RWG0ry2LvcAAHkqaD72WU658.jpg "title=" Qq20141102195020.png "alt=" wkiol1rwg0ry2lvcaahkqad72wu658.jpg "/> Add nic for vSwitch0 after you, Management network, VM The network port group and the Vmnetwork 2 port group can communicate simultaneously through the VMNIC0 and VMNIC1 of the standard switch,

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/A5/wKiom1RWG_XwCxKZAAELIQHCn8U451.jpg "title=" Qq20141102195618.png "alt=" Wkiom1rwg_xwcxkzaaeliqhcn8u451.jpg "/>

This article is from the "Zhong blog" blog, make sure to keep this source http://capfzgs.blog.51cto.com/7729146/1571411

Setting up network connectivity using VMware vsphere Standard Switches

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.