PART08-NSX Series for ESXi host configuration Vxlan

Source: Internet
Author: User

After completing the environment preparation for NSX, I came to the configuration of the virtual extensible LAN (VXLAN) section, one of the most important technologies for NSX to achieve the sophomore layer. Vxlan is an open technology standard that allows you to create a logical network for virtual machines of different networks. Can be achieved across Layer 3 Layer 2 network, which is commonly known as the sophomore network;



VXLAN The transport network is built by creating a Vxlan dedicated Vmkernel interface on each ESXi host. When the virtual machine is not on the current ESXi host but needs to communicate, this interface will be used as the encapsulated segments Packets. Encapsulation through the Vmkernel interface does not cause the transfer process to require the user to do something, and the encapsulation process is transparent to the user. They can still be in the same segment regardless of whether or not the two transfer objects need to cross a multilayer L3 network. This is the wonderful place of the 2 stories;



1 , configuration Vxlan is also required in the vsphere Web Client Networking & Security Installation Host preparation Configure, which is configured in this window. When you follow the steps here to configure the Vxlan window, you can see the interface shown in Figure 01, in this interface, click the Vxlan option Configure, will activate the Configuration Vxlan Configuration Wizard, and this configuration process, A new Vmkernel interface is created on each host in the cluster, which is used for Vxlan tunnel Endpoint (VTEP) use:

Figure 01

The working contents of the Vtep Vmkernel interface are as follows:

· switch– It establishes a communication base relationship with the ESXi host Virtual Switch by selecting a VDS;

· vlan– need to set the VLAN ID for the Vxlan Vmkernel interface, if you do not want to set, can be 0, which means that all traffic can pass;

· mtu– This parameter defaults to 1600, the standard MTU value is generally 1500, and this is set to 1600 because: the Vxlan package will have a header increase. Usually, the increase in the number of Baotou will be more than 50, coupled with the possible physical link of the Baotou increase, so, the MTU value is recommended to be more than 1600; (Note: If you do not know Vxlan the number of Baotou and want to know the specific situation, please click here, go to virtual person website to view detailed instructions , the general is to increase Ethernet header, IP header, UDP header, VXLAN header);

· VMK ip– need an IP address, where the IP can be obtained via IP pool or DHCP, it is recommended to set by IP pool;

2 , follow the 1th step of the instructions click Configure, will come to the window shown in Figure 02, the relevant content in the window has been explained in the 1th step, according to fill:

Figure 02



3 , because the choice is IP pool way for Vmkernel set IP address, so, need to add an IP pool, click the Vmknic IP addressing option in Figure 02, the new IP pool ... option will come to the Add IP Pool window shown in Figure 03, where the options that need to be set include:

· name– The name of this IP pool, it is recommended to enter according to the purpose, such as the Vxlan IP pool in this article;

· gateway– This IP pool is assigned to the default gateway address of the vmkernel inside;

· Prefix length– subnet size;

· Primary dns–dns Server message;

· DNS suffix–dns query suffixes, such as the vmanager.cn in this example;

· Static IP pool– an address range that represents an IP address segment that can be assigned to Vxlan Vmkernel in the format: x.x.x.x-x.x.x.z, note the format;

Figure 03



3 , since the study of the Vxlan environment usually involves spanning 3 layers, a new cluster is also needed so that you can continue the next sophomore experiment, which is why in this series of documents, the virtual person advises you to prepare 2 cluster. In addition to this factor, there are 2 things in the Configure Vxlannetworking window that are not introduced in the 1th step of this article:

· Vmknic Teaming policy– This option represents the Teaming Policy selection for the upstream physical network card for this Vtep Port group. It supports failover, also supports Staticetherchannel and so on, so this column can be selected according to the required settings;

· vtep– in the 1th step has introduced the use of VTEP, and its settings, need to be set in this window, however, in the fail over and static EtherChannel mode, it is not allowed to configure him;

So, this step, repeat the previous 1–2 action, in addition to create a vxlan;



4 , after completing the configuration of the Vxlan, go to the host preparation inside again, you can see cluster's Vxlan state becomes the enabled state, 04 shows:

Figure 04



5 at this point, click Inventory ESXi Host Manage Networking VMkernel adapters to the window shown in Figure 05, You can see that a vmkernel named Vxw-vmknicpg-dvs-xxxxxx was created successfully, and there is an IP address from the IP pool planned in the 2nd step, and you can see that the display in the TCP/IP stack is: Vxlan, Each host in the cluster can be seen, but the IP is different:

Figure 05



6 , the above message can also be shown in Figure 06 Networking &security Installation Logical Network Preparation VXLAN Transport the Vmknic IP In the addressing option, you see:

Figure 06



How many hosts you have, how many hosts can successfully configure the Vxlan option in the previous way. Further details will be presented in the following sections.



To be Continued ...

For details, please download the Download center of the blogger!

National day will be to, hope everyone happy holiday ~

Part08-(graphics) NSX series for ESXi host configuration Vxlan

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.