KR20160114401A - Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system - Google Patents
Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system Download PDFInfo
- Publication number
- KR20160114401A KR20160114401A KR1020150040865A KR20150040865A KR20160114401A KR 20160114401 A KR20160114401 A KR 20160114401A KR 1020150040865 A KR1020150040865 A KR 1020150040865A KR 20150040865 A KR20150040865 A KR 20150040865A KR 20160114401 A KR20160114401 A KR 20160114401A
- Authority
- KR
- South Korea
- Prior art keywords
- identifier
- virtual machine
- router
- ipv6
- hypervisor
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/741—Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/251—Translation of Internet protocol [IP] addresses between different IP versions
Abstract
Description
본 발명은 LISP(Locator ID Separation Protocol) 네트워크 환경에서 IPv4-IPv6 서비스 전환 기술에 관한 것으로서, 더욱 상세하게는 LISP 환경에서 가상머신의 라이브 마이그레이션(live migration)을 통해 IPv4-IPv6 서비스를 전환하는 방법 및 LISP 네트워크 시스템에 관한 것이다.The present invention relates to an IPv4-IPv6 service switching technology in a LISP (Locator ID Separation Protocol) network environment, and more particularly, to a method of switching an IPv4-IPv6 service through a live migration of a virtual machine in a LISP environment, LISP network system.
사물 인터넷(IoT: Internet of Things)을 위한 다양한 단말 및 서비스들이 출현함에 따라 IPv4 주소 고갈 문제가 더욱더 심각하게 나타나고 있으며, 멀지 않은 미래에는 모든 단말들에 고유한 IPv6 주소를 할당하여 사용하게 될 것으로 전망되고 있다.With the emergence of various terminals and services for the Internet of Things (IoT), the issue of IPv4 address depletion has become even more serious, and IPv6 addresses that are unique to all terminals will be used in the near future. .
IPv4-IPv6 전환 기술을 사용하여 IPv6 단말에서도 IPv4 서비스로 접근이 가능하지만, 전환과정에서 처리 오버헤드가 발생하고 IPv4-IPv6 전환장비를 추가적으로 구입해야 하는 문제점이 발생한다. 아래의 특허문헌은 IPv4/IPv6 연동 게이트웨이에 대해서 개시하고 있다.Although an IPv4-IPv6 service can be accessed using an IPv4-IPv6 conversion technique, there is a problem in that a processing overhead occurs in the conversion process and an additional IPv4-IPv6 conversion equipment is purchased. The following patent documents disclose an IPv4 / IPv6 interworking gateway.
이러한 문제점으로 인하여, 실제 컨텐츠 제공자들은 IPv4 형태로 제공 중인 서비스를 IPv6 형태로 전환하여 운영하는 것을 고려하고 있다. 하지만 IPv4로부터 IPv6로의 서비스 전환은 기술적으로 어려우며, 특히 서비스 중절 없는 서비스 전환은 더욱 어려운 문제점이 있다.Due to such a problem, actual content providers are considering switching a service being provided in the IPv4 format to an IPv6 format and operating the service. However, it is technically difficult to switch from IPv4 to IPv6, and there is a problem that service switching without service interruption is more difficult.
본 발명은 이러한 문제점을 해결하기 위하여 제안된 것으로, 별도의 장비를 증설하지 않고, LISP 네트워크 환경에서 가상머신의 라이브 마이그레이션을 통해 서비스 중절없는 IPv4-IPv6 서비스 전환 방법 및 LISP 네트워크 시스템을 제공하는데 그 목적이 있다.The present invention has been proposed in order to solve such a problem, and it is an object of the present invention to provide an IPv4-IPv6 service switching method and a LISP network system without service interruption through live migration of a virtual machine in a LISP network environment, .
본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention will become apparent from the following description, and it will be understood by those skilled in the art that the present invention is not limited thereto. It will also be readily apparent that the objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.
상기 목적을 달성하기 위한 본 발명의 제 1 측면에 따른, LISP(Locator ID Separation Protocol) 네트워크 시스템에서 가상머신의 마이그레이션을 통해, IPv4에서 IPv6로의 서비스를 전환하는 방법은, 제2하이퍼바이저가, 제1하이퍼바이저에 포함된 소스 가상머신의 마이그레이션을 위한 패킷을 수신하여 상기 소스 가상머신을 타깃 가상머신으로 마이그레이션하는 단계; 제2하이퍼바이저를 관할하는 제2라우터가, 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신에 할당된 IPv6 식별자가 매핑된 매핑 정보를 맵 데이터베이스에 반영하여 상기 맵 데이터베이스를 갱신하는 단계; 상기 제2라우터가, 상기 제1하이퍼바이저를 관할하는 제1라우터로 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신의 IPv6 식별자를 전송하는 단계; 및 상기 제1라우터가, 상기 소스 가상머신과 통신한 하나 이상의 타 라우터로 확인하고, 상기 하나 이상의 타 라우터로 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신의 IPv6 식별자를 전송하여, 상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 단계를 포함하는 것을 특징으로 한다.According to a first aspect of the present invention, there is provided a method of switching a service from IPv4 to IPv6 through migration of a virtual machine in a Locator ID Separation Protocol (LISP) network system, Migrating the source virtual machine to a target virtual machine by receiving a packet for migration of the source virtual machine included in the one hypervisor; Updating the map database by reflecting, in the map database, the mapping information that the second router managing the second hypervisor maps the IPv4 identifier of the source virtual machine and the IPv6 identifier assigned to the target virtual machine; Transmitting, by the second router, an IPv4 identifier of the source virtual machine and an IPv6 identifier of the target virtual machine to a first router that is in charge of the first hypervisor; And the first router identifies the router as one or more other routers communicating with the source virtual machine and transmits the IPv4 identifier of the source virtual machine and the IPv6 identifier of the target virtual machine to the one or more other routers, And updating the mapping information stored in another router.
상기 목적을 달성하기 위한 본 발명의 제 2 측면에 따른, LISP(Locator ID Separation Protocol) 네트워크 환경에서 가상머신의 마이그레이션을 통해, IPv4에서 IPv6로의 서비스를 전환하는 LISP 네트워크 시스템은, IPv4 기반의 서비스를 수행하는 소스 가상머신을 포함하는 제1하이퍼바이저; 상기 제1하이퍼바이저의 라우팅을 담당하는 제1라우터; 타깃 가상머신을 생성하고 상기 소스 가상머신의 마이그레이션을 위한 패킷을 수신하여, 상기 소스 가상머신을 상기 타깃 가상머신으로 마이그레이션하는 제2하이퍼바이저; 및 제2하이퍼바이저의 라우팅을 담당하고, 상기 타깃 가상머신에 할당된 IPv6 식별자와 상기 소스 가상머신의 IPv4 식별자가 매핑된 매핑 정보를 맵 데이터베이스에 반영하여 상기 맵 데이터베이스를 갱신하고, 상기 제1라우터로 상기 타깃 가상머신의 IPv6 식별자와 소스 가상머신의 IPv4 식별자를 전송하는 제2라우터를 포함하고, 상기 제1라우터는 상기 소스 가상머신과 통신한 하나 이상의 타 라우터로 확인하고, 상기 하나 이상의 타 라우터로 상기 타깃 가상머신의 IPv6 식별자와 소스 가상머신의 IPv4 식별자를 전송하여, 상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 것을 특징으로 한다.According to a second aspect of the present invention, there is provided a LISP network system for switching a service from IPv4 to IPv6 through migration of a virtual machine in a Locator ID Separation Protocol (LISP) network environment, A first hypervisor that includes a source virtual machine to perform; A first router for routing the first hypervisor; A second hypervisor for creating a target virtual machine, receiving a packet for migration of the source virtual machine, and migrating the source virtual machine to the target virtual machine; And updating the map database by mapping the mapping information in which the IPv6 identifier allocated to the target virtual machine and the IPv4 identifier of the source virtual machine are mapped to the map database to manage the routing of the second hypervisor, And a second router for transmitting an IPv6 identifier of the target virtual machine and an IPv4 identifier of the source virtual machine to the first router, wherein the first router identifies the router as one or more other routers communicating with the source virtual machine, And transmits the IPv6 identifier of the target virtual machine and the IPv4 identifier of the source virtual machine to update the mapping information stored in the one or more other routers.
상기 목적을 달성하기 위한 본 발명의 제 3 측면에 따른 LISP(Locator ID Separation Protocol) 네트워크 시스템에서 IPv4에서 IPv6로의 서비스를 전환하는 방법은, 라우터가 마이그레이션되기 이전의 소스 가상머신 IPv4 식별자가 목적지 주소로 설정된 패킷을 클라이언트 단말로부터 수신하는 단계; 상기 라우터가, 저장중인 매핑 정보에서 상기 IPv4 식별자와 매핑된 타깃 가상머신의 IPv6 식별자를 확인하는 단계; 상기 라우터가, 상기 패킷의 목적지 주소를 상기 IPv4 식별자에서 상기 IPv6 식별자로 변경하는 단계; 및 상기 라우터가, 상기 목적지 주소가 변경된 패킷에 LISP 헤더를 추가하여 목적지 라우터로 전송하는 단계를 포함하는 것을 특징으로 한다.A method for switching a service from IPv4 to IPv6 in a Locator ID Separation Protocol (LISP) network system according to the third aspect of the present invention for achieving the above object is characterized in that a source virtual machine IPv4 identifier before a router is migrated to a destination address Receiving a set packet from a client terminal; The router verifying the IPv6 identifier of the target virtual machine mapped with the IPv4 identifier in the mapping information being stored; The router changing the destination address of the packet from the IPv4 identifier to the IPv6 identifier; And adding the LISP header to the packet whose destination address has been changed by the router and transmitting the LISP header to the destination router.
본 발명은 LISP 네트워크 환경에서 가상머신의 라이브 마이그레이션을 통해, IPv4-IPv6 서비스 전환을 실행함으로써, IPv4-IPv6 서비스 전환시에 투입되는 비용을 절감하는 장점이 있다.The present invention has an advantage of reducing the cost of switching the IPv4-IPv6 service by switching the IPv4-IPv6 service through the live migration of the virtual machine in the LISP network environment.
또한, 본 발명은 가상머신의 라이브 마이그레이션을 통해 생성된 매핑 정보를 라우터와 매핑 시스템으로 즉시 전송하여, 해당 라우터와 매핑 시스템의 매핑 정보를 즉각적으로 업데이트함으로써, IPv4-IPv6 서비스 전환시에 발생되는 서비스 중단을 최소화할 수 있는 효과가 있다.In addition, according to the present invention, the mapping information generated through the live migration of the virtual machine is immediately transmitted to the router and the mapping system, and the mapping information of the corresponding router and the mapping system is immediately updated, There is an effect that the interruption can be minimized.
게다가, 본 발명은 라우터와 매핑 시스템에 저장된 매핑 정보의 확장을 통해 IPv4-IPv6 간의 전환 서비스를 실행하게 구현함으로써, 서비스 적용의 범용성과 확정성도 뛰어난 장점이 있다.In addition, the present invention realizes the switching service between IPv4 and IPv6 through extension of the mapping information stored in the router and the mapping system, which is also excellent in versatility and determinability of service application.
본 명세서에 첨부되는 다음의 도면들은 본 발명의 바람직한 실시예를 예시하는 것이며, 발명을 실시하기 위한 구체적인 내용과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니 된다.
도 1은 SMR 메시지의 동작 상태를 개략적으로 나타내는 도면이다.
도 2는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템을 나타내는 도면이다.
도 3은 본 발명의 일 실시예에 따른, 제어 메시지의 포맷을 나타내는 도면이다.
도 4는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템에서 가상머신의 라이브 마이그레이션을 수행하는 과정을 나타내는 도면이다.
도 5는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템에서 가상머신의 마이그레이션에 따라 네트워크 설정을 변경하는 방법을 설명하는 흐름도이다.
도 6은 본 발명의 일 실시예에 따른, 라이브 마이그레이션이 완료된 LISP 네트워크 시스템에서, 패킷의 목적지 주소를 소스 가상머신의 식별자에서 타깃 가상머신의 식별자로 변환하여 패킷을 라우팅하는 방법을 설명하는 흐름도이다.
도 7은 본 발명의 일 실시예에 따른, 라우터에서 제어 메시지가 처리되는 방법을 설명하는 흐름도이다.BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and form a part of the specification, illustrate exemplary embodiments of the invention and, together with the description, serve to explain the principles of the invention. And shall not be construed as limited to such matters.
1 is a diagram schematically showing an operation state of an SMR message.
2 is a diagram illustrating a LISP network system, in accordance with an embodiment of the present invention.
3 is a diagram illustrating a format of a control message according to an embodiment of the present invention.
4 is a diagram illustrating a process of performing live migration of a virtual machine in a LISP network system according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating a method for changing a network configuration according to a migration of a virtual machine in a LISP network system according to an embodiment of the present invention.
6 is a flowchart illustrating a method of routing a packet by converting a destination address of a packet from an identifier of a source virtual machine to an identifier of a target virtual machine in a LISP network system in which live migration has been completed according to an embodiment of the present invention .
7 is a flowchart illustrating a method of processing a control message in a router according to an embodiment of the present invention.
상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일 실시예를 상세히 설명하기로 한다.The foregoing and other objects, features and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings, in which: There will be. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 실시예를 설명하기에 앞서, LISP(Locator ID Separation Protocol)에 대해서 설명하기로 한다.Before describing an embodiment of the present invention, the LISP (Locator ID Separation Protocol) will be described.
식별자(EID: Endpoint ID)는 단말 노드가 연결되는 네트워크 인터페이스 또는 단말 노드에 할당되는 식별정보이다.An identifier (EID) is identification information allocated to a terminal or a network interface to which the terminal node is connected.
위치자(RLOC: Routing Locator)는 LISP 네트워크에 존재하는 라우터에 할당된 주소로서, LISP 코어 네트워크에서 패킷을 라우팅하는데 사용된다.The RLOC (Routing Locator) is an address assigned to a router that exists in the LISP network and is used to route packets in the LISP core network.
상기 위치자와 상기 식별자는 LISP 네트워크 환경에서 사용되는 개념이다.The locator and the identifier are concepts used in a LISP network environment.
상기 LISP는 IP 주소 아키텍처를 위치자와 식별자의 두 가지 요소로서 분리하여, 인터넷을 재구성하는 프로토콜로서, 위치자만 라우팅 시스템에 등록되고, BGP(Boarder Gateway Protocol) 테이블 크기의 증가를 유발하는 식별자가 BGP에서 사용되지 않아 인터넷의 확장성을 용이하게 한다.The LISP is a protocol for reconfiguring the Internet by separating the IP address architecture into two elements, i.e., a location and an identifier. Only the location is registered in the routing system, and an identifier causing an increase in the BGP (Boarder Gateway Protocol) And thus facilitates the scalability of the Internet.
발신 호스트에서 송신된 패킷은 Edge 라우터(ITR: Ingress Tunnel Router)에서 LISP 헤더가 추가하는데, 상기 Edge 라우터는 LISP 헤더의 발신 주소를 자신의 IP 주소(즉, 위치자)로 설정하고 목적지 주소를 착신 호스트가 위치한 Edge 라우터(ETR: Egress Tunnel Router)의 IP 주소로 설정한 후, LISP 헤더가 추가된 패킷을 인캡슐레이션(encapsulation)하여 발송한다. 인터넷 백본에서는 LISP 헤더에 존재하는 ITR 및 ETR IP 주소만을 사용하여 라우팅이 수행되며 ETR에서는 수신한 패킷을 디캡슐레이션(decapsulation)하여 LISP 헤더를 제거한 후 식별자를 참조하여 착신 호스트로 전달한다. The packet transmitted from the originating host is added to the LISP header in an edge router (ITR). The Edge router sets the source address of the LISP header as its own IP address (i.e., location) It sets the IP address of the Egress Tunnel Router (ETR) where the host is located, encapsulates the packet with the LISP header added, and sends it. In the Internet backbone, routing is performed using only the ITR and ETR IP addresses present in the LISP header, and the ETR decapsulates the received packet to remove the LISP header, and then refers to the identifier to forward it to the called host.
식별자와 매핑된 위치자를 획득하기 위해서는 위치자와 식별자의 매핑 정보를 관리하는 매핑 시스템이 LISP 네트워크에 구축된다. 각 라우터에 저장된 매핑 정보들은 매핑 시스템에서 통합 관리된다. 라우터는 착신 단말의 식별자 및 목적지 라우터의 IP인 위치자에 대한 매핑 정보를 맵 캐시(map cache)에 저장하고, 맵 캐시에 저장되지 않은 매핑 정보를 매핑 시스템으로 요청하여 수신한다. 그러나 라우터가 관할하는 호스트의 식별자가 바뀌는 경우 상기 라우터는 변경된 식별자와 위치자의 매핑 정보를 곧바로 매핑 시스템으로 전달하지 않고, 매핑 시스템의 요청이 있을 경우에만 변경된 매핑 정보를 매핑 시스템으로 전송한다.In order to acquire the locator mapped to the identifier, a mapping system for managing the mapping information of the locator and the identifier is constructed in the LISP network. The mapping information stored in each router is managed by the mapping system. The router stores mapping information of a destination terminal and an IP address of a destination router in a map cache and requests mapping information not stored in the map cache to the mapping system to receive the mapping information. However, when the identifier of the host to which the router is controlled changes, the router does not directly transmit the mapping information of the changed identifier and the positioner to the mapping system, but transmits the changed mapping information to the mapping system only when there is a request of the mapping system.
한편, 상기 라우터는 다른 라우터들에서 변경된 매핑 정보를 SMR(Solicit Map Request) 메시지를 통하여 타 라우터에게 전달되는데, 이러한 SMR 메시지를 통하여 변경된 매핑 정보를 동기화하는 방식은, 변경된 매핑 정보가 전체 네트워크에 적용되기까지 일정한 시간이 소요되는 문제점이 있다.Meanwhile, the router transmits the mapping information changed in the other routers to another router through a SMR (Solicit Map Request) message. The method of synchronizing the changed mapping information through the SMR message is a method in which the changed mapping information is applied to the entire network There is a problem that a certain period of time is required until it is completed.
도 1은 SMR 메시지의 동작 상태를 개략적으로 나타내는 도면이다.1 is a diagram schematically showing an operation state of an SMR message.
도 1을 참조하면, 제1라우터(11)는 자신의 맵 DB에 기록된 매핑 정보에 대한 변경이 발생을 감지하면, 자신의 맵 캐시에 저장되어 있는 각각의 위치자에 해당하는 라우터들에게 SMR 메시지를 전송하여 매핑 정보의 변경을 각각의 라우터에게 통보한다(S11). 즉, 제1라우터(11)는 자신과 최근에 통신한 타 라우터들(12)을 맵 캐시에서 확인하고, 이 타 라우터들(12)에게 SMR 메시지를 전송한다.Referring to FIG. 1, when the
그러면, SMR 메시지를 수신한 타 라우터들(12)은, 제1라우터(11)의 맵 DB에 변경이 일어났음을 감지하고, 새로운 매핑 정보를 제1라우터(11)로부터 수신하기 위해, 맵 요청 메시지(map-request)를 제1라우터(10)로 전송한다(S12). 이어서, 타 라우터들(12)은 변경된 매핑 정보가 포함된 맵 응답 메시지(map-reply)를 제1라우터(11)로부터 수신하고, 이 변경 매핑 정보를 자신의 맵 캐시에 저장한 후, 이 맵 캐시에 저장된 매핑 정보를 이용하여 패킷을 라우팅한다.Then, the
그런데 SMR를 이용한 매핑 정보 업데이트 방식은, 라우터의 캐시에 저장된 위치자(즉, 라우터)에게만 전송되기 때문에, 캐시에 저장되지 않은 라우터들은 해당 노드의 매핑 정보 변동 사항을 알지 못하는 문제점이 있다. 또한, 네트워크 사이즈가 커지거나 라우터가 관리하는 식별자의 수가 많아지면 맵 캐시에 저장된 라우터(즉, 위치자)의 수도 증가하기 때문에, 특정 라우터에서 매핑 정보의 변동이 발생한 경우, SMR 메시지를 이용하여 매핑 정보를 업데이트하기 위한 트래픽도 증가되어, 결과적으로 변동된 매핑 정보가 전체 네트워크에 반영되기까지 많은 시간이 필요한 문제점이 발생한다.However, since the mapping information update method using the SMR is transmitted only to the placeholders (i.e., routers) stored in the cache of the router, routers that are not stored in the cache have a problem of not knowing the change information of the mapping information of the corresponding node. In addition, when the network size increases or the number of identifiers managed by the router increases, the number of routers (i.e., locators) stored in the map cache increases. Therefore, when mapping information changes in a specific router, Traffic for updating information is also increased, resulting in a problem that it takes much time until the changed mapping information is reflected in the entire network.
이런 SMR 메시지를 이용한 업데이트 메커니즘은 가상머신 마이그레이션과 같이 높은 서비스 품질 및 서비스의 연속성을 요구하는 경우에 문제를 일으킬 수 있다.Such an update mechanism using the SMR message may cause a problem when the service quality and the continuity of the service are required, such as a virtual machine migration.
도 2는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템을 나타내는 도면이다.2 is a diagram illustrating a LISP network system, in accordance with an embodiment of the present invention.
도 2에 도시된 바와 같이, 본 발명의 일 실시예에 따른 LISP 네트워크 시스템은 다수의 하이퍼바이저(Hypervisor)(210, 220), 매핑 시스템(500) 및 다수의 라우터(310, 320, 330)를 포함한다.2, the LISP network system according to an exemplary embodiment of the present invention includes a plurality of
라우터(310, 320, 330)는 자신과 연결된 식별자와 관련된 매핑 정보를 식별자별로 구분하여 맵 데이터베이스(map database, 이하, '맵 DB'로 지칭함)(312, 322, 332)에 저장하고, 또한 매핑 시스템(500)로부터 획득한 매핑 정보를 식별자별로 구분하여 맵 캐시(map cache)(311, 321, 331)에 저장한다. 즉, 라우터(310, 320, 330)는 자신의 서브넷(subnet)에 포함된 식별자와 관련된 매핑 정보를 자신의 맵 DB(312, 322, 332)에 저장하고, 타 라우터에서 관할하는 식별자와 관련된 매핑 정보를 매핑 시스템(500)으로부터 수신하여 맵 캐시(311, 321, 331)에 저장한다. 상기 맵 캐시(311, 321, 331)에 저장된 매핑 정보 중에서, 일정 시간(예컨대, 1분) 동안에 미사용된 매핑 정보는 삭제된다. The
상기 맵 캐시(311, 321, 331) 및 상기 맵 DB(312, 322, 332)에 저장되는 매핑 정보는 IPv4에서 IPv6로의 서비스 전환을 위한 정보, 즉 IPv4 식별자, IPv6 식별자, 위치자 및 V6 플래그에 대한 매핑 정보가 기록된다. 상기 IPv4 식별자는 소스 가상머신(source virtual machine)(211)이 사용한 IPv4 주소가 기록되고, 상기 IPv6 식별자에는 타깃 가상머신(221)이 사용한 IPv6 주소가 기록된다. 또한, 위치자는 라우터의 IP 주소가 기록되고, V6 플래그에는 IPv6 주소를 사용하는지 여부에 대한 정보가 기록된다. 상기 V6 플래그에 숫자 '1'이 기록된 경우 IPv6 주소를 사용하는 것을 의미하고, 상기 V6 플래그에 숫자 '0'이 기록된 경우에 IPv4 주소를 사용하는 것을 의미한다.The mapping information stored in the map cache 311, 321, and 331 and the map DB 312, 322, and 332 includes information for service switching from IPv4 to IPv6, that is, an IPv4 identifier, an IPv6 identifier, Mapping information is recorded. An IPv4 address used by the source
후술하는 소스 가상머신(211)은 IPv4 기반의 서비스를 제공하는 가상머신으로서 마이그레이션 대상이 되며, 타깃 가상머신(221)은 상기 소스 가상머신(211)의 서비스를 이전받아 IPv6 기반으로 서비스를 진행하는 가상머신이다. 즉, 본 발명에 따른 라이브 마이그레이션이 진행되면, 소스 가상머신(211)의 기능이 타깃 가상머신으로 이전된다. The source
도 3은 본 발명의 일 실시예에 따른, 제어 메시지의 포맷을 나타내는 도면이다.3 is a diagram illustrating a format of a control message according to an embodiment of the present invention.
도 3을 참조하면, 타입(Type) 필드는 메시지 종류를 나타내는 필드로서, 숫자 '0'에서부터 '4' 그리고 숫자 '8'은 LISP에서 예약된 상태이다, 본 발명에 따른 제어 메시지를 나타내는 식별자로서 숫자 '6'이 타입 필드에 기록된다. Referring to FIG. 3, the Type field indicates a message type. Numbers '0' to '4' and a number '8' are reserved in the LISP. An identifier indicating a control message according to the present invention The number '6' is recorded in the type field.
또한, 제어 메시지에는 4개의 플래그 필드가 포함되는데, 각각의 플래그 필드에는 숫자 '1', 숫자 '0' 중에서 어느 하나가 플래그 비트로서 기록된다.In addition, the control message includes four flag fields, in which one of the numbers '1' and '0' is recorded as a flag bit.
상기 플래그 필드 'O'는 제어 메시지를 전송한 주체가 IPv4 서비스를 제공하는 소스 가상머신과 연관 노드(즉, 제1하이퍼바이저 또는 제1라우터)인지 또는 IPv6 서비스를 제공하는 타깃 가상머신과 연관된 노드(즉, 제2하이퍼바이저 또는 제2라우터)인지를 나타낸다. 상기 플래드 필드를 구분하기 위해 사용되는 'O'은 숫자 영(zero)이 아니라, 영어 알파벳의 열다섯째의 순서를 가지는 모음자인 '오우(O)'를 의미한다.The flag field 'O' indicates whether the entity that transmitted the control message is a source virtual machine and an associated node (that is, the first hypervisor or the first router) providing the IPv4 service or a node associated with the target virtual machine providing the IPv6 service (I.e., the second hypervisor or the second router). The 'O' used to distinguish the play field means 'O', not a zero, but a vowel with an order of fifteenth of the English alphabet.
IPv4 주소를 가지는 소스 가상머신(211)을 포함하는 제1하이퍼바이저(210) 또는 제1하이퍼바이저(210)의 라우팅을 담당하는 제1라우터(310)에서 생성한 메시지인 경우에 상기 플래그 필드 'O'에는 숫자 '1'이 기록되고, IPv6 서비스를 제공하게 되는 타깃 가상머신(221)을 탑재한 제2하이퍼바이저(220) 또는 제2하이퍼바이저(220)의 라우팅을 담당하는 제2라우터(320)에서 생성한 메시지인 경우에 상기 플래그 필드 'O'에 숫자 '0'이 기록된다. In the case of a message generated by the
플래그 필드 'H'는 제어 메시지를 보내는 주체가 라우터 또는 하이퍼바이저인지를 나타낸다. 하이퍼바이저(210, 220)에서 생성한 제어 메시지인 경우에 플래그 필드 'H'에는 숫자 '1'이 기록되고 그렇지 않은 경우에는 숫자 '0'이 기록된다.The flag field 'H' indicates whether the subject sending the control message is a router or a hypervisor. In the case of the control message generated by the
플래그 필드 'S'에는 맵 캐시(311, 321, 331)에서 IPv6 주소를 기본적으로 사용할지 여부를 결정하는 정보가 기록된다. 상기 플래그 필드 'S'에 숫자 '1'이 기록되면 IPv6 주소를 기본적으로 사용하고, 숫자 '0'이 기록되면 IPv4 주소를 기본적으로 사용한다. In the flag field 'S', information for determining whether the IPv6 address is basically used in the map cache 311, 321, and 331 is recorded. If the number '1' is recorded in the flag field 'S', the IPv6 address is basically used. If the number '0' is recorded, the IPv4 address is basically used.
플래그 필드 'C'에는 라우터(310, 320, 330)의 맵 캐시(311, 321, 331)에 대한 업데이트 정보가 기록된다. 상기 플래그 필드 'C'에 숫자 '1'이 기록되면, 제어 메시지를 수신한 라우터(310, 320, 330)는 상기 제어 메시지에 포함된 구형 식별자와 신형 식별자를 토대로 맵 캐시(311, 321, 331)를 업데이트한다.Update information for the map cache 311, 321, and 331 of the
구형 식별자(Old EID) 필드에는 IPv4 형식의 식별자가 기록되고, 신형 식별자(New EID) 필드에는 IPv6 형식의 식별자가 기록된다.An identifier in the IPv4 format is recorded in the old identifier (Old EID) field, and an identifier in the IPv6 format is recorded in the new identifier (New EID) field.
라우터(310, 320, 330)는 제어 메시지에 포함된 각 플래그 필드를 확인하고, 후술하는 바와 같이 각각의 플래그 필드를 토대로 마이그레이션을 위한 절차를 수행한다. 또한, 라우터(310, 320, 330)는 패킷을 수신하고, 이 패킷의 목적지 주소인 IPv4 식별자와 매핑된 IP 플래그가 '1'로 설정된 것을 매핑 정보에 확인한 경우에, 패킷 헤더의 목적지 주소를 상기 IPv4 식별자와 매핑된 IPv6 식별자로 변경한 후, 이 패킷에 LISP 헤더를 추가하여 목적지로 발송한다.The
상기 매핑 시스템(500)은 각 라우터(310, 320, 330)에 저장된 매핑 정보를 취합하여, 통합 데이터베이스(이하, '통합 DB'로 지칭함)(600)에 저장한다. 또한, 매핑 시스템(500)은 특정 식별자에 대한 매핑 정보를 라우터(310, 320, 330)로부터 요청받으면, 상기 식별자를 가지는 매핑 정보를 통합 DB(600)에서 추출하여, 이 추출한 매핑 정보를 해당 라우터(310, 320, 330)로 전송한다. 또한, 매핑 시스템(500)은 변경된 매핑 정보를 라우터(310, 320, 330)로부터 수신하면, 이 매핑 정보를 통합 DB(600)에 반영하여 통합 데이터베이스를 갱신한다.The
상기 하이퍼바이저(Hypervisor)(210, 220)는 호스트 컴퓨터에서 다수의 운영 체제를 동시에 실행하기 위한 논리적인 플랫폼으로서, 하나 이상의 가상머신을 이용하여 특정 서비스를 실행한다. 즉, 하이퍼바이저(210, 220)의 각각의 서비스를 담당하는 다수의 가상머신을 생성하고, 이 가상머신을 이용하여 다양한 서비스를 제공한다. 상기 하이퍼바이저(210, 220)는 특정 서비스를 담당하기 위해 서버에 탑재될 수 있다. 특히, 하이퍼바이저(210, 220)는 IPv4 기반으로서 서비스를 진행중인 소스 가상머신(211)에 대한 IPv6 전환이 요구되면, 라이브 마이그레이션을 위한 제어 메시지를 생성하고, 이 제어 메시지를 목적지의 하이퍼바이저(220)로 전송함으로써, 소스 가상머신(211)의 IPv4-IPv6 서비스 전환을 위한 라이브 마이그레이션을 수행한다.The
한편, 라이브 마이그레이션이 진행중인 목적지 하이퍼바이저(220)는 라이브 마이그레이션이 종료되면, 마이그레이션이 완료된 타깃 가상머신(221)에 대한 IPv6 식별자를 할당한다. 또한, 라이브 마이그레이션이 진행한 발신지 하이퍼바이저(210)는 라이브 마이그레이션이 종료되면, IPv4 기반으로 서비스 진행하였던 가상머신의 동작을 정지한다.Meanwhile, when the live migration is completed, the
이하, 도 4 내지 도 6를 참조한 설명에서, 제1하이퍼바이저(210) 및 제1라우터(310)가 소스 가상머신(211)과 관련된 노드들이고, 소스 가상머신(211)이 이전되는 타깃 가상머신(221)과 관련된 노드들이 제2라우터(320)와 제2하이퍼바이저(220)인 것으로 가정하여 설명한다.4 to 6, when the
도 4는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템에서 가상머신의 라이브 마이그레이션을 수행하는 과정을 나타내는 도면이다.4 is a diagram illustrating a process of performing live migration of a virtual machine in a LISP network system according to an embodiment of the present invention.
도 4를 참조하면, 제1하이퍼바이저(210)는 IPv4 기반의 서비스를 제공한 소스 가상머신(211)에 대한 IPv6 서비스 전환을 관리자로부터 요구받은 경우에, 라이브 마이그레이션 요청하는 제어 메시지를 제1라우터(310)로 전송한다(S401). 이때, 제1하이퍼바이저(210)는 상기 제어 메시지가 라이브 마이그레이션을 요청하는 것을 의미하기 위하여, 플래그 필드 'O'에 '0', 플래그 필드 'H'에 '1', 플래그 필드 'S'에 '1', 플래그 필드 'C'에 '0'을 각각 기록한다. 또한, 제1하이퍼바이저(210)는 상기 제어 메시지에서 구형 식별자 필드에 제1하이퍼바이저(210)의 식별자를 기록하고, 신형 식별자 필드에 목적지 하이퍼바이저(즉, 제2하이퍼바이저)의 식별자를 기록한다.Referring to FIG. 4, when the
그러면, 제1라우터(310)는 제어 메시지의 각 플래그 필드에 기록된 정보를 확인하여, 이 확인된 정보에 따라 제1하이퍼바이저(210)가 라이브 마이그레이션을 요청하는 것으로 판단한다. 그리고 제1라우터(310)는 제어 메시지의 신형 식별자 필드에 포함된 목적지 하이퍼바이저(즉, 제2하이퍼바이저)의 식별자를 확인하고, 이 식별자와 매핑된 위치자(즉, 제2라우터의 주소)를 맵 캐시(311)에서 확인한다(S403). 이때, 제1라우터(310)는 제2하이퍼바이저(220)의 식별자와 매핑된 위치자가 맵 캐시(311)에서 검색되지 않은 경우, 매핑 시스템(500)으로 상기 식별자와 매핑된 위치자를 요청하고 수신한다. Then, the
다음으로, 제1라우터(310)는 IPv4 식별자로서 더미(dummy)값, IPv6 식별자로서 제2하이퍼바이저(220)의 식별자, 위치자로서 제2라우터(320)의 IP 주소, V6 플래그에 '1'이 각각 기록된 매핑 정보를 맵 캐시(311)에 저장함으로써, 맵 캐시(311)를 갱신한다(S405). 이어서, 제1라우터(310)는 상기 더미값을 제1하이퍼바이저(210)로 전송한다(S407). Next, the
그러면, 제1하이퍼바이저(210)는 마이그레이션 대상이 되는 소스 가상머신(211)의 메모리 덤프를 획득하고(S409), 이 메모리 덤프가 포함된 패킷을 제1라우터(310)로 전송한다(S411). 이때, 제1하이퍼바이저(210)는 상기 패킷의 발신지 주소를 자기 자신의 IP 주소로 설정하고 상기 패킷의 목적지 주소를 상기 더미값으로 설정하여, 상기 패킷을 발송한다.Then, the
그러면, 제1라우터(310)는 상기 더미값과 매핑되는 IPv6 식별자(즉, 제2하이퍼바이저의 IPv6 주소)를 맵 캐시(311)에서 확인하고, 상기 패킷의 목적지 주소를 더미값에서 상기 확인한 IPv6 식별자로 변경한다(S413). 이어서, 제1라우터(310)는 메모리 덤프 패킷에 LISP 헤더를 추가하여 캡슐화하고, 메모리 덤프 패킷을 제2라우터(320)로 전송한다(S415, S417). 이때, 제1라우터(310)는 발신지 주소로서 자신의 IP 주소가 기록되고, 목적지 주소로서 제2라우터(320)의 IP 주소가 기록된 LISP 헤더를 상기 메모리 덤프 패킷에 추가한다.Then, the
다음으로, 제2라우터(320)는 상기 LISP 헤더를 제거하여 메모리 덤프 패킷의 캡슐화를 해제(즉, 디캡슐레이션)하고, 캡슐화 해제된 헤더의 목적지 주소를 참조하여, 상기 메모리 덤프 패킷을 제2하이퍼바이저(220)로 전송한다(S419). Next, the
그러면, 제2하이퍼바이저(220)는 상기 메모리 덤프 패킷을 참조하여, 마이그레이션의 이전 장소가 되는 타깃 가상머신(221)을 생성하고, 생성한 타깃 가상머신(221)에 제1하이퍼바이저(210)의 소스 가상머신(211)의 기능을 이전함으로써, 가상머신의 마이그레이션을 진행한다(S421).The
도 5는 본 발명의 일 실시예에 따른, LISP 네트워크 시스템에서 가상머신의 마이그레이션에 따라 네트워크 설정을 변경하는 방법을 설명하는 흐름도이다.FIG. 5 is a flowchart illustrating a method for changing a network configuration according to a migration of a virtual machine in a LISP network system according to an embodiment of the present invention.
도 5를 참조하면, 제2하이퍼바이저(220)는 가상머신 마이그레이션을 완료하면, 마이그레이션이 완료되었음을 알리는 제어 메시지를 제2라우터(320)로 전송한다(S501). 이때, 제2하이퍼바이저(220)는 플래그 필드 '0'에 '1', 플래그 필드 'H'에 '1', 플래그 필드 'S'에 '0', 플래그 필드 'C'에 '0'이 기록되고, 구형 식별자 필드에 소스 가상머신(211)의 식별자, 신형 식별자 필드에 'null'이 기록된 상기 제어 메시지를 상기 제2라우터(320)로 전송한다.Referring to FIG. 5, when the
그러면, 제2라우터(320)는 제어 메시지에 포함된 각 플래그 필드를 확인하고, 이 플래그 필드에 기록된 데이터가 '0=1', 'H=1', 'S=0', 'C=0'임을 확인하고, 이에 따라 가상머신의 마이그레이션이 완료된 것으로 판단한다. 그리고 제2라우터(320)는 마이그레이션 완료된 가상머신에 대한 새로운 IPv6 식별자(즉, IPv6 주소)를 생성한다(S503). 이때, 제2라우터(320)는 사전에 설정된 64 비트의 IPv6 프리픽스(prefix), 32 비트의 난수값 및 구형 식별자 필드에 기록된 32비트의 IPv4 주소를 결합하여, IPv6 식별자를 생성할 수 있다.Then, the
이어서, 제2라우터(320)는 상기 생성한 IPv6 식별자가 신형 식별자 필드에 기록된 제어 메시지를 제2하이퍼바이저(220)로 전송한다(S505). 상기 제어 메시지에는 구형 식별자 필드에 소스 가상머신(211)의 식별자가 기록되고, 또한 각 플래그 필드 'O', 'H', 'S', 'C' 각각에는 '1', '0', '1', '0'이 기록된다.Then, the
그러면, 제2하이퍼바이저(220)는 제어 메시지에 포함된 각 플래그 필드를 확인하고, 이 플래그 필드에 기록된 데이터가 '0=1', 'H=0', 'S=1', 'C=0'임을 확인하고, 이 플래그 필드의 조합에 따라 타깃 가상머신(221)의 IPv6가 할당된 것으로 판단한다. 그리고 제2하이퍼바이저(220)는 상기 제어 메시지의 신형 식별자 필드에 포함된 IPv6 식별자를 확인한다. 이어서, 제2하이퍼바이저(220)는 타깃 가상머신(221)에 새로운 가상 네트워크 인터페이스를 생성하고, 이 가상 네트워크 인터페이스의 IP 주소를 상기 확인한 IPv6 식별자로 설정한다(S507). 즉, 제2하이퍼바이저(220)는 마이그레이션이 완료된 타깃 가상머신(221)의 식별자를 상기 제2라우터(320)에서 생성한 IPv6 식별자로 할당한다.Then, the
다음으로, 제2라우터(320)는 S503 단계에서 생성한 IPv6 식별자를 반영하여 맵 DB(322)에 저장된 매핑 정보를 갱신한다(S509). 즉, 제2라우터(320)는 소스 가상머신의 IPv4 식별자, 마이그레이션된 타깃 가상머신(221)의 IPv6 식별자, 자신의 주소(즉, RLOC) 및 V6 플래그가 '1'이 매핑된 매핑 정보를 맵 DB(322)에 반영하여 매핑 정보를 갱신한다.Next, the
이어서, 제2라우터(320)는 변경된 매핑 정보가 포함된 제어 메시지를 제1라우터(310) 및 매핑 시스템(500)으로 전송한다(S511, S513). 이때, 제2라우터(320)는 상기 제어 메시지의 플래그 필드 'O', 'H', 'S', 'C'에 '1', '0', '1', '0'을 기록하고, 또한 구형 식별자 필드에 소스 가상머신(211)의 IPv4 식별자(즉, IPv4 주소), 신형 식별자 필드에 타깃 가상머신(221)의 IPv6 식별자(즉, IPv6 주소)를 각각 기록한다.Then, the
그러면, 매핑 시스템(500)은 제2라우터(320)로부터 수신한 상기 제어 메시지에 포함된 구형 식별자 필드에 포함된 IPv4 식별자 및 신형 식별자 필드에 포함된 IPv6 식별자를 확인하고, 상기 IPv4 식별자, IPv6 식별자, 위치자(즉, 제2라우터의 IP 주소) 및 V6 플래그가 '1'로 설정된 매핑 정보를 통합 DB(600)에 반영하여, 통합 DB(600)의 매핑 정보를 갱신한다(S515). Then, the
또한, 제1라우터(310)는 제2라우터(320)로부터 수신한 제어 메시지에 포함된 플래그 필드 추출하고, 플래그 필드에 기록된 데이터가 '0=1', 'H=0', 'S=1', 'C=0'임에 따라, 예전 매핑 데이터 삭제와 타 라우터의 매핑 정보를 갱신하는 절차를 진행한다. 즉, 제1라우터(310)는 제2라우터(320)로부터 수신한 제어 메시지의 구형 식별자 필드에서 IPv4 식별자를 확인하고, 이 IPv4 식별자를 가지는 매핑 정보를 맵 DB(312)에서 삭제하여, 소스 가상머신의 예전 매핑 정보를 삭제한다(S517). 이어서, 제1라우터(310)는 소스 가상머신(211)과 통신하였던 타 라우터를 맵 캐시(311)에서 확인하고, 이렇게 확인한 각각의 타 라우터들(311)로 변경된 매핑 정보가 포함된 제어 메시지를 발송한다(S519). 이때, 제1라우터(310)는 상기 제어 메시지의 플래그 필드 'O', 'H', 'S', 'C'에 '0', '0', '1', '1'을 기록하고, 또한 구형 식별자 필드에 소스 가상머신(211)의 IPv4 식별자를 기록하며, 신형 식별자 필드에 타깃 가상머신(221)의 IPv6 식별자를 기록한다. 도 5를 참조한 설명에서는 제3라우터(330)가 소스 가상머신(211)과 통신중인 노드인 것으로 설명된다.The
제3라우터(330)는 제1라우터(310)로부터 변경된 매핑 정보가 포함된 제어 메시지를 수신하고, 이 제어 메시지에 포함된 플래그 필드 추출한다. 그리고 제3라우터(330)는 플래그 필드에 기록된 데이터가 '0=0', 'H=0', 'S=1', 'C=1'임에 따라, 상기 제어 메시지가 맵 캐시(331)의 업데이트를 지시하는 메시지인 것으로 판단한다. 이어서, 제3라우터(330)는 상기 제어 메시지의 구형 식별자 필드에 포함된 IPv4 식별자 및 신형 식별자 필드에 포함된 IPv6 식별자를 확인하고, 상기 IPv4 식별자, IPv6 식별자, 위치자(즉, 제2라우터의 IP 주소) 및 V6 플래그가 '1'이 매핑된 매핑 정보를 반영하여 맵 캐시(331)의 매핑 정보를 갱신한다(S521).The
제1라우터(310)는 타 라우터(330)의 맵 캐시(331)의 갱신이 완료되면, 전체 네트워크의 정보가 갱신되었음을 알리는 메시지를 제1하이퍼바이저(210)로 전송한다(S523).When the update of the map cache 331 of the
그러면, 제1하이퍼바이저(210)는 소스 가상머신(211)의 동작을 중지하여 소스 가상머신(211)을 통해서 IPv4 기반의 서비스가 진행되지 않게 제어하고, 제2하이퍼바이저(220)에 포함된 타깃 가상머신(221)을 통해서 IPv6 기반의 서비스가 진행되게 한다(S525).The
도 6은 본 발명의 일 실시예에 따른, 라이브 마이그레이션이 완료된 LISP 네트워크 시스템에서, 패킷의 목적지 주소를 소스 가상머신의 식별자에서 타깃 가상머신의 식별자로 변환하여 패킷을 라우팅하는 방법을 설명하는 흐름도이다.6 is a flowchart illustrating a method of routing a packet by converting a destination address of a packet from an identifier of a source virtual machine to an identifier of a target virtual machine in a LISP network system in which live migration has been completed according to an embodiment of the present invention .
도 6을 참조한 설명에서는, 클라이언트 단말(400)이 소스 가상머신(211)의 IPv4 식별자를 이용하여 서비스를 요청하는 것으로 설명된다.In the description with reference to FIG. 6, it is described that the
도 6을 참조하면, 클라이언트 단말(400)은 소스 가상머신의 IPv4 식별자(즉, IPv4 주소)가 목적지 주소로서 설정된 패킷을 제3라우터(330)로 전송한다(S601).Referring to FIG. 6, the
그러면, 제3라우터(330)는 상기 패킷에서 목적지 주소인 IPv4 식별자를 확인하고(S603), 이 IPv4 식별자와 매핑된 매핑 정보(즉, IPv6 식별자, 위치자 및 V6 플래그)를 맵 캐시(331)에 확인한다(S605). 한편, 제3라우터(330)는 상기 IPv4 식별자와 매핑된 매핑 정보가 맵 캐시(331)에 미저장된 경우에, 매핑 시스템(500)으로부터 해당 매핑 정보를 요청하여 수신할 수 있다.In step S603, the
이어서, 제3라우터(330)는 상기 확인한 매핑 정보 중에서 V6 플래그가 '1'로 설정되어 있는지를 판별한다. 그리고 제3라우터(330)는 상기 V6 플래그가 '1'로 설정되어 있으면, 목적지의 타깃 가상머신(221)이 IPv6 주소를 기본적으로 사용하는 것으로 판별하여 상기 IPv4 식별자와 대응되는 IPv6 식별자를 매핑 정보에서 확인하고, 상기 패킷의 목적지 주소를 IPv4 식별자에서 IPv6 식별자로 변경한다(S607). Then, the
이어서, 제3라우터(330)는 상기 패킷에 LISP 헤더를 추가하여 해당 패킷을 캡슐화하고(S609), 매핑 정보에서 위치자에 해당하는 제2라우터(320)로 상기 캡슐화된 패킷을 전송한다(S611). 이때, 제3라우터(330)는 발신지 주소로서 자신의 IP 주소가 기록되고, 목적지 주소로서 제2라우터(320)의 IP 주소가 기록된 LISP 헤더를 상기 패킷에 추가하여 이 패킷을 캡슐화한다. Then, the
한편, 제3라우터(330)는 V6 플래그가 '0'으로 설정된 경우에, 타깃 가상머신(221)이 IPv4 주소를 기본적으로 사용하는 것으로 판단하여, 목적지 주소 변환을 수행하지 않고, 해당 패킷에 LISP 헤더를 추가한다.On the other hand, when the V6 flag is set to '0', the
다음으로, 제2라우터(320)는 상기 LISP 헤더를 제거하여 패킷의 캡슐화를 해제(즉, 디캡슐레이션)하고(S613), 캡슐화 해제된 헤더의 목적지 주소(즉, 타깃 가상머신의 식별자)를 참조하여, 상기 패킷을 제2하이퍼바이저(220)로 전송한다(S615). 그러면, 제2하이퍼바이저(220)의 타깃 가상머신(221)은 상기 패킷을 확인하고, 이 패킷에 따른 동작을 수행한다.Next, the
도 7은 본 발명의 일 실시예에 따른, 라우터에서 제어 메시지가 처리되는 방법을 설명하는 흐름도이다.7 is a flowchart illustrating a method of processing a control message in a router according to an embodiment of the present invention.
도 7을 참조하면, 라우터(310, 320, 330)는 타 라우터(310, 320, 330) 또는 하이퍼바이저(210, 220)로부터 제어 메시지를 수신한다(S701). 즉, 라우터(310, 320, 330)는 타입(Type) 필드에 숫자 '6'이 기록된 제어 메시지를 수신한다.Referring to FIG. 7,
그러면, 라우터(310, 320, 330)는 상기 제어 메시지가 유효한 메시지인지 여부를 검증하고, 유효한 메시지가 아니면 상기 제어 메시지를 폐기한다. Then, the
반면에, 라우터(310, 320, 330)는 상기 제어 메시지가 유효한 메시지이면, 이 제어 메시지의 각 플래그 필드에 기록된 정보를 추출한다(S703).On the other hand, if the control message is a valid message, the
이어서, 라우터(310, 320, 330)는 플래그 필드 'H'에 '1'이 기록되고, 플래그 필드 'O'에 '1'이 기록되어 있는지 여부를 확인하여 기록된 경우에(S705), 타깃 가상머신(221)을 포함하는 하이퍼바이저에서 가상머신의 마이그레이션이 완료된 것으로 판단한다. 즉, 하이퍼바이저에서 제어 메시지를 발송하였음을 나타내는 정보(즉, '1')가 플래그 필드 'H'에 기록되고, IPv6 서비스를 제공하는 타깃 가상머신(221)와 관련된 노드에서 제어 메시지를 발송하였음을 나타내는 정보(즉, '1')가 플래그 필드 'O'에 기록되는 경우에, 라우터(310, 320, 330)는 해당 하이퍼바이저에서 가상머신의 마이그레이션이 완료된 것으로 판단한다. 그리고 라우터(310, 320, 330)는 타깃 가상머신(221)에서 사용되는 IPv6 식별자를 생성하고, IPv6 식별자를 신형 식별자 필드에 기록하여 제어 메시지를 타깃 가상머신을 포함하는 하이퍼바이저로 전송한다(S707). The
반면에, 라우터(310, 320, 330)는 플래그 필드 'H'에 '1', 플래그 필드 '0'에 '0', 플래그 필드 'S'에 '1'이 기록된 경우에(S709), 제어 메시지를 발송한 하이퍼바이저에서 가상머신의 라이브 마이그레이션을 시도하는 것으로 판단한다(S709). 즉, 하이퍼바이저에서 제어 메시지를 발송하였음을 나타내는 정보(즉, '1')가 플래그 필드 'H'에 기록되고, IPv4 서비스를 제공하는 소스 가상머신(211)과 연관된 노드에서 메시지를 생성하였음을 나타내는 정보(즉, '0')가 플래그 필드 'O'에 기록되며 IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 정보(즉, '1')가 플래그 필드 'S'에 기록된 경우에, 라우터(310, 320, 330)는 상기 제어 메시지를 발송한 하이퍼바이저에서 가상머신의 라이브 마이그레이션을 시도하는 것으로 판단한다. 그리고 라우터(310, 320, 330)는 IPv4 식별자에 더미(dummy)값, IPv6 식별자에 목적지 하이퍼바이저의 식별자, 위치자에 목적지 라우터의 IP 주소, V6 플래그에 '1'이 각각 기록된 매핑 정보를 맵 캐시에 저장하고, 더미값을 제어 메시지를 발송한 하이퍼바이저로 전송한다(S711).On the other hand, when the
또한, 라우터(310, 320, 330)는 플래그 필드 'H'에 '0', 플래그 필드 'S'에 '1', 플래그 필드 'C'에 '1'이 기록된 경우에(S713), 맵 캐시(311, 321, 331)의 업데이트를 지시하는 제어 메시지인 것으로 판단한다. 즉, 라우터(310, 320, 330)는 하이퍼바이저에서 제어 메시지를 발송하지 않음을 나타내는 정보(즉, '0')가 플래그 필드 'H'에 기록되고, IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 정보(즉, '1')가 플래그 필드 'S'에 기록되고, 맵 캐시 업데이트를 의미하는 정보(즉, '1')이 플래그 필드 'C'에 기록된 경우, 상기 제어 메시지가 맵 캐시 업데이트를 지시하는 메시지인 것으로 판단한다. 그리고 라우터(310, 320, 330)는 상기 제어 메시지의 구형 식별자 필드에 기록된 IPv4 식별자 및 신형 식별자 필드에 포함된 IPv6 식별자를 확인하고, 상기 IPv4 식별자, IPv6 식별자, 위치자 및 V6 플래그가 '1'로 설정된 매핑 정보를 맵 캐시(311, 321, 331)에 반영하여 맵 캐시(311, 321, 331)의 매핑 정보를 갱신한다(S715).When the
또한, 라우터(310, 320, 330)는 플래그 필드 'H'에 '0', 플래그 필드 'S'에 '1', 플래그 필드 'C'에 '0'이 기록된 경우에(S717), 소스 가상머신(211)와 관련된 매핑 정보 삭제를 지시하는 제어 메시지인 것으로 판단한다. 부연하면, 라우터(310, 320, 330)는 하이퍼바이저에서 제어 메시지를 발송하지 않음을 나타내는 정보(즉, '0')가 플래그 필드 'H'에 기록되고, IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 정보(즉, '1')가 플래그 필드 'S'에 기록되고, 맵 캐시 업데이트를 요구하지 않은 정보(즉, '0')가 플래그 필드 'C'에 기록된 경우, 소스 가상머신(211)의 매핑 정보 삭제를 지시하는 제어 메시지인 것으로 판단한다. 그리고 라우터(310, 320, 330)는 상기 제어 메시지의 구형 식별자 필드에서 IPv4 식별자를 확인하고, 이 IPv4 식별자를 가지는 매핑 정보가 맵 DB(312, 322, 332)에 저장되어 있는지 여부를 확인하고(S719), 저장되지 않은 경우 해당 제어 메시지를 폐기한다(S727).If the
반면에, 라우터(310, 320, 330)는 IPv4 식별자를 가지는 매핑 정보가 맵 DB(312, 322, 332)에 저장되어 있으면, 해당 매핑 정보를 맵 DB(312, 322, 332)에서 삭제한다(S721). 이어서, 라우터(310, 320, 330)는 소스 가상머신(211)과 통신하였던 타 라우터를 맵 캐시(311, 321, 331)에서 확인하고, 이렇게 확인한 각각의 타 라우터들로 변경된 매핑 정보를 맵 캐시(311, 321, 331)에 반영하기 위한 제어 메시지를 발송한다(S723). 이때, 라우터(310, 320, 330)는 상기 제어 메시지의 플래그 필드 'O', 'H', 'S', 'C'에 '0', '0', '1', '1'을 기록하고, 또한 구형 식별자 필드에 소스 가상머신(211)의 IPv4 식별자를 기록하며, 신형 식별자 필드에 타깃 가상머신(221)의 IPv6 식별자를 기록한다. On the other hand, if mapping information having an IPv4 identifier is stored in the map DBs 312, 322, and 332, the
한편, S717 단계에서 라우터(310, 320, 330)는 'H'에 '0', 플래그 필드 'S'에 '1', 플래그 필드 'C'에 '0'이 기록되지 않은 경우, 허락되지 않은 플래그 정보 조합이 제어 메시지에 기록된 것으로 판단하여, 제어 메시지를 폐기한다(S727). On the other hand, if it is determined in step S717 that the
상술한 바와 같이, 본 발명에 따른 LISP 네트워크 시스템은 별도의 장비를 증설하지 않고, 가상머신의 라이브 마이그레이션을 통해, IPv4-IPv6 서비스 전환을 실행함으로써, IPv4-IPv6 서비스 전환시에 투입되는 비용을 절감한다. 또한, 본 발명에 따른 LISP 네트워크 시스템은, 가상머신의 라이브 마이그레이션을 통해 생성된 매핑 정보를 라우터와 매핑 시스템으로 즉시 전송하여, 해당 라우터와 매핑 시스템의 매핑 정보를 즉각적으로 업데이트함으로써, IPv4-IPv6 서비스 전환시에 발생되는 서비스 중단을 최소화한다. As described above, the LISP network system according to the present invention performs IPv4-IPv6 service switching through live migration of a virtual machine without adding additional equipment, thereby reducing the cost of switching the IPv4-IPv6 service do. In the LISP network system according to the present invention, the mapping information generated through the live migration of the virtual machine is immediately transmitted to the router and the mapping system, and the mapping information of the corresponding router and the mapping system is immediately updated, Minimize service interruptions that occur during the switchover.
본 명세서는 많은 특징을 포함하는 반면, 그러한 특징은 본 발명의 범위 또는 특허청구범위를 제한하는 것으로 해석되어서는 안 된다. 또한, 본 명세서에서 개별적인 실시예에서 설명된 특징들은 단일 실시예에서 결합되어 구현될 수 있다. 반대로, 본 명세서에서 단일 실시예에서 설명된 다양한 특징들은 개별적으로 다양한 실시예에서 구현되거나, 적절히 결합되어 구현될 수 있다.While the specification contains many features, such features should not be construed as limiting the scope of the invention or the scope of the claims. In addition, the features described in the individual embodiments herein may be combined and implemented in a single embodiment. Conversely, various features described in the singular < Desc /
도면에서 동작들이 특정한 순서로 설명되었으나, 그러한 동작들이 도시된 바와 같은 특정한 순서로 수행되는 것으로, 또는 일련의 연속된 순서, 또는 원하는 결과를 얻기 위해 모든 설명된 동작이 수행되는 것으로 이해되어서는 안 된다. 특정 환경에서 멀티태스킹 및 병렬 프로세싱이 유리할 수 있다. 아울러, 상술한 실시예에서 다양한 시스템 구성요소의 구분은 모든 실시예에서 그러한 구분을 요구하지 않는 것으로 이해되어야 한다. 상술한 프로그램 구성요소 및 시스템은 일반적으로 단일 소프트웨어 제품 또는 멀티플 소프트웨어 제품에 패키지로 구현될 수 있다.Although the operations have been described in a particular order in the figures, it should be understood that such operations are performed in a particular order as shown, or that all described operations are performed to obtain a sequence of sequential orders, or a desired result . In certain circumstances, multitasking and parallel processing may be advantageous. It should also be understood that the division of various system components in the above embodiments does not require such distinction in all embodiments. The above-described program components and systems can generally be implemented as a single software product or as a package in multiple software products.
상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(시디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.The method of the present invention as described above can be implemented by a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto optical disk, etc.). Such a process can be easily carried out by those skilled in the art and will not be described in detail.
이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. The present invention is not limited to the drawings.
210 : 제1하이퍼바이저 211 : 소스 가상머신
220 : 제2하이퍼바이저 221 : 타깃 가상머신
310 : 제1라우터 311, 321, 331 : 맵 캐시
312, 322, 332 : 맵 DB 320 : 제2라우터
330 : 제3라우터 400 : 클라이언트 단말
500 : 매핑 시스템 600 : 통합 DB210: first hypervisor 211: source virtual machine
220: Second hypervisor 221: Target virtual machine
310: first router 311, 321, 331: map cache
312, 322, 332: map DB 320: second router
330
500: mapping system 600: integrated DB
Claims (18)
제2하이퍼바이저가, 제1하이퍼바이저에 포함된 소스 가상머신의 마이그레이션을 위한 패킷을 수신하여 상기 소스 가상머신을 타깃 가상머신으로 마이그레이션하는 단계;
제2하이퍼바이저를 관할하는 제2라우터가, 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신에 할당된 IPv6 식별자가 매핑된 매핑 정보를 맵 데이터베이스에 반영하여 상기 맵 데이터베이스를 갱신하는 단계;
상기 제2라우터가, 상기 제1하이퍼바이저를 관할하는 제1라우터로 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신의 IPv6 식별자를 전송하는 단계; 및
상기 제1라우터가, 상기 소스 가상머신과 통신한 하나 이상의 타 라우터로 확인하고, 상기 하나 이상의 타 라우터로 상기 소스 가상머신의 IPv4 식별자와 상기 타깃 가상머신의 IPv6 식별자를 전송하여, 상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 단계;를 포함하는 IPv4-IPv6 서비스 전환 방법.Locator ID Separation Protocol (LISP) As a method for switching services from IPv4 to IPv6 through migration of virtual machines in a network system,
Receiving a packet for migration of a source virtual machine included in a first hypervisor and migrating the source virtual machine to a target virtual machine;
Updating the map database by reflecting, in the map database, the mapping information that the second router managing the second hypervisor maps the IPv4 identifier of the source virtual machine and the IPv6 identifier assigned to the target virtual machine;
Transmitting, by the second router, an IPv4 identifier of the source virtual machine and an IPv6 identifier of the target virtual machine to a first router that is in charge of the first hypervisor; And
Wherein the first router identifies the router as one or more other routers communicating with the source virtual machine and transmits the IPv4 identifier of the source virtual machine and the IPv6 identifier of the target virtual machine to the one or more other routers, And updating the mapping information stored in the router.
상기 마이그레이션하는 단계는,
상기 제1라우터가, 상기 제1하이퍼바이저로부터 마이그레이션을 요청하는 제어 메시지를 수신하는 단계; 및
상기 제1라우터가, 상기 제1하이퍼바이저로부터 상기 소스 가상머신의 메모리 덤프가 포함된 패킷을 수신하여, 이 패킷을 상기 제2라우터를 통해 상기 제2하이퍼바이저로 전송하는 단계;를 포함하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 1,
Wherein the migrating comprises:
The first router receiving a control message requesting migration from the first hypervisor; And
The first router receiving a packet including a memory dump of the source virtual machine from the first hypervisor and transmitting the packet through the second router to the second hypervisor A method for switching an IPv4-IPv6 service.
상기 마이그레이션하는 단계는,
상기 제1라우터가, IPv4 식별자로서 더미값이 설정되고 IPv6 식별자로서 제2하이퍼바이저의 식별자가 설정된 매핑 정보를 맵 캐시에 저장하는 단계;
상기 제1라우터가 상기 더미값을 상기 제1하이퍼바이저로 전송하는 단계; 및
상기 제1라우터가 상기 메모리 덤프가 포함되고 목적지 주소로서 상기 더미값이 설정된 패킷을 상기 제1하이퍼바이저로부터 수신하고, 이 수신한 패킷의 목적지 주소를 상기 더미값에서 상기 제2하이퍼바이저의 식별자로 변경하는 단계;를 포함하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.3. The method of claim 2,
Wherein the migrating comprises:
The first router storing mapping information in which the dummy value is set as the IPv4 identifier and the identifier of the second hypervisor as the IPv6 identifier is set in the map cache;
The first router sending the dummy value to the first hypervisor; And
The first router receives from the first hypervisor a packet including the memory dump and the dummy value set as the destination address, and changes the destination address of the received packet from the dummy value to the identifier of the second hypervisor And converting the IPv4-IPv6 service to the IPv4-IPv6 service.
상기 제어 메시지를 수신하는 단계는,
하이퍼바이저에서 상기 제어 메시지를 발송하였음을 나타내는 플래그, IPv4 서비스를 제공하는 소스 가상머신과 관련된 노드에서 상기 제어 메시지를 생성함을 나타내는 플래그 및 IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 플래그가 상기 제어 메시지에 기록된 경우에, 상기 제1라우터가, 상기 제어 메시지를 마이그레이션을 요청하는 메시지인 것으로 판단하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 2 or 3,
Wherein the receiving the control message comprises:
A flag indicating that the control message has been sent from the hypervisor, a flag indicating that the control message is generated at the node related to the source virtual machine providing the IPv4 service, and a flag indicating that the IPv6 identifier is used as the base address, Wherein the first router determines that the control message is a message for requesting migration.
상기 맵 데이터베이스를 갱신하는 단계는,
상기 제2라우터가, 상기 제2하이퍼바이저로부터 마이그레이션의 완료를 나타내는 제어 메시지를 수신하는 단계; 및
상기 제2라우터가, 상기 타깃 가상머신의 IPv6 식별자를 생성하고, 이 IPv6 식별자를 상기 제2하이퍼바이저로 전송하여, 상기 타깃 가상머신의 IP 주소를 상기 IPv6 식별자로 할당하는 단계;를 포함하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 1,
Wherein updating the map database comprises:
The second router receiving a control message indicating completion of migration from the second hypervisor; And
And the second router generates an IPv6 identifier of the target virtual machine and transmits the IPv6 identifier to the second hypervisor to assign the IP address of the target virtual machine to the IPv6 identifier A method for switching an IPv4-IPv6 service.
상기 제어 메시지를 수신하는 단계는,
하이퍼바이저에서 제어 메시지를 발송하였음을 나타내는 플래그 및 IPv6 서비스를 제공하는 노드에서 생성한 메시지임을 나타내는 플래그가 상기 제어 메시지에 기록된 경우에, 상기 제2라우터가, 상기 제어 메시지를 마이그레이션 완료를 나타내는 것으로 판단하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.6. The method of claim 5,
Wherein the receiving the control message comprises:
A flag indicating that a control message has been sent by the hypervisor, and a flag indicating that the message is generated by a node providing IPv6 service, is recorded in the control message, the second router indicates completion of migration of the control message The method comprising the steps of:
상기 타깃 가상머신의 IPv6 식별자를 전송하는 단계 이후에,
상기 제1라우터가, 상기 소스 가상머신의 IPv4 식별자와 매핑된 예전 매핑 정보를 삭제하는 단계;를 더 포함하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 1,
After transmitting the IPv6 identifier of the target virtual machine,
Further comprising the step of the first router deleting the old mapping information mapped with the IPv4 identifier of the source virtual machine.
상기 예전 매핑 정보를 삭제하는 단계는,
상기 제1라우터가 상기 제2라우터로부터 제어 메시지를 수신하고, 하이퍼바이저에서 제어 메시지를 발송하지 않음을 나타내는 플래그, IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 플래그 및 맵 캐시 업데이트를 요구하지 않은 플래그가 상기 제어 메시지에 기록된 경우, 상기 소스 가상머신의 IPv4 식별자와 매핑된 예전 매핑 정보를 삭제하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.8. The method of claim 7,
Wherein the step of deleting the old mapping information comprises:
A flag indicating that the first router receives the control message from the second router, a flag indicating that the control message is not dispatched from the hypervisor, a flag indicating that the IPv6 identifier is used as the base address, and a flag not requesting the map cache update Wherein the old mapping information mapped with the IPv4 identifier of the source virtual machine is deleted when the control message is recorded in the control message.
상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 단계는,
상기 제1라우터가, 상기 하이퍼바이저에서 제어 메시지를 발송하지 않음을 나타내는 플래그, IPv6 식별자를 기본 주소로 사용하는 것을 나타내는 플래그 및 맵 캐시 업데이트를 요구하는 플래그가 포함된 제어 메시지를 상기 하나 이상의 타 라우터로 전송하여, 상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 1,
Wherein the updating of the mapping information stored in the one or more other routers comprises:
The first router transmits a control message including a flag indicating that the control message is not sent from the hypervisor, a flag indicating that the IPv6 identifier is used as a base address, and a flag requesting a map cache update to the one or more other routers And updates the mapping information stored in the one or more other routers.
상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 단계 이후에,
상기 제1하이퍼바이저가, 상기 소스 가상머신의 동작을 중지하는 단계;를 더 포함하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.The method according to claim 1,
After updating the mapping information stored in the one or more other routers,
And stopping the operation of the source virtual machine by the first hypervisor.
IPv4 기반의 서비스를 수행하는 소스 가상머신을 포함하는 제1하이퍼바이저;
상기 제1하이퍼바이저의 라우팅을 담당하는 제1라우터;
타깃 가상머신을 생성하고 상기 소스 가상머신의 마이그레이션을 위한 패킷을 수신하여, 상기 소스 가상머신을 상기 타깃 가상머신으로 마이그레이션하는 제2하이퍼바이저; 및
제2하이퍼바이저의 라우팅을 담당하고, 상기 타깃 가상머신에 할당된 IPv6 식별자와 상기 소스 가상머신의 IPv4 식별자가 매핑된 매핑 정보를 맵 데이터베이스에 반영하여 상기 맵 데이터베이스를 갱신하고, 상기 제1라우터로 상기 타깃 가상머신의 IPv6 식별자와 소스 가상머신의 IPv4 식별자를 전송하는 제2라우터;를 포함하고,
상기 제1라우터는,
상기 소스 가상머신과 통신한 하나 이상의 타 라우터로 확인하고, 상기 하나 이상의 타 라우터로 상기 타깃 가상머신의 IPv6 식별자와 소스 가상머신의 IPv4 식별자를 전송하여, 상기 하나 이상의 타 라우터에 저장된 매핑 정보를 갱신하는 것을 특징으로 하는 LISP 네트워크 시스템.LISP (Locator ID Separation Protocol) A LISP network system that converts services from IPv4 to IPv6 through migration of virtual machines in a network environment,
A first hypervisor including a source virtual machine performing an IPv4-based service;
A first router for routing the first hypervisor;
A second hypervisor for creating a target virtual machine, receiving a packet for migration of the source virtual machine, and migrating the source virtual machine to the target virtual machine; And
Updating the map database by reflecting the mapping information in which the IPv6 identifier allocated to the target virtual machine and the IPv4 identifier of the source virtual machine are mapped to the map database, And a second router for transmitting an IPv6 identifier of the target virtual machine and an IPv4 identifier of the source virtual machine,
Wherein the first router comprises:
And transmitting the IPv6 identifier of the target virtual machine and the IPv4 identifier of the source virtual machine to the one or more other routers to update the mapping information stored in the one or more other routers The LISP network system comprising:
상기 제1라우터는,
상기 제1하이퍼바이저로부터 상기 소스 가상머신의 메모리 덤프가 포함된 패킷을 수신하여, 이 패킷을 상기 제2라우터를 통해 상기 제2하이퍼바이저로 전송하는 것을 특징으로 하는 LISP 네트워크 시스템.12. The method of claim 11,
Wherein the first router comprises:
Receives a packet including a memory dump of the source virtual machine from the first hypervisor, and transmits the packet to the second hypervisor through the second router.
상기 제1라우터는,
IPv4 식별자로서 더미값이 설정되고 IPv6 식별자로서 제2하이퍼바이저의 식별자가 설정된 매핑 정보를 맵 캐시에 저장하고, 상기 더미값을 상기 제1하이퍼바이저로 전송한 후, 상기 메모리 덤프가 포함되고 목적지 주소로서 상기 더미값이 설정된 패킷을 상기 제1하이퍼바이저로부터 수신하면, 이 수신한 패킷의 목적지 주소를 상기 더미값에서 상기 제2하이퍼바이저의 식별자로 변경하는 것을 특징으로 하는 LISP 네트워크 시스템.13. The method of claim 12,
Wherein the first router comprises:
Storing a mapping information in which a dummy value is set as an IPv4 identifier and an identifier of a second hypervisor as an IPv6 identifier is set in a map cache, and the dummy value is transmitted to the first hypervisor, When receiving a packet having the dummy value set from the first hypervisor, changing the destination address of the received packet from the dummy value to the identifier of the second hypervisor.
상기 제2라우터는,
상기 제2하이퍼바이저로부터 마이그레이션의 완료를 통보받으면, 상기 타깃 가상머신의 IPv6 식별자를 생성하고, 이 IPv6 식별자를 상기 제2하이퍼바이저로 전송하여, 상기 타깃 가상머신의 IP 주소를 상기 IPv6 식별자로 할당하는 것을 특징으로 하는 LISP 네트워크 시스템.14. The method according to any one of claims 11 to 13,
The second router includes:
When the completion of the migration is notified from the second hypervisor, generating an IPv6 identifier of the target virtual machine, transmitting the IPv6 identifier to the second hypervisor, assigning the IP address of the target virtual machine to the IPv6 identifier The LISP network system comprising:
상기 제1라우터는,
제2라우터로부터 상기 타깃 가상머신의 IPv6 식별자와 소스 가상머신의 IPv4 식별자를 수신하면, 상기 소스 가상머신의 IPv4 식별자와 매핑된 예전 매핑 정보를 삭제하는 것을 특징으로 하는 LISP 네트워크 시스템.14. The method according to any one of claims 11 to 13,
Wherein the first router comprises:
Upon receipt of the IPv6 identifier of the target virtual machine and the IPv4 identifier of the source virtual machine from the second router, deletes the old mapping information mapped with the IPv4 identifier of the source virtual machine.
상기 제1하이퍼바이저는,
매핑 정보의 갱신이 완료되면, 상기 소스 가상머신의 동작을 중지하는 것을 특징으로 하는 LISP 네트워크 시스템.14. The method according to any one of claims 11 to 13,
Wherein the first hypervisor comprises:
And stops the operation of the source virtual machine when the updating of the mapping information is completed.
라우터가, 마이그레이션되기 이전의 소스 가상머신 IPv4 식별자가 목적지 주소로 설정된 패킷을 클라이언트 단말로부터 수신하는 단계;
상기 라우터가, 저장중인 매핑 정보에서 상기 IPv4 식별자와 매핑된 타깃 가상머신의 IPv6 식별자를 확인하는 단계;
상기 라우터가, 상기 패킷의 목적지 주소를 상기 IPv4 식별자에서 상기 IPv6 식별자로 변경하는 단계; 및
상기 라우터가, 상기 목적지 주소가 변경된 패킷에 LISP 헤더를 추가하여 목적지 라우터로 전송하는 단계;를 포함하는 IPv4-IPv6 서비스 전환 방법.A method for switching from IPv4 to IPv6 in a Locator ID Separation Protocol (LISP) network system,
The method comprising the steps of: a router receiving, from a client terminal, a packet in which a source virtual machine IPv4 identifier before migration is set to a destination address;
The router verifying the IPv6 identifier of the target virtual machine mapped with the IPv4 identifier in the mapping information being stored;
The router changing the destination address of the packet from the IPv4 identifier to the IPv6 identifier; And
And adding the LISP header to the packet having the changed destination address and transmitting the LISP header to the destination router.
상기 IPv6 식별자를 변경하는 단계는,
상기 라우터가, 상기 IPv4 식별자와 매핑된 매핑 정보 중에서, IPv6 주소를 기본 주소로 사용하는 것을 나타내는 플래그가 기록되어 있는지 여부를 확인하고 기록되어 있는 경우에, 상기 패킷의 목적지 주소를 상기 IPv4 식별자에서 상기 IPv6 식별자로 변경하는 것을 특징으로 하는 IPv4-IPv6 서비스 전환 방법.18. The method of claim 17,
Wherein changing the IPv6 identifier comprises:
The router verifies whether a flag indicating that an IPv6 address is used as a base address is recorded among the mapping information mapped with the IPv4 identifier and if it is recorded, the router updates the destination address of the packet from the IPv4 identifier To the IPv6 identifier.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150040865A KR20160114401A (en) | 2015-03-24 | 2015-03-24 | Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150040865A KR20160114401A (en) | 2015-03-24 | 2015-03-24 | Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20160114401A true KR20160114401A (en) | 2016-10-05 |
Family
ID=57153888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150040865A KR20160114401A (en) | 2015-03-24 | 2015-03-24 | Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20160114401A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210023586A (en) * | 2019-08-23 | 2021-03-04 | 국방과학연구소 | Method for managing virtual machine migration and mobility protocol between edge clouds and system thereof |
CN115380516A (en) * | 2020-05-01 | 2022-11-22 | 思科技术公司 | LISP-based communication of policy changes in software-defined networks |
US20220417205A1 (en) * | 2021-06-29 | 2022-12-29 | Cisco Technology Inc. | Control Embedded Data Packet for Efficient ARP Query in SDA Environment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100059739A (en) | 2008-11-26 | 2010-06-04 | (주)대성정보기술 | Connecting gateway with ipv4/ipv6 |
-
2015
- 2015-03-24 KR KR1020150040865A patent/KR20160114401A/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100059739A (en) | 2008-11-26 | 2010-06-04 | (주)대성정보기술 | Connecting gateway with ipv4/ipv6 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210023586A (en) * | 2019-08-23 | 2021-03-04 | 국방과학연구소 | Method for managing virtual machine migration and mobility protocol between edge clouds and system thereof |
CN115380516A (en) * | 2020-05-01 | 2022-11-22 | 思科技术公司 | LISP-based communication of policy changes in software-defined networks |
CN115380516B (en) * | 2020-05-01 | 2024-03-29 | 思科技术公司 | Communication of policy changes in LISP-based software defined networks |
US20220417205A1 (en) * | 2021-06-29 | 2022-12-29 | Cisco Technology Inc. | Control Embedded Data Packet for Efficient ARP Query in SDA Environment |
US11716305B2 (en) * | 2021-06-29 | 2023-08-01 | Cisco Technology, Inc. | Control embedded data packet for efficient ARP query in SDA environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3913480B1 (en) | Method and apparatus for determining virtual machine migration | |
CN108347493B (en) | Hybrid cloud management method and device and computing equipment | |
US10291523B2 (en) | Dynamic host configuration protocol relay in a multipod fabric | |
EP3070887A1 (en) | Communication method, device and system for virtual extensible local area network | |
US11381543B2 (en) | Mitigating network/hardware address explosion in network devices | |
CN107770026B (en) | Tenant network data transmission method, tenant network system and related equipment | |
JP5640092B2 (en) | Method and system for realizing mutual communication between IPV4 network and new network | |
US20130034099A1 (en) | Apparatus and method for translating an address of a packet transferred between networks | |
US11159344B1 (en) | Connectivity of cloud edge locations to communications service provider networks | |
CN105591907B (en) | A kind of route obtaining method and device | |
CN105763440A (en) | Message forwarding method and device | |
WO2022111606A1 (en) | Message transmission method, segment list generation method, compressed segment identifier acquisition method, and apparatuses | |
JP6098192B2 (en) | Address generator | |
CN104796338A (en) | Migration method and device of virtual machines | |
KR20160114401A (en) | Method for switching between IPv4 service and IPv6 service in Locator ID Separation Protocol network environment and Locator ID Separation Protocol network system | |
JP6548226B2 (en) | Route control system and method | |
EP3761577A1 (en) | Message processing method and apparatus, and storage medium | |
KR101794719B1 (en) | Method and system for ip address virtualization in sdn-based network virthalization platform | |
CN102104634B (en) | Method for communicating between LISP site and non-LISP site and apparatus and system thereof | |
CN104780110A (en) | Message transmission method in virtual machine migration, and device | |
US10374937B2 (en) | Domain control method and domain control device | |
KR100423391B1 (en) | A Processing Method of the Distributed Forwarding Table in the High Speed Router | |
CN105591890A (en) | Method and device for updating mapping buffering of ingress router | |
CN106489252A (en) | A kind of data transmission method and device | |
CN104935573A (en) | Migration method and device of virtual machine |