IP address acquisition method and VTEP node

A technology of IP address and acquisition method, applied in the field of virtual extended local area network, can solve the problem that the client cannot apply for the IP address, etc.

Active Publication Date: 2021-02-26
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] To this end, the present invention provides a method for obtaining an IP address and a VTEP node to solve the problem in the prior art that the client connected to leaf1 cannot apply for an IP address due to the fact that the interface addresses of the same virtual switching interface on leaf1 and leaf2 are the same. question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IP address acquisition method and VTEP node
  • IP address acquisition method and VTEP node
  • IP address acquisition method and VTEP node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0053] Embodiments of the present invention provide a method for obtaining an IP address, which is applied to VTEP (VXLAN Tunnel End Point, VXLAN Tunnel End Point) nodes that are mutually backward compatible with MP-BGP peers, such as figure 1 As shown, the following steps may be included:

[0054] Step 11, when receiving the DHCP offer message carrying the IP address and the first physical MAC address sent by the DHCP server through the router, obtain the first MAC address carried therein.

[0055] Wherein, the IP address is allocated by the DHCP server based on the DHCP discover message sent by the virtual machine connected to the VTEP node in the MP-BGP peer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an IP address acquisition method, which is applied to VTEP nodes which are MPBGP peers. The method is characterized in that the method the following steps: acquiring a first MAC address carried by a DHCP server when receiving a DHCP offer message which is sent by the DHCP server through a router and carries an IP address and the first MAC address, wherein the IP address isallocated by the DHCP server based on a DHCP discover message sent by a virtual machine connected with a VTEP node in the MPBGP peer; if the first MAC address is not queried in the local MAC address table, acquiring routing hops from other VTEP nodes which are MPBGP peers to each other with the VTEP node; and modifying a TTL value in the DHCP offer message according to the routing hop count, and forwarding the modified DHCP offer message to other VTEP nodes in the MPBGP peer, so that the VTEP node connected with the virtual machine forwards the DHCP offer message to the virtual machine. It canbe ensured that when the router sends the DHCP offer message to other VTEP nodes, the virtual machine can successfully obtain the IP address from the DHCP server. The invention also discloses a VTEPnode.

Description

technical field [0001] The invention relates to the technical field of virtual extended local area network, in particular to an IP address acquisition method and a VTEP node. Background technique [0002] In the VXLAN (Virtual eXtensible LAN, Virtual Extended Local Area Network) network, for the Ethernet Virtual Private Network (Ethernet Virtual Private Network, EVPN) networking scenario, the leaf nodes (leaf) 1 and leaf 2 are distributed gateways, and the spine nodes (spine ) is a layer-3 gateway, leaf1, leaf2 and spine are connected in pairs, and the connection between leaf1 and leaf2 is a border gateway protocol (Border Gateway Protocol, BGP) neighbor connection. The spine is connected to the Dynamic Host Configuration Protocol (DHCP) server, the client is connected to leaf1 or leaf2, and leaf1 or leaf2 can be used as a DHCP relay. Taking leaf1 as an example, when a client attached to leaf1 applies for an Internet Protocol (IP) address, it can send a DHCP Discover messag...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12H04L12/46
CPCH04L12/4641H04L61/5014H04L61/5038H04L61/5046
Inventor 张余
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products