Movatterモバイル変換


[0]ホーム

URL:


CN108206783A - Address configuration method and its device in a kind of software defined network system - Google Patents

Address configuration method and its device in a kind of software defined network system
Download PDF

Info

Publication number
CN108206783A
CN108206783ACN201611164953.7ACN201611164953ACN108206783ACN 108206783 ACN108206783 ACN 108206783ACN 201611164953 ACN201611164953 ACN 201611164953ACN 108206783 ACN108206783 ACN 108206783A
Authority
CN
China
Prior art keywords
message
network
route
access node
software defined
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.)
Granted
Application number
CN201611164953.7A
Other languages
Chinese (zh)
Other versions
CN108206783B (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.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Nokia Shanghai Bell Co Ltd
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 Nokia Shanghai Bell Co LtdfiledCriticalNokia Shanghai Bell Co Ltd
Priority to CN201611164953.7ApriorityCriticalpatent/CN108206783B/en
Priority to PCT/IB2017/001632prioritypatent/WO2018109550A1/en
Publication of CN108206783ApublicationCriticalpatent/CN108206783A/en
Application grantedgrantedCritical
Publication of CN108206783BpublicationCriticalpatent/CN108206783B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The present invention provides the access network system and its address configuration method of a kind of software definition, wherein, one or more access node receptions come from the route request information of user network, and the route request information is packaged into OpenFlow message and is forwarded;Software defined network controller receives OpenFlow message from the access node, identifies route request information therein and distributes corresponding network prefix, builds corresponding advertising of route message and be packaged into OpenFlow message and give the access node;The access node is additionally operable to be transmitted to user network from the software defined network controller reception advertising of route message.IPv6 technologies can effectively be combined the address need for meeting Future Access Network by the present invention with software defined network technology, realize control and forward separating, the various Internet of Things value-added services of rapid deployment etc..

Description

Translated fromChinese
一种软件定义网络系统中地址配置方法及其装置Address configuration method and device in a software-defined network system

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种软件定义网络系统中的地址配置方法、设备及系统。The present invention relates to the field of communication technology, in particular to an address configuration method, device and system in a software-defined network system.

背景技术Background technique

目前,网络正迈入一个全新的物联网时代,数十亿基于嵌入式技术的设备实现了无缝互连、被管理、并且借助网络安全地进行交互工作。原有的基于IPv4的地址管理方案最多有2的32次方的设备可以联到Internet上,远远不能满足未来需求。为了扩大地址空间,拟通过IPv6重新定义地址空间。IPv6采用128位地址长度,几乎可以不受限制地提供地址。At present, the network is entering a new era of the Internet of Things, where billions of devices based on embedded technology are seamlessly interconnected, managed, and interact with each other securely through the network. The original IPv4-based address management solution allows devices to the power of 2 at most to be connected to the Internet, which is far from meeting future needs. In order to expand the address space, it is planned to redefine the address space through IPv6. IPv6 adopts 128-bit address length, which can provide almost unlimited addresses.

另外一方面,SDN(软件定义网络)网络,SDN网络是一种新型网络创新架构,是网络虚拟化的一种实现方式,其核心技术通过将网络设备控制面与数据面分离开来,从而实现了网络流量的灵活控制,使网络作为管道变得更加智能。数据面只负责单纯的数据转发,而控制面采用集中控制器,负责对不同业务逻辑、转发方式进行控制,控制平面与数据面之间提供开放可编程的接口,目前主流的协议为Openflow协议。On the other hand, SDN (Software Defined Network) network, SDN network is a new type of network innovation architecture and a way to realize network virtualization. Its core technology separates the control plane and data plane of network equipment to realize Flexible control of network traffic, making the network more intelligent as a pipeline. The data plane is only responsible for simple data forwarding, while the control plane uses a centralized controller to control different business logic and forwarding methods. An open and programmable interface is provided between the control plane and the data plane. The current mainstream protocol is the Openflow protocol.

对于IPv6地址管理方案,地址自动配置是一个非常重要的技术实现,如何在将来的SDN网络架构中有效地实现IPv6无状态地址自动配置是一个急需要解决的问题。For the IPv6 address management solution, address auto-configuration is a very important technical realization. How to effectively implement IPv6 stateless address auto-configuration in the future SDN network architecture is an urgent problem to be solved.

发明内容Contents of the invention

为了至少部分地解决以上以及其他潜在问题,本公开的实施例提出了一种软件定义网络系统中的无状态地址配置技术方案。In order to at least partly solve the above and other potential problems, embodiments of the present disclosure propose a technical solution for stateless address configuration in a software-defined network system.

本申请的一个实施例提供了一种软件定义的接入网络系统,包括:一个或多个接入节点,用于接收来自于用户网络的路由请求消息,将所述路由请求消息封装成-OpenFlow消息进行转发;软件定义网络控制器,用于从所述接入节点接收OpenFlow消息,识别其中的路由请求消息并分配相应的网络前缀,构建相应的路由通告消息并封装成OpenFlow消息送给所述接入节点;其中所述接入节点还用于从所述软件定义网络控制器接收所述路由通告消息转发给用户网络。An embodiment of the present application provides a software-defined access network system, including: one or more access nodes, configured to receive a routing request message from a user network, and encapsulate the routing request message into an OpenFlow The message is forwarded; the software-defined network controller is used to receive the OpenFlow message from the access node, identify the routing request message and assign the corresponding network prefix, construct the corresponding routing notification message and encapsulate it into an OpenFlow message and send it to the An access node; wherein the access node is further configured to receive the route advertisement message from the software-defined network controller and forward it to the user network.

特别的,前述接入节点将路由请求消息封装成OpenFlow消息时,进一步包含所述路由请求消息对应的用户网络标识。Specifically, when the aforementioned access node encapsulates the routing request message into an OpenFlow message, it further includes the user network identifier corresponding to the routing request message.

特别的,前述接入节点封装路由请求消息的OpenFlow消息为Packet-In消息。Specifically, the OpenFlow message in which the aforementioned access node encapsulates the routing request message is a Packet-In message.

特别的,前述软件定义网络控制器根据所接收的OpenFlow消息中的用户网络标识分配相应的网络前缀。Specifically, the aforementioned software-defined network controller allocates a corresponding network prefix according to the user network identifier in the received OpenFlow message.

特别的,前述软件定义网络控制器封装路由通告消息的OpenFlow消息为Packet-Out消息.In particular, the aforementioned software-defined network controller encapsulates the OpenFlow message of the route notification message as a Packet-Out message.

本申请的一个实施例提供了一种用于对软件定义网络进行无状态地址配置的方法,由一个或多个接入节点从用户网络接收路由请求消息,将所述路由请求消息封装成OpenFlow消息进行转发给接入网络的软件定义网络控制器;所述软件定义网络控制器接收OpenFlow消息,识别其中的路由请求消息并分配相应的网络前缀,构建相应的路由通告消息并封装成OpenFlow消息送给所述接入节点;其中所述接入节点进一步从所述软件定义网络控制器接收所述路由通告消息转发给用户网络。An embodiment of the present application provides a method for performing stateless address configuration on a software-defined network, wherein one or more access nodes receive routing request messages from user networks, and encapsulate the routing request messages into OpenFlow messages Forwarding to the software-defined network controller of the access network; the software-defined network controller receives the OpenFlow message, identifies the routing request message and distributes the corresponding network prefix, constructs the corresponding routing notification message and encapsulates it into an OpenFlow message and sends it to The access node; wherein the access node further receives the route advertisement message from the software-defined network controller and forwards it to the user network.

特别的,前述接入节点将路由请求消息封装成OpenFlow消息时,进一步包含所述路由请求消息对应的用户网络标识。Specifically, when the aforementioned access node encapsulates the routing request message into an OpenFlow message, it further includes the user network identifier corresponding to the routing request message.

特别的,前述接入节点封装路由请求消息的OpenFlow消息为Packet-In消息。Specifically, the OpenFlow message in which the aforementioned access node encapsulates the routing request message is a Packet-In message.

特别的,前述软件定义网络控制器根据所接收的OpenFlow消息中的用户网络标识分配相应的网络前缀。Specifically, the aforementioned software-defined network controller allocates a corresponding network prefix according to the user network identifier in the received OpenFlow message.

特别的,前述软件定义网络控制器封装路由通告消息的OpenFlow消息为Packet-Out消息。In particular, the aforementioned software-defined network controller encapsulates the OpenFlow message of the route notification message as a Packet-Out message.

本申请的一个实施例提供了一种用于在接入节点中辅助对软件定义网络进行无状态地址配置的方法,它接收来自用户网络的路由请求消息,将所述路由请求消息封装成OpenFlow消息发送给软件定义网络控制器;从所述软件定义网络控制器接收包含路由通告消息的OpenFlow消息,构造路由通告消息转发给用户网络。An embodiment of the present application provides a method for assisting in stateless address configuration of a software-defined network in an access node, which receives a routing request message from a user network, and encapsulates the routing request message into an OpenFlow message Send to a software-defined network controller; receive an OpenFlo w message containing a route notification message from the software-defined network controller, construct a route notification message and forward it to the user network.

特别的,所述接入节点将路由请求消息封装成OpenFlow消息时,进一步包含所述路由请求消息对应的用户网络标识。Specifically, when the access node encapsulates the routing request message into an OpenFlow message, it further includes the user network identifier corresponding to the routing request message.

特别的,所述接入节点封装路由请求消息的OpenFlow消息为Packet-In消息Specifically, the OpenFlow message of the access node encapsulating the routing request message is a Packet-In message

本申请的一个实施例还提供了一种用于执行上述任一方法的接入节点。An embodiment of the present application also provides an access node for performing any one of the above methods.

本申请的一个实施例提供了一种用于在软件定义网络控制器中对接入网进行无状态地址配置的方法,它从所述接入网中的一个或多个接入节点接收OpenFlow消息,识别其中的路由请求消息并分配相应的网络前缀,构建相应的路由通告消息并封装成OpenFlow消息送给所述接入节点。One embodiment of the present application provides a method for stateless address configuration of an access network in a software-defined network controller, which receives OpenFlow messages from one or more access nodes in the access network , identifying the route request message and assigning a corresponding network prefix, constructing a corresponding route advertisement message and encapsulating it into an OpenFlow message and sending it to the access node.

特别的,所述软件定义网络控制器根据所接收的OpenFlow消息中的用户网络标识分配相应的网络前缀。Specifically, the software-defined network controller allocates a corresponding network prefix according to the user network identifier in the received OpenFlow message.

特别的,所述软件定义网络控制器封装路由通告消息的OpenFlow消息为Packet-Out消息。Specifically, the software-defined network controller encapsulates the OpenFlow message of the route notification message as a Packet-Out message.

本申请的一个实施例还提供了一种实现上述任一方法的软件定义网络控制器。An embodiment of the present application also provides a software-defined network controller for realizing any one of the above methods.

采用本申请实施例所提供的无状态地址配置技术方案,可以有效地将IPv6技术与SDN技术结合起来满足未来接入网的需求(大量的寻址空间以及快速的业务部署),实现控制与转发分离、快速部署各种新应用例如各种物联网增值业务等。Adopting the stateless address configuration technical solution provided by the embodiment of the present application can effectively combine IPv6 technology and SDN technology to meet the needs of future access networks (a large amount of addressing space and rapid service deployment), and realize control and forwarding Separation and rapid deployment of various new applications such as various IoT value-added services, etc.

附图说明Description of drawings

通过以下参考下列附图所给出的本公开的具体实施方式的描述之后,将更好地理解本公开,并且本公开的其他目的、细节、特点和优点将变得更加显而易见。在附图中:The present disclosure will be better understood and other objects, details, features and advantages of the present disclosure will become more apparent through the following description of specific embodiments of the present disclosure given with reference to the following drawings. In the attached picture:

图1示出了常规接入网络系统结构示意图;FIG. 1 shows a schematic structural diagram of a conventional access network system;

图2示出了常规接入网络系统下的地址配置流程图;Figure 2 shows a flow chart of address configuration under a conventional access network system;

图3示出了根据本公开的一个实施例的SDN接入网络系统结构示意图;FIG. 3 shows a schematic structural diagram of an SDN access network system according to an embodiment of the present disclosure;

图4示出了根据本公开的一个实施例的SDN接入网络系统中无状态地址自动配置流程图例;FIG. 4 shows an example of a flow chart of stateless address automatic configuration in an SDN access network system according to an embodiment of the present disclosure;

图5示出了根据本公开的IGMPv6报文格式实例;以及FIG. 5 shows an example of an IGMPv6 message format according to the present disclosure; and

图6示出了本申请一个实施例的Packet-In消息。Fig. 6 shows a Packet-In message of an embodiment of the present application.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例实施方式。虽然附图中显示了本公开的某些示例实施方式,然而应该理解,可以以各种形式实现本公开而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本公开更加透彻和完整,并且能够将本公开的范围完整的传达给本领域的技术人员。Example embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain example embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

图1示出了常规接入网络系统结构,图例中用户网络中的网络设备可以直接或者通过各种不同方式,例如光配线网络(0DN)、xDSL、PON网络、点到点光纤链路、或WiFi无线链路等接入到接入节点AN,接入网络系统中的宽带网络网关BNG作为一个边界路由器,负责接入网络系统中设备地址配置管理,通过用户主机和宽带网络网关BNG之间的路由器请求RS和路由器通告RA报文,用户主机拥有一个全球单播地址。Figure 1 shows the structure of a conventional access network system. In the illustration, the network equipment in the user network can be connected directly or through various methods, such as optical distribution network (ODN), xDSL, PON network, point-to-point optical fiber link, Or WiFi wireless links are connected to the access node AN, and the broadband network gateway BNG in the access network system acts as a border router, responsible for the device address configuration management in the access network system, through the connection between the user host and the broadband network gateway BNG The router requests RS and router advertises RA messages, and the user host has a global unicast address.

通常,对于一个IPv6无状态地址自动配置过程包含两个阶段:链路本地地址的配置和全球单播地址的配置。当用户网络中一个主机设备的网络接口启用时,主机设备会首先根据本地前缀FE80::/64和EUI-64接口标识符,为该接口生成一个链路本地地址,如果在后续的重复地址冲突检查(DAD)中发生地址冲突,则必须对该接口手动配置本地链路地址,否则该接口将不可用。结合图2所示意常规接入网络系统下的地址配置流程图,用户网络中的主机设备上全球单播地址的配置步骤如下:①主机设备在配置好链路本地地址后,发送路由器请求RS报文,请求路由器的前缀信息。②BNG收到路由器通告RS报文后,发送单播路由器通告RA报文,携带用于无状态地址自动配置的前缀信息。③同时BNG也会周期性地发送组播路由器通告RA报文,携带用于无状态地址自动配置的前缀信息。之后,主机设备收到路由器通告RA报文后,根据前缀信息和配置信息生成一个临时的全球单播地址。同时启动DAD,发送NS报文验证临时地址的唯一性,此时该地址处于临时状态,用户网络中链路上的其他网络节点收到DAD的NS报文后,如果没有用户使用该地址,则丢弃报文,否则产生应答NS的NA报文。主机设备如果没有收到DAD的NA报文,说明地址是全局唯一的,则用该临时地址初始化接口,此时地址进入有效状态。Generally, an IPv6 stateless address auto-configuration process includes two stages: link-local address configuration and global unicast address configuration. When the network interface of a host device in the user network is enabled, the host device will first generate a link-local address for the interface according to the local prefix FE80::/64 and the EUI-64 interface identifier. If an address conflict occurs during the inspection (DAD), the link-local address must be manually configured for the interface, otherwise the interface will be unavailable. Combined with the address configuration flow chart in the conventional access network system shown in Figure 2, the configuration steps of the global unicast address on the host device in the user network are as follows: ①After configuring the link-local address, the host device sends a router request RS message text, requesting router prefix information. ② After receiving the router advertisement RS message, the BNG sends a unicast router advertisement RA message, carrying prefix information for stateless address automatic configuration. ③At the same time, BNG will also periodically send multicast router advertisement RA messages, carrying prefix information for stateless address automatic configuration. Afterwards, after receiving the router advertisement RA message, the host device generates a temporary global unicast address according to the prefix information and configuration information. Start DAD at the same time, send NS message to verify the uniqueness of the temporary address. At this time, the address is in a temporary state. After other network nodes on the link in the user network receive the NS message of DAD, if there is no user using this address, then Discard the packet, otherwise generate an NA packet in response to NS. If the host device does not receive the NA message of the DAD, it means that the address is globally unique, and the interface is initialized with the temporary address, and the address enters a valid state at this time.

如前所述,在常规接入网络系统下,用户网络中主机和BNG交换路由器请求/路由器通告(RS/RA)报文直接透传了接入节点,这种地址配置方式于SDN接入网络架构下会存在一定的不利,因为在SDN网络系统下,除非在路径被配置许可的前提下,任何数据流被禁止扩散到网络侧;尽管可以通过预先在BNG和接入节点设备之间建立特定的通道,以允许用户网络中主机和BNG交换RS/RA报文,然而这将导致潜在的网络攻击并降低了SDN网络的可编程性能。As mentioned above, under the conventional access network system, the hosts in the user network and the BNG exchange Router Solicitation/Router Advertisement (RS/RA) messages and directly transparently transmit the access nodes. There will be some disadvantages under the architecture, because under the SDN network system, unless the path is configured and permitted, any data flow is prohibited from spreading to the network side; although it can be established in advance between the BNG and the access node device channel to allow the hosts in the user network to exchange RS/RA messages with the BNG, but this will lead to potential network attacks and reduce the programmable performance of the SDN network.

图3示出了根据本公开的一个实施例的SDN接入网络系统结构示意图,图例中,用户网络中的网络设备可以直接或者通过各种不同方式,例如光配线网络(ODN)、xDSL、PON网络、点到点光纤链路、或WiFi无线链路等接入到接入节点321,322。接入节点321,322在接入网络中的SDN控制器301的控制下工作,所述接入网还可以包括一个或多个交换机341-343。另外,所述接入网还可以包括宽带网络网关BNG305,分别可在SDN控制器301的控制下工作。根据本申请的一个实施例,接入节点321-322、中间交换机341-343、宽带网络网关305都可以通过OpenFlow协议在所述接入网络的SDN控制器301的控制下工作。SDN控制器301对前述网络设备的转发规则进行配置,仅仅满足配置条件要求的、被允许的数据流才能在接入网络系统中进行转发。Fig. 3 shows a schematic structural diagram of an SDN access network system according to an embodiment of the present disclosure. A PON network, a point-to-point optical fiber link, or a WiFi wireless link is connected to the access nodes 321, 322. The access nodes 321, 322 work under the control of the SDN controller 301 in the access network, which may also include one or more switches 341-343. In addition, the access network may also include a broadband network gateway BNG305, each of which can work under the control of the SDN controller 301. According to an embodiment of the present application, the access nodes 321-322, the intermediate switches 341-343, and the broadband network gateway 305 can all work under the control of the SDN controller 301 of the access network through the OpenFlow protocol. The SDN controller 301 configures the forwarding rules of the foregoing network devices, and only allowed data flows that meet the requirements of the configuration conditions can be forwarded in the access network system.

根据本申请的一个实施例,接入节点321,322都只具备数据面功能,这里,接入节点321,322设置一个代理装置,它不具备控制面功能,不能对来自于用户网络330中主机设备的控制相关消息进行处理。例如:接入节点321在接收到来自用户网络330的涉及IPv6无状态地址配置的路由器请求RS消息,它将该RS消息以及用户网络330对应的用户网络标识R-ID封装到OpenFlow消息中,发送给SDN控制器301。同时,接入节点321在接收来自SDN控制器301的包含有RA消息的OpenFlow消息,解析出对应的路由器通告RA消息和用户网络标识R-ID,将该路由器通告RA消息送往对应的用户网络330。According to an embodiment of the present application, the access nodes 321, 322 only have data plane functions. Here, the access nodes 321, 322 are provided with a proxy device, which does not have the control plane Device control-related messages are processed. For example: when the access node 321 receives the router request RS message related to IPv6 stateless address configuration from the user network 330, it encapsulates the RS message and the user network identifier R-ID corresponding to the user network 330 into the OpenFlow message, and sends to the SDN controller 301. At the same time, the access node 321 receives the OpenFlow message containing the RA message from the SDN controller 301, parses out the corresponding router advertisement RA message and the user network identifier R-ID, and sends the router advertisement RA message to the corresponding user network 330.

前述用户网络标识R_ID可以是唯一标识该用户网络的信息,例如:连接该用户网络的接入节点端口号、或者是该接入节点加上端口号的组合、或者是某种编码方式计算出来的唯一号码。The aforementioned user network identifier R_ID may be information that uniquely identifies the user network, for example: the port number of the access node connected to the user network, or a combination of the access node plus port number, or calculated by a certain encoding method unique number.

根据本申请的一个实施例,前述包含路由器通告RA消息的OpenFlow消息可以被封装成一个Packer-in消息,当接入节点321、322收到一个数据包后,并未与接入节点中流表项匹配成功,那么交换机就会将数据封装在Packet-In消息中,发送给控制器处理。此时数据包会被缓存在交换机中等待处理。图6示出了本申请一个实施例的Packet-In消息;其中,601所代表的部分是对Packet-In消息的原因部分进行的调整,我们定义个新的Reason类型值,直接用于指明Match域(净荷域)为的路由器请求的IPv6包,此时不包含以太帧的其他域;602所代表的struct ofp-matchmatch部分是被封装在Packet-In消息中的路由器请求消息;另外,601所代表的部分也可不具体指明Reason类型值,将含有路由器请求RS消息的以太帧直接放在Match净荷区,发送给SDN控制器去解析净荷区判断出是路由器请求RS消息与否。According to an embodiment of the present application, the aforementioned OpenFlow message containing the Router Advertisement RA message can be encapsulated into a Packer-in message. When the access node 321, 322 receives a data packet, it does not communicate with the flow entry in the access node If the matching is successful, the switch will encapsulate the data in a Packet-In message and send it to the controller for processing. At this time, the data packet will be buffered in the switch to wait for processing. Fig. 6 shows the Packet-In message of an embodiment of the present application; Wherein, the part represented by 601 is the adjustment to the reason part of the Packet-In message, and we define a new Reason type value, which is directly used to specify Match domain (payload domain) is the IPv6 packet requested by the router, which does not contain other domains of the ether frame at this time; the struct ofp-matchmatch part represented by 602 is the router request message encapsulated in the Packet-In message; in addition, 601 The represented part may not specifically specify the Reason type value, and the Ethernet frame containing the router request RS message is directly placed in the Match payload area, and sent to the SDN controller to analyze the payload area to determine whether it is a router request RS message or not.

根据本申请的一个实施例,前述包含路由器请求RS消息也可以被封装在其他类型的流消息,SDN控制器需要预先对接入节点的流表项进行特定配置,在接入节点收到来自用户网络的路由器请求RS消息时,根据流表项适配过滤,将路由器请求RS消息封装成特定的流控制消息发送至指定的网络设备,可以是SDN控制器301或BNG305。According to an embodiment of the present application, the aforementioned router request RS message can also be encapsulated in other types of flow messages, and the SDN controller needs to perform specific configuration on the flow entry of the access node in advance. When a router in the network requests an RS message, it adapts and filters according to the flow entry, encapsulates the router request RS message into a specific flow control message, and sends it to a designated network device, which may be the SDN controller 301 or the BNG 305 .

根据本申请的一个实施例,SDN控制器301汇聚了所述接入网络的控制面功能,这里,SDN控制器301设置一个无状态地址自动配置SAAC装置,它维护一个IPv6前缀信息表,表中记录了分配给每个用户网络的IPv6前缀。IPv6前缀信息表的每个表项具有<用户网络标识R-ID,IPv6前缀信息>格式,如此,每个用户网络可以是通过前缀信息表中的用户网络标识R_ID来识别。当无状态地址自动配置SAAC装置收到来自某个接入节点的路由器请求RS消息,该消息被封在OpenFlow的某个特定消息中,如Packet-In消息,基于RS消息中的用户网络标识R-ID、查找IPv6前缀信息表获取该用户网络相应的IPv6前缀信息,构造相关的路由器通告RA消息并封装在OpenFlow的某个特定消息中,例如Packet-Out消息中送到相应的接入节点。According to an embodiment of the present application, the SDN controller 301 aggregates the control plane functions of the access network. Here, the SDN controller 301 sets a stateless address auto-configuration SAAC device, which maintains an IPv6 prefix information table, in which Records the IPv6 prefixes assigned to each user network. Each entry in the IPv6 prefix information table has a format of <user network identifier R-ID, IPv6 prefix information>, so that each user network can be identified by the user network identifier R_ID in the prefix information table. When the stateless address auto-configuration SAAC device receives a router request RS message from an access node, the message is encapsulated in a specific message of OpenFlow, such as the Packet-In message, based on the user network identifier R in the RS message -ID, search the IPv6 prefix information table to obtain the corresponding IPv6 prefix information of the user network, construct the relevant router advertisement RA message and encapsulate it in a specific message of OpenFlow, for example, send it to the corresponding access node in the Packet-Out message.

对于每个授权的用户网络,SDN控制器301可将RA消息封装在OpenFlow消息中周期性发送给其对应的接入节点,该消息也同样包括授权的用户网络标识R_ID。For each authorized user network, the SDN controller 301 may encapsulate the RA message in an OpenFlow message and periodically send it to its corresponding access node, and the message also includes the authorized user network identifier R_ID.

根据本申请的一个实施例,接入节点321,322接收到来自SDN控制器301的OpenFlow消息,如果该消息中携带的路由器通告RA消息,它将获得其中的用户网络的用户网络标识R_ID和IPv6前缀信息,构造一个相对应的路由器通告RA消息通告用户网络中主机设备的网络前缀。According to an embodiment of the present application, the access nodes 321, 322 receive the OpenFlow message from the SDN controller 301, if the router advertisement RA message carried in the message, it will obtain the user network identifier R_ID and IPv6 Prefix information, construct a corresponding router advertisement RA message to notify the network prefix of the host device in the user network.

之后,用户网络中主机设备收到路由器通告RA报文后,根据前缀信息和配置信息生成一个临时的全球单播地址。同时启动DAD,发送NS报文验证临时地址的唯一性,此时该地址处于临时状态,用户网络中链路上的其他网络节点收到DAD的NS报文后,如果没有用户使用该地址,则丢弃报文,否则产生应答NS的NA报文。主机设备如果没有收到DAD的NA报文,说明地址是全局唯一的,则用该临时地址初始化接口,此时地址进入有效状态。Afterwards, after receiving the router advertisement RA message, the host device in the user network generates a temporary global unicast address according to the prefix information and configuration information. Start DAD at the same time, send NS message to verify the uniqueness of the temporary address. At this time, the address is in a temporary state. After other network nodes on the link in the user network receive the NS message of DAD, if there is no user using this address, then Discard the packet, otherwise generate an NA packet in response to NS. If the host device does not receive the NA message of the DAD, it means that the address is globally unique, and the interface is initialized with the temporary address, and the address enters a valid state at this time.

图4所示为软件定义的接入网络中进行无状态地址自动配置的流程图。FIG. 4 is a flow chart of stateless address automatic configuration in a software-defined access network.

步骤S401,用户网络中的主机设备向接入节点例如221发送路由器请求RS消息,结合图5所示意的IGMPv6(第六版互联网组管理协议)报文格式,该ICMPv6数据包具有一个值为58的下一个部首域,IPv6目标地址为FF02::2,类型域为133,其中的报文主体具体地表示该路由器请求消息。Step S401, the host device in the user network sends a router request RS message to the access node such as 221, and in conjunction with the IGMPv6 (Internet Group Management Protocol version 6) message format shown in Figure 5, the ICMPv6 packet has a value of 58 The next radical field of , the IPv6 destination address is FF02::2, the type field is 133, and the message body therein specifically represents the router solicitation message.

步骤S402,接入节点321对其所接收到的路由器请求RS消息进行识别。接入节点321可以基于不同的线索进行所述识别,如前所述,通过识别ICMPv6报文中的下一个部首域、IPv6目标地址、以及类型域可以快速地识别出路由器请求RS消息。当然,本领域普通技术人员可知,在不偏离本申请的范围的前提下,可以根据需要设置不同的识别规则。In step S402, the access node 321 identifies the received router request RS message. The access node 321 can perform the identification based on different clues. As mentioned above, the router request RS message can be quickly identified by identifying the next radical field, the IPv6 destination address, and the type field in the ICMPv6 message. Certainly, those of ordinary skill in the art know that different identification rules can be set as required without departing from the scope of the present application.

步骤S403,接入节点321进而将路由器请求RS消息封装成为与SDN的OpenFlow标准兼容的消息类型,同时将该主机设备的用户网络标识R-ID一起封装在该消息中发送给SDN控制器301。典型地,OpenFlow消息类型可以是一个Packet-In消息,当然,根据不同的应用场景,还可以定义其他的OpenFlow消息类型。Step S403, the access node 321 further encapsulates the router request RS message into a message type compatible with the SDN OpenFlow standard, and at the same time encapsulates the user network identifier R-ID of the host device in the message and sends it to the SDN controller 301. Typically, the OpenFlow message type may be a Packet-In message, and of course, other OpenFlow message types may also be defined according to different application scenarios.

步骤S404,SDN控制器301对所接收到的OpenFlow消息进行解封装。由于在本申请所提供的Packet-In消息中包含了路由器请求RS消息和用户网络标识R-ID,因此控制器101可以直接采用相应的控制模块对该路由器请求RS消息进行处理,结合SDN控制器301中的Pv6前缀信息表,该表中记录了分配给每个用户网络的IPv6前缀。IPv6前缀信息表的每个表项具有<用户网络标识R_ID,IPv6前缀信息>格式,基于所收到消息中的用户网络标识R-ID、查找IPv6前缀信息表即获取该用户网络相应的IPv6前缀信息。In step S404, the SDN controller 301 decapsulates the received OpenFlow message. Since the Packet-In message provided by this application contains the router request RS message and the user network identifier R-ID, the controller 101 can directly use the corresponding control module to process the router request RS message, combining the SDN controller The Pv6 prefix information table in 301, which records the IPv6 prefix assigned to each user network. Each entry in the IPv6 prefix information table has the format <user network identifier R_ID, IPv6 prefix information> format, based on the user network identifier R-ID in the received message, look up the IPv6 prefix information table to obtain the corresponding IPv6 prefix of the user network information.

优选地,SDN控制器301可通过某种设定策略进行前缀分配,比如属于某个区域的用户分配某种前缀、或者该用户属于某类型用户分配某特定前缀。Preferably, the SDN controller 301 can allocate prefixes through a certain setting strategy, for example, a user belonging to a certain area is allocated a certain prefix, or a user belonging to a certain type is allocated a specific prefix.

步骤S405,SDN控制器301构造相关的RA消息并封装在OpenFlow的某个特定消息中,例如Packet-Out消息中送到相应的接入节点321,路由器通告RA消息中包括用户网络相应的IPv6前缀信息。Step S405, the SDN controller 301 constructs the relevant RA message and encapsulates it in a specific message of OpenFlow, for example, sends it to the corresponding access node 321 in the Packet-Out message, and the router advertises that the RA message includes the corresponding IPv6 prefix of the user network information.

对于每个授权的用户网络,SDN控制器301可将组播路由器通告RA消息封装在OpenFlow的某个特定消息中,周期性发送给每个授权的用户网络所对应的接入节点。For each authorized user network, the SDN controller 301 may encapsulate the multicast router advertisement RA message in a specific OpenFlow message, and periodically send it to the access node corresponding to each authorized user network.

步骤S406,接入节点321对所接收到的OpenFlow消息进行解封装以获得RA消息。In step S406, the access node 321 decapsulates the received OpenFlow message to obtain an RA message.

步骤S407,接入节点321构造相应的路由器请求RS消息发送给用户网络中的主机设备,结合图例5所示意的IGMPv6报文格式,该ICMPv6数据包具有一个值为58的下一个部首域,IPv6目标地址为FF02::1,类型域为134,其中的报文主体中具有可选的TLV(类型、长度、值)域,其中类型为3时,其对应的值域为IPv6前缀信息。Step S407, the access node 321 constructs a corresponding router request RS message and sends it to the host device in the user network. In combination with the IGMPv6 message format shown in Figure 5, the ICMPv6 data packet has a next radical field with a value of 58, The IPv6 destination address is FF02::1, the type field is 134, and the message body has an optional TLV (type, length, value) field. When the type is 3, the corresponding value field is IPv6 prefix information.

之后,用户网络中主机设备收到路由器通告RA报文后,根据前缀信息和配置信息生成一个临时的全球单播地址。Afterwards, after receiving the router advertisement RA message, the host device in the user network generates a temporary global unicast address according to the prefix information and configuration information.

在一个或多个示例性设计中,可以用硬件、软件、固件或它们的任意组合来实现本申请的功能。如果用软件来实现,则可以将功能作为一个或多个指令或代码存储在计算机可读介质上,或者作为计算机可读介质上的一个或多个指令或代码来传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括有助于计算机程序从一个地方传递到另一个地方的任意介质。存储介质可以是通用或专用计算机可访问的任意可用介质。这种计算机可读介质可以包括,例如但不限于,RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁存储设备,或者可用于以通用或专用计算机或者通用或专用处理器可访问的指令或数据结构的形式来携带或存储希望的程序代码模块的任意其它介质。并且,任意连接也可以被称为是计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或诸如红外线、无线电和微波之类的无线技术来从网站、服务器或其它远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或诸如红外线、无线电和微波之类的无线技术也包括在介质的定义中。In one or more exemplary designs, the functions of the present application may be implemented by hardware, software, firmware or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. Such computer-readable media may include, for example and without limitation, RAM, ROM, EEPROM, CD-ROM, or other optical disk storage, magnetic disk storage, or other magnetic Any other medium that carries or stores desired modules of program code in the form of instructions or data structures accessible to a processor. Also, any connection is also termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial Cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are also included in the definition of media.

可以用通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或者晶体管逻辑、分立硬件组件或用于执行本文的功能的任意组合来实现或执行结合本公开所描述的各种示例性的逻辑块、模块和电路。通用处理器可以是微处理器,或者,处理器也可以是任何普通的处理器、控制器、微控制器或者状态机。处理器也可以实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器与DSP内核的结合,或者任何其它此种结构。A general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components or used to implement the The various exemplary logical blocks, modules, and circuits described in connection with this disclosure are implemented or performed in any combination of the functions of the present disclosure. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a DSP core, or any other such architecture.

本领域普通技术人员还应当理解,结合本申请的实施例描述的各种示例性的逻辑块、模块、电路和算法步骤可以实现成电子硬件、计算机软件或二者的组合。为了清楚地表示硬件和软件之间的这种可互换性,上文对各种示例性的部件、块、模块、电路和步骤均围绕其功能进行了一般性描述。至于这种功能是实现成硬件还是实现成软件,取决于特定的应用和施加在整个系统上的设计约束条件。本领域技术人员可以针对每种特定应用,以变通的方式实现所描述的功能,但是,这种实现决策不应解释为背离本公开的保护范围。Those of ordinary skill in the art should also understand that various exemplary logical blocks, modules, circuits and algorithm steps described in conjunction with the embodiments of the present application may be implemented as electronic hardware, computer software or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Those skilled in the art may implement the described functions in various ways for each specific application, but such implementation decisions should not be interpreted as departing from the protection scope of the present disclosure.

本公开的以上描述用于使本领域的任何普通技术人员能够实现或使用本公开。对于本领域普通技术人员来说,本公开的各种修改都是显而易见的,并且本文定义的一般性原理也可以在不脱离本公开的精神和保护范围的情况下应用于其它变形。因此,本公开并不限于本文的实例和设计,而是与本文公开的原理和新颖性特性的最广范围相一致。The above description of the present disclosure is provided to enable any person of ordinary skill in the art to make or use the present disclosure. Various modifications to the present disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other modifications without departing from the spirit and scope of the present disclosure. Thus, the disclosure is not to be limited to the examples and designs herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (18)

CN201611164953.7A2016-12-162016-12-16Address configuration method and device in software defined network systemActiveCN108206783B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201611164953.7ACN108206783B (en)2016-12-162016-12-16Address configuration method and device in software defined network system
PCT/IB2017/001632WO2018109550A1 (en)2016-12-162017-12-01Address configuration method and apparatus in software-defined networking system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611164953.7ACN108206783B (en)2016-12-162016-12-16Address configuration method and device in software defined network system

Publications (2)

Publication NumberPublication Date
CN108206783Atrue CN108206783A (en)2018-06-26
CN108206783B CN108206783B (en)2020-11-06

Family

ID=61017948

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611164953.7AActiveCN108206783B (en)2016-12-162016-12-16Address configuration method and device in software defined network system

Country Status (2)

CountryLink
CN (1)CN108206783B (en)
WO (1)WO2018109550A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110636083A (en)*2019-11-072019-12-31迈普通信技术股份有限公司Network address multiplexing method, device, network equipment and storage medium
CN111277506A (en)*2020-01-202020-06-12山东汇贸电子口岸有限公司Method for improving reliability of SLAAC (slow ranging Access control) distribution IPv6 address
CN111478853A (en)*2020-04-022020-07-31广州市品高软件股份有限公司IPv6 route advertisement method and system based on SDN
CN114531392A (en)*2020-11-032022-05-24南京中兴软件有限责任公司Multicast service design method, server and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110266518B (en)*2019-05-222020-05-15清华大学 SDN-based IPv6 address traceability method, device and electronic equipment
CN113114795B (en)*2021-03-302022-07-08烽火通信科技股份有限公司IPv6 address allocation method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120322406A1 (en)*2010-06-282012-12-20Alcatel-Lucent Canada Inc.Pcrf-ocs interaction in wireless-wireline convergence
CN104734963A (en)*2015-03-242015-06-24电子科技大学IPv4 and IPv6 network interconnection method based on SDN
CN104869178A (en)*2014-02-212015-08-26中兴通讯股份有限公司IP address distribution method, controller and gateway device in SDN-EPS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20120322406A1 (en)*2010-06-282012-12-20Alcatel-Lucent Canada Inc.Pcrf-ocs interaction in wireless-wireline convergence
CN104869178A (en)*2014-02-212015-08-26中兴通讯股份有限公司IP address distribution method, controller and gateway device in SDN-EPS
CN104734963A (en)*2015-03-242015-06-24电子科技大学IPv4 and IPv6 network interconnection method based on SDN

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHIA-WEI TSENG ; YAO-TSUNG YANG ; LI-DER CHOU: "An IPv6-enabled Software-Defined Networking architecture", 《 2013 15TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS)》*
CHIA-WEI TSENG ET ALL: "IPv6 operations and deployment scenarios over SDN", 《 THE 16TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM》*
WENFENG XIA ET ALL: "A SOFTWARE DEFINED APPROACH TO UNIFIED IPV6 TRANSITION", 《 PROCEEDINGS OF THE 2014 ITU KALEIDOSCOPE ACADEMIC CONFERENCE: LIVING IN A CONVERGED WORLD - IMPOSSIBLE WITHOUT STANDARDS?》*
王毅;李会: "无状态地址自动配置的IPv6组网实现", 《实验科学与技术》*

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110636083A (en)*2019-11-072019-12-31迈普通信技术股份有限公司Network address multiplexing method, device, network equipment and storage medium
CN110636083B (en)*2019-11-072021-06-18迈普通信技术股份有限公司Network address multiplexing method, device, network equipment and storage medium
CN111277506A (en)*2020-01-202020-06-12山东汇贸电子口岸有限公司Method for improving reliability of SLAAC (slow ranging Access control) distribution IPv6 address
CN111478853A (en)*2020-04-022020-07-31广州市品高软件股份有限公司IPv6 route advertisement method and system based on SDN
CN114531392A (en)*2020-11-032022-05-24南京中兴软件有限责任公司Multicast service design method, server and storage medium

Also Published As

Publication numberPublication date
WO2018109550A1 (en)2018-06-21
CN108206783B (en)2020-11-06

Similar Documents

PublicationPublication DateTitle
CN112584393B (en) A base station configuration method, apparatus, device and medium
CN108206783B (en)Address configuration method and device in software defined network system
EP2708001B1 (en)Label switched routing to connect low power network domains
KR100997075B1 (en) Access devices, routing devices, and methods that support stateless address configuration in telecommunication networks
US11019026B2 (en)Method for applying TCP/IP protocol in mesh network
CN107277190B (en) A method for automatic on-line of SDN equipment, SDN equipment and controller
WO2009138034A1 (en)Method and apparatus for internet protocol version six (ipv6) addressing and packet filtering in broadband networks
CN112398959B (en) RLC channel determination method and device
US20160218958A1 (en)Method and system for forwarding packet in id/locator separation environment
CN116368860A (en) Network Layer Support for 5G Edge Computing Sticky Services
KR101311198B1 (en)Method and apparatus for connecting subscriber devices to an ipv6-capable aggregation network
CN107769939A (en)Network element management method, webmaster, Gateway Network Element and system in data communication network
JP2017503407A (en) Packet processing method and apparatus
US20160006684A1 (en)Communication system, control apparatus, communication method, and program
CN104734877B (en)A kind of method, apparatus and system obtaining configuration server information
CN114760167A (en)Message forwarding method, device and network system
US9503418B2 (en)Method and apparatus for obtaining remote IP address
CN100479457C (en)Implementation method for transferring data in virtual private network
CN114928590B (en) An IPv6 address configuration method and routing device
CN101753419B (en)Method for transmitting and forwarding data, equipment, and multiple-address space mobile network
CN102970218B (en)The method that MF-TDMA ICBM SHF satellite terminal carries out anonymous interconnection based on broadcast-type interface
WO2011026355A1 (en)Method for a node accessing a home agent, home agent cluster system and service router
CN102056287B (en)Method and system for realizing identity and location separation based on network
CN103036758B (en)Method of interconnection and interworking between identifying net and traditional network, access service router (ASR) and interworking service router (ISR)
CN115460140B (en) Network intercommunication method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp