CN105491178B - A kind of host network card IP address acquisition methods based on software defined network - Google Patents

A kind of host network card IP address acquisition methods based on software defined network Download PDF

Info

Publication number
CN105491178B
CN105491178B CN201510817368.1A CN201510817368A CN105491178B CN 105491178 B CN105491178 B CN 105491178B CN 201510817368 A CN201510817368 A CN 201510817368A CN 105491178 B CN105491178 B CN 105491178B
Authority
CN
China
Prior art keywords
host
address
messages
dupack
sdn controllers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510817368.1A
Other languages
Chinese (zh)
Other versions
CN105491178A (en
Inventor
廖建新
王纯
陆中豪
包剑楠
张乐剑
徐童
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201510817368.1A priority Critical patent/CN105491178B/en
Publication of CN105491178A publication Critical patent/CN105491178A/en
Application granted granted Critical
Publication of CN105491178B publication Critical patent/CN105491178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Abstract

A kind of host network card IP address acquisition methods based on software defined network, including following operative step:(1) sender's host A establishes First Contact Connections with recipient's host B;(2) host A sends duplicate answer Dupack messages to host B, includes addition address option MP_Addaddress in the message;(3) SDN controllers get other network interface card IP address of host A included in MP_Addaddress;(4) the Dupack messages received are transmitted to host B by the openflow protocol switch of host B side;(5) host B gets other network interface card IP address of host A included in MP_Addaddress.

Description

A kind of host network card IP address acquisition methods based on software defined network
Technical field
The present invention relates to a kind of host network card IP address acquisition methods based on software defined network belong to information technology neck Domain especially belongs to software defined network technical field.
Background technology
Software defined network (Software Defined Networking, SDN) is a centrally controlled network, SDN controls Multiple network nodes are uniformly controlled by device processed, can relatively easily obtain network equipment information, the control network equipment, corresponding A unified network view is presented with/client, wherein have interchanger, router, virtual machine, storage, virtual subnet and use The virtual gateway communicated between virtual subnet, user can be gone according to the network planning of oneself configuration virtual machine IP address, Configure the routing rule between subnet and subnet.The open customization of SDN and concentrate control characteristic, solve to a certain extent because The rigid problem of spy's net, imparts the ability of the subscriber customized network system and procotol, and user to a certain extent can be with According to the demand of oneself exploitation, the application to draw oneself up and hardware platform, private network can be built with independent and flexible.
MPTCP is extension of the MPTCP working groups of IETF to conventional TCP, is added to MPTCP layers, original TCP layer becomes It is subflow layers multiple, and each subflow layers correspond to one IP layers, that is, each subflow can be considered as one TCP connection.MPTCP is allowed users to establish on incoherent path and is correspondingly connected with, and on these paths with individual The mode of subflow carries out data transmission.
The advantage of both software defined network and MPTCP are combined, multi-path data transmission is provided on SDN for user As an important research direction of current network technique field, but to realize the data transmission of multipath on SDN, host is more The IP address of network interface card just needs to inform SDN controllers and Correspondent Node, how effectively to realize that this point becomes software defined network It is badly in need of the technical barrier solved in field.
Invention content
In view of this, the purpose of the present invention is inventing a kind of method, realize to the more of the host in software defined network SDN Effective acquisition of network interface card IP address, the multi-path data transmission to realize between host provide basis.In order to achieve the above object, The present invention proposes a kind of host network card IP address acquisition methods based on software defined network, and the method includes following operations Step:
(1) sender's host A establishes First Contact Connections by software defined network SDN and recipient's host B, which is It is carried out under software defined network SDN controllers control, the connection is complete using the three-way handshake mode of MPTCP agreements At;After the host A is established with host B First Contact Connections, the SDN controllers record the four-tuple of the connection, i.e.,:Source Port address, destination interface address, source IP address, purpose IP address;
(2) host A sends duplicate answer Dupack messages to host B, includes addition address option MP_ in the message Addaddress, while destination interface address is added into a preset fixed offset value;The Dupack messages and host A The flow table of access side openflow protocol switch A lose cooperation, then openflow protocol switch A passes through The Dupack messages are sent to the software defined network SDN controllers by Packet_in message;The addition The IP address of other network interface cards of host A is contained in address option MP_Addaddress;
(3) the SDN controllers described in receive the Packet_in message, parse the Dupack messages, described SDN controllers identify the specific modification of destination interface address in the Dupack messages, then the SDN controllers pair The Dupack messages are parsed, and host A included in the addition address option MP_Addaddress is got Other network interface cards IP address;
(4) the SDN controllers described in modify to the destination interface address in the Dupack messages, revert to master The original destination interface addresses machine A, then SDN controllers the modified Dupack messages are sent out by Packet_out message The access side openflow protocol switch B of host B are given, this information order openflow protocol switch B will be received The Dupack messages be transmitted to host B;
(5) host B described in receives the Dupack messages for including addition address option MP_Addaddress Afterwards, whether including that addition address option MP_Addaddress judges to the Dupack messages, adding if parsed comprising if Address option MP_Addaddress, such host B is added just to get institute in the addition address option MP_Addaddress Including host A other network interface cards IP address.
The content of the step (1) specifically includes following operation sub-step:
(11) sender's host A described in sends the SYN with MP_CAPABLE options to recipient's host B and reports The First Contact Connections between host A and host B are established in text, request;
(12) flow table of the access side openflow protocol switch A of the SYN messages and host A loses cooperation, then should The SYN messages are sent to the software defined network by openflow protocol switch A by Packet_in message SDN controllers;
(13) First Contact Connections of the SDN controllers between the host A and host B described in establish path, and to Relevant openflow protocol switch issues two-way flow table on the path;
(14) the SYN messages are sent to the host A by the SDN controllers described in by Packet_out message Access side openflow protocol switch A, then the SYN messages host B is reached according to the flow table that has issued;
(15) message (i.e. SYN+ACK messages and ACK messages) sum number shaken hands twice after between host A and host B It will all be completed on the path according to transmission;
(16) four-tuple of the First Contact Connections between the host A and host B described in SDN controllers record described in, i.e.,: Source port address, destination interface address, source IP address, purpose IP address.
The beneficial effects of the present invention are overcome existing SDN network controller cannot get network edge side with The connected host network card information of openflow protocol switch, i.e., it is to belong to same which IP address SDN controllers, which cannot get, One host, and this patent makes the host that the SDN controllers positioned at network center can be with dynamic access to network edge side With the correspondence of host network card IP address, SDN can more fully recognize the whole topology of network after getting these information Situation, to calculate the reasonable communication path between host.
Description of the drawings
Fig. 1 is a kind of flow of host network card IP address acquisition methods based on software defined network proposed by the present invention Figure.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with the accompanying drawings further Detailed description.
Referring to Fig. 1, a kind of host network card IP address acquisition methods based on software defined network proposed by the present invention are introduced, The method includes following operative steps:
(1) sender's host A establishes First Contact Connections by software defined network SDN and recipient's host B, which is It is carried out under software defined network SDN controllers control, the connection is complete using the three-way handshake mode of MPTCP agreements At;After the host A is established with host B First Contact Connections, the SDN controllers record the four-tuple of the connection, i.e.,:Source Port address, destination interface address, source IP address, purpose IP address;
(2) host A sends duplicate answer Dupack messages to host B, includes addition address option MP_ in the message Addaddress, while destination interface address is added into a preset fixed offset value, (such as:Fixed offset value is 900);The flow table of the access side openflow protocol switch A of the Dupack messages and host A loses cooperation, then should The Dupack messages are sent to the software defined network by openflow protocol switch A by Packet_in message Network SDN controllers;IP address (the example of other network interface cards of host A is contained in the addition address option MP_Addaddress Such as:We in an experiment, host A also includes that other two are thrown the net card, NIC address be respectively 10.108.127.234 with 10.108.127.245);
(3) the SDN controllers described in receive the Packet_in message, parse the Dupack messages, described SDN controllers identify the specific modification of destination interface address in the Dupack messages, then the SDN controllers pair The Dupack messages are parsed, and host A included in the addition address option MP_Addaddress is got Other network interface cards IP address;
(4) the SDN controllers described in subtract front to the destination interface address in the Dupack messages and preset Droop value (such as:Fixed offset value is 900), to revert to the original destination interface address of host A, and then SDN is controlled The access side openflow agreements that the modified Dupack messages are sent to host B by Packet_out message by device exchange The Dupack messages received are transmitted to host B by machine B, this information order openflow protocol switch B;
(5) host B described in receives the Dupack messages for including addition address option MP_Addaddress Afterwards, whether including that addition address option MP_Addaddress judges to the Dupack messages, adding if parsed comprising if Address option MP_Addaddress, such host B is added just to get institute in the addition address option MP_Addaddress Including host A other network interface cards IP address.
The content of the step (1) specifically includes following operation sub-step:
(11) sender's host A described in sends the SYN with MP_CAPABLE options to recipient's host B and reports The First Contact Connections between host A and host B are established in text, request;
(12) flow table of the access side openflow protocol switch A of the SYN messages and host A loses cooperation, then should The SYN messages are sent to the software defined network by openflow protocol switch A by Packet_in message SDN controllers;
(13) First Contact Connections of the SDN controllers between the host A and host B described in establish path (first Secondary connection is established by the three-way handshake mode of tcp, i.e. A sends syn to B, and B replys syn+ack after receiving the information, and A is last Send ack), and relevant openflow protocol switch issues two-way flow table on the path;
(14) the SYN messages are sent to the host A by the SDN controllers described in by Packet_out message Access side openflow protocol switch A, then the SYN messages host B is reached according to the flow table that has issued;
(15) message (i.e. SYN+ACK messages and ACK messages) sum number shaken hands twice after between host A and host B It will all be completed on the path according to transmission;
(16) four-tuple of the First Contact Connections between the host A and host B described in SDN controllers record described in, i.e.,: Source port address, destination interface address, source IP address, purpose IP address.
Inventor is tested the method for the present invention on try net, by largely testing and emulating, obtains Satisfied experimental result, it was demonstrated that the method for the present invention is feasible and very effective.

Claims (2)

1. a kind of host network card IP address acquisition methods based on software defined network, it is characterised in that:The method includes under Row operating procedure:
(1) sender's host A establishes First Contact Connections by software defined network SDN and recipient's host B, which is in institute The lower progress of software defined network SDN controllers control is stated, which is completed using the three-way handshake mode of MPTCP agreements;Institute After the host A stated is established with host B First Contact Connections, the SDN controllers record the four-tuple of the connection, i.e.,:Source port Address, destination interface address, source IP address, purpose IP address;
(2) host A sends duplicate answer Dupack messages to host B, includes addition address option MP_ in the message Addaddress, while destination interface address is added into a preset fixed offset value;The Dupack messages and host A The flow table of access side openflow protocol switch A lose cooperation, then openflow protocol switch A passes through The Dupack messages are sent to the software defined network SDN controllers by Packet_in message;The addition The IP address of other network interface cards of host A is contained in address option MP_Addaddress;
(3) the SDN controllers described in receive the Packet_in message, parse the Dupack messages, SDN controls Device processed identifies the specific modification of destination interface address in the Dupack messages, and then the SDN controllers are to described Dupack messages parsed, get its of host A included in the addition address option MP_Addaddress The IP address of its network interface card;
(4) the SDN controllers described in modify to the destination interface address in the Dupack messages, revert to host A Original destination interface address, then SDN controllers the modified Dupack messages are sent by Packet_out message To the access side openflow protocol switch B of host B, this information order openflow protocol switch B will be received The Dupack messages are transmitted to host B;
(5) it is right after the host B described in receives the Dupack messages comprising addition address option MP_Addaddress Whether the Dupack messages are judged comprising addition address option MP_Addaddress, if with parsing addition comprising if Location option MP_Addaddress, such host B are just got included in the addition address option MP_Addaddress Host A other network interface cards IP address.
2. a kind of host network card IP address acquisition methods based on software defined network according to claim 1, feature It is:The content of the step (1) specifically includes following operation sub-step:
(11) sender's host A described in sends the SYN messages with MP_CAPABLE options to recipient's host B, The First Contact Connections between host A and host B are established in request;
(12) flow table of the access side openflow protocol switch A of the SYN messages and host A loses cooperation, then should The SYN messages are sent to the software defined network by openflow protocol switch A by Packet_in message SDN controllers;
(13) First Contact Connections of the SDN controllers between the host A and host B described in establish path, the roads Bing Xianggai Relevant openflow protocol switch issues two-way flow table on diameter;
(14) the SYN messages are sent to connecing for the host A by the SDN controllers described in by Packet_out message Enter side openflow protocol switch A, then the SYN messages reach the host B according to the flow table issued;
(15) message shaken hands twice after between host A and host B, i.e. SYN+ACK messages and ACK messages are passed with data It is defeated all to complete on the path;
(16) four-tuple of the First Contact Connections between the host A and host B described in SDN controllers record described in, i.e.,:Source Port address, destination interface address, source IP address, purpose IP address.
CN201510817368.1A 2015-11-23 2015-11-23 A kind of host network card IP address acquisition methods based on software defined network Active CN105491178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510817368.1A CN105491178B (en) 2015-11-23 2015-11-23 A kind of host network card IP address acquisition methods based on software defined network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510817368.1A CN105491178B (en) 2015-11-23 2015-11-23 A kind of host network card IP address acquisition methods based on software defined network

Publications (2)

Publication Number Publication Date
CN105491178A CN105491178A (en) 2016-04-13
CN105491178B true CN105491178B (en) 2018-10-09

Family

ID=55677886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510817368.1A Active CN105491178B (en) 2015-11-23 2015-11-23 A kind of host network card IP address acquisition methods based on software defined network

Country Status (1)

Country Link
CN (1) CN105491178B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10091097B2 (en) * 2016-10-27 2018-10-02 Nanning Fugui Precision Industrial Co., Ltd. Transmission path optimization method and software-defined networking controller using the method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209225A (en) * 2013-04-03 2013-07-17 北京邮电大学 Software defined network (SDN) broadcast processing method based on cycle trigger agent
CN103248724A (en) * 2013-04-19 2013-08-14 中国(南京)未来网络产业创新中心 SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
CN103259732A (en) * 2013-04-03 2013-08-21 北京邮电大学 SDN broadcast processing method triggering agent based on ARP event
CN103269278A (en) * 2013-04-19 2013-08-28 中国(南京)未来网络产业创新中心 Terminal equipment real-time connecting and disconnecting sensing method based on SDN

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9351338B2 (en) * 2013-11-14 2016-05-24 Netgear, Inc. Multi radio wireless LAN networks
CN104980368A (en) * 2014-04-03 2015-10-14 杭州华三通信技术有限公司 Bandwidth guarantee method and apparatus in software defined network (SDN)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209225A (en) * 2013-04-03 2013-07-17 北京邮电大学 Software defined network (SDN) broadcast processing method based on cycle trigger agent
CN103259732A (en) * 2013-04-03 2013-08-21 北京邮电大学 SDN broadcast processing method triggering agent based on ARP event
CN103248724A (en) * 2013-04-19 2013-08-14 中国(南京)未来网络产业创新中心 SDN (Software-Defined Networking) controller-based DHCP (Dynamic Host Configuration Protocol) broadcast processing method
CN103269278A (en) * 2013-04-19 2013-08-28 中国(南京)未来网络产业创新中心 Terminal equipment real-time connecting and disconnecting sensing method based on SDN

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于RSFSA的MPTCP数据调度算法的研究";董贝贝;《中国优秀硕士学位论文全文数据库信息科技辑》;20150415;第三章 *

Also Published As

Publication number Publication date
CN105491178A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105337857B (en) A kind of multi-path transmission method based on software defined network
EP3198822B1 (en) Computer network packet flow controller
CN104283980B (en) A kind of address resolution protocol pickup method and device
CN105009544B (en) Tunnel processing method, switching equipment and the control device of message
CN104243270B (en) A kind of method and apparatus for establishing tunnel
CN103747499B (en) For for the wired and public control protocol of radio node method and apparatus
CN104468462B (en) The message forwarding method and equipment of the distributed virtual switch system
CN104468368B (en) Configure the method and device of bgp neighbor
EP2579544A1 (en) Methods and apparatus for a scalable network with efficient link utilization
CN105357046A (en) Network information detection method for software defined networking (SDN)
WO2016094037A1 (en) Stateful load balancing in a stateless network
EP3066784A1 (en) A method and system of supporting operator commands in link aggregation group
CN104579894B (en) The IGMP Snooping implementation methods and device of the distributed virtual switch system
CN105874756B (en) The transmission method and equipment of control signaling
CN104852855B (en) Jamming control method, device and equipment
Taleb et al. Follow-me cloud: An OpenFlow-based implementation
CN104660527A (en) Service switch, virtual local area network (VLAN)-spanning point-to-point protocol over Ethernet (PPPoE) network system and VLAN-spanning PPPoE network method
CN108512669A (en) It is used for transmission the method and system of broadcast data
CN108141743A (en) The method of improved disposition, telecommunication network, user equipment, system, program and the computer program product exchanged at least one communication between telecommunication network and at least one user equipment
CN104735101B (en) Shared processing, sharing method and the device of Internet resources, system
CN108259302A (en) A kind of centralization gateway networking implementation method and device
CN105592490B (en) A kind of route switching method and equipment
CN102447703B (en) A kind of heat backup method and system, CGN equipment
CN107623636A (en) A kind of user isolation method and interchanger
CN104734929B (en) The method and device of routing diffusion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant