Vxlan and Linux service architectures
1. Application Scenario:
The technology of server virtualization
2. Problems solved in practice:
Physical machines running more and more MAC addresses of virtual machines, resulting in increased data, the MAC Address table of the switch to expand the speed, will overwrite the MAC address.
Only 4096 of the VLAN VALN Group is restricted, and in the banking environment, this is a common problem.
Spanning tree protocol generates a lot of multipath redundancy.
Supports remote migration of virtual machines.
The switch chain then physical server, which records the MAC address mapping tables connected to each SERVER/VM, causing flooding.
3. Schematic diagram
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/9A/E1/wKioL1lbflSxr2_fAAH_Qmx5ur4869.png "title=" QQ picture 20170704193815.png "alt=" Wkiol1lbflsxr2_faah_qmx5ur4869.png "/> three layer gateway communication will have the following three scenarios:
Vxlan Two-layer gateway Switch_4 received Vxlan message after the solution encapsulation, confirm that the Dmac in beginning text is the MAC address of the Gateway interface; will be judged, true, to the corresponding destination network segment three-layer gateway processing, and jump ②, if False case To find the interface and encapsulation information within the corresponding two-tier broadcast domain.
Vxlan three-layer gateway Switch_4 removes the inner Ethernet package, resolves the destination IP, finds ARP entries based on the destination IP, confirms Dmac, Vxlan tunnel interface and VIN, and so on. Three-tier forwarding if no Vxlan tunnel out of interface vin information If there is Vxlan tunnel interface and VIN information, jump directly to ③.
The switch_4 of the Vxlan two-layer gateway re-encapsulates the Vxlan message, where SMAC in the beginning Ethernet header is the MAC address of the Gateway interface.
Note: SMAC is a powerful also an easy-to-use and intuitive MAC address modification application software for almost any NIC conversion MAC address on the server system, regardless of whether these NIC products allow modification.
Diagrams:
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/9A/E2/wKioL1lbiImQrB35AAEvG5oUO7w089.png "title=" Schema. png "alt=" Wkiol1lbiimqrb35aaevg5ouo7w089.png "/>
Note: Work in a financial unit, have the opportunity to contact the structure, the system of learning, if there are errors, but also ask the great gods to point out, thank you, welcome to explore.
This article is from a "glass of water" blog, please be sure to keep this source http://6528161.blog.51cto.com/6518161/1944536
Vxlan and Linux service architectures