KR100547119B1 - The method for generating IPv6 address using interface ID and device thereof - Google Patents
The method for generating IPv6 address using interface ID and device thereof Download PDFInfo
- Publication number
- KR100547119B1 KR100547119B1 KR1020030036325A KR20030036325A KR100547119B1 KR 100547119 B1 KR100547119 B1 KR 100547119B1 KR 1020030036325 A KR1020030036325 A KR 1020030036325A KR 20030036325 A KR20030036325 A KR 20030036325A KR 100547119 B1 KR100547119 B1 KR 100547119B1
- Authority
- KR
- South Korea
- Prior art keywords
- unique
- address
- bits
- value
- ipv6 address
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B27/00—Planetaria; Globes
- G09B27/04—Star maps
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B5/00—Electrically-operated educational appliances
- G09B5/06—Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Theoretical Computer Science (AREA)
- Astronomy & Astrophysics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법 및 그 장치가 개시된다.A method and apparatus for generating an IPv6 address using an interface ID are disclosed.
본 발명에 따라 인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법은 (a) 소정의 함수를 이용하여 임시 IPv6 주소의 인터페이스 ID로부터 고유 ID 값을 발생시키는 단계; 및 (b) 발생된 고유 ID 값을 처리하여 임시 IPv6 주소와 결합하는 단계를 포함하는 것을 특징으로 한다.According to the present invention, a method for generating an IPv6 address using an interface ID includes: (a) generating a unique ID value from an interface ID of a temporary IPv6 address using a predetermined function; And (b) processing the generated unique ID value and combining the generated unique ID value with the temporary IPv6 address.
이에 의해, 중복가능성이 적은 고유한(unique) IPv6 주소를 생성할 수 있으며, DAD 과정(중복 주소 검색)을 생략할 수 있으므로 IPv6 주소 생성을 빠르게 할 수 있다.As a result, a unique IPv6 address with less possibility of duplication can be generated, and since the DAD process (duplicate address search) can be omitted, IPv6 address generation can be speeded up.
Description
도 1은 종래의 IPv6 주소의 생성 방법을 나타낸 플로우챠트,1 is a flowchart illustrating a conventional method of generating an IPv6 address,
도 2는 본 발명에 따른 IPv6 주소 생성 장치(1)가 포함된 시스템의 적용도,2 is an application diagram of a system including an IPv6
도 3a는 본 발명에 따른 IPv6 주소 생성 장치(1)의 개요도,3A is a schematic diagram of an IPv6
도 3b는 도3a의 고유 ID 생성부(31)의 구성도,FIG. 3B is a configuration diagram of the
도 3c는 도3a의 고유 ID 처리부(32)의 구성도,3C is a configuration diagram of the unique
도 4a는 유형별 IPv6 주소의 상세구조도,4A is a detailed structural diagram of an IPv6 address for each type;
도 4b는 본 발명에 따라 생성된 고유 ID 값 및 고유 ID 비트열의 구조도,4b is a structural diagram of a unique ID value and a unique ID bit string generated according to the present invention;
도 4c는 본 발명에 따라 생성된 고유한 IPv6 주소의 구현 예,4c illustrates an example implementation of a unique IPv6 address generated in accordance with the present invention;
도 5는 본 발명에 따라 고유한 IPv6 주소를 생성하는 방법을 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining a method for generating a unique IPv6 address according to the present invention.
본 발명은 IPv6 에 관한 것으로, 보다 상세하게는 인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법 및 그 장치에 관한 것이다.The present invention relates to IPv6, and more particularly, to a method and apparatus for generating an IPv6 address using an interface ID.
IPv6는 Internet Protocol for version 6의 약어로 1996년 IETF에서 제안된 네트워크계층의 국제 표준 프로토콜이다. IPv6는 32비트 주소 길이를 가지는 IPv4 프로토콜을 4배 확장한 차세대 주소 체계로서, 128비트의 주소 길이를 사용하여 약 3.4 x 1038 (2128)개의 주소를 생성할 수 있다. 이러한 IPv6의 주소체계는 IP 주소의 고갈 문제를 근본적으로 해결할 수 있을 뿐만 아니라, 보안 문제, 라우팅의 효율성 문제, QoS(Quality of Service)의 보장, 무선 인터넷의 지원 등 다양한 기능을 제공할 수 있어, 차세대 인터넷 구현의 핵심적인 요소로 인식되고 있다.IPv6 stands for Internet Protocol for version 6, and is an international standard protocol for the network layer proposed by the IETF in 1996. IPv6 is a next-generation address system that quadruples the IPv4 protocol with 32-bit address length, and can generate approximately 3.4 x 10 38 (2 128 ) addresses using a 128-bit address length. The IPv6 addressing system not only solves the problem of IP address depletion, but also provides various functions such as security problem, routing efficiency problem, guarantee of quality of service (QoS), and support of wireless Internet. It is recognized as a key element of the next generation Internet implementation.
나아가, 현재의 IPv4에서는 시스템을 설정할 때 IP 주소, 네트워크 마스크, 게이트웨이 주소를 설정해야 하지만, IPv6에서는 로컬 IPv6 주소를 자동으로 생성할 수 있다. 즉, 호스트는 자신의 인터페이스 ID(interface ID: MAC 주소를 변환하여 생성함)와 라우터가 제공하는 네트워크 프리픽스(prefix: IPv6 주소 앞 부분에 위치하는 비트의 집합으로 주소의 유형에 따라 결정됨)을 결합하여 자체적으로 IPv6 주소를 생성할 수 있다. 이로써, 별도의 서버를 설치하지 않고도 호스트 스스로 자신의 주소를 생성할 수 있다.Furthermore, in current IPv4, the IP address, network mask, and gateway address must be set when configuring the system, but in IPv6, local IPv6 addresses can be generated automatically. That is, the host combines its interface ID (generated by translating the MAC address) and the network prefix provided by the router (depending on the type of address, which is a set of bits located before the IPv6 address). Can generate IPv6 addresses on its own. This allows the host to generate its own address without installing a separate server.
하지만, 이러한 IPv6 주소 자동 생성은, 주소의 고유성(Uniqueness)를 확인하기 위해 주소의 중복여부를 체크하는 과정(이하, 'DAD 과정'이라 한다: Duplication Address Detection)을 필수적으로 거쳐야 한다. However, such automatic generation of IPv6 addresses must go through a process of checking for duplicate addresses (hereinafter, referred to as a 'DAD process': Duplication Address Detection) to check the uniqueness of the address.
도 1은 종래의 IPv6 주소의 생성방법을 나타낸 플로우챠트이다. 1 is a flowchart illustrating a conventional method of generating an IPv6 address.
도 1을 참조하면, 임시 IPv6 주소를 생성한 후(101 단계), 중복된 주소가 존 재하는지를 검색하기 위한 NS(Neighbor Solicitation) 메시지를 전송한다(102 단계). 일정 기간 내에 동일한 주소를 가진 호스트로부터 중복된 주소가 있음을 알리는 NA(Neighbor Advertisement) 메시지를 받지 못하면(103 단계), 중복된 주소가 존재하지 않으므로, 링크로컬 주소를 생성한다(104 단계). 만약, 일정 기간 내에 NA 메시지를 받으면, 중복된 주소가 존재하므로, 자동 주소 생성을 중지한다(105 단계). Referring to FIG. 1, after generating a temporary IPv6 address (step 101), a neighbor solicitation (NS) message for searching for a duplicate address exists is transmitted (step 102). If a NA (Neighbor Advertisement) message indicating that there is a duplicate address is received from a host having the same address within a predetermined period (step 103), since the duplicate address does not exist, a link local address is generated (step 104). If the NA message is received within a certain period, since duplicate addresses exist, automatic address generation is stopped (step 105).
이와 같이, IPv6 주소 자동 생성 과정은, 생성되는 주소가 중복되는지 파악하기 위해 반드시 전술한 DAD 과정(중복 주소 검색)을 거쳐야 한다. 이 과정은 NA 메시지를 수신하기까지 상당한 시간이 소요되므로, 주소를 얻기까지 상당한 지연(delay)이 필연적으로 발생된다. 더구나, 모바일 환경에서는 통화 중인 상태의 이동 단말(호스트)이 해당 기지국 서비스 지역을 벗어나 인접 기지국 서비스 지역으로 이동할 때, 새로운 통화 채널에 동조기 위해 주소를 생성하는 과정(핸드오버)에서 발생되는 지연(delay)이 통화 끊김 등의 현상으로 나타날 수 있다.As such, the automatic IPv6 address generation process must go through the above-described DAD process (duplicate address search) to determine whether the generated addresses are duplicated. This process takes a considerable amount of time to receive the NA message, so a significant delay inevitably occurs before obtaining the address. In addition, in a mobile environment, when a mobile terminal (host) in a call state moves out of a corresponding base station coverage area to a neighboring base station coverage area, a delay incurred in generating an address (handover) to tune to a new call channel ) May appear as a disconnected call.
또한, 악의의 사용자가 새로운 인터페이스 카드에 대해 기존의 인터페이스 카드와 동일한 MAC(Medium Access Control) 주소를 설정한 경우, 해당 디바이스는 항상 주소가 중복되므로, 계속해서 NA 메시지를 받게 되어, IPv6의 자동 주소 생성기능을 사용할 수 없게 되는 문제점이 있다.In addition, if the malicious user sets the same medium access control (MAC) address for the new interface card as the existing interface card, the device will always receive a NA message, since the address will always be a duplicate, resulting in an automatic IPv6 address. There is a problem that the generation function can not be used.
따라서, 본 발명의 목적은 전술한 문제점을 해결하기 위해, 인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법 및 그 장치를 제공하는 것이다.Accordingly, an object of the present invention is to provide a method and apparatus for generating an IPv6 address using an interface ID in order to solve the above problem.
상기 목적은, 본 발명에 따라, 인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법에 있어서, (a) 소정의 함수를 이용하여 임시 IPv6 주소의 인터페이스 ID로부터 고유 ID 값을 발생시키는 단계; 및 (b) 발생된 고유 ID 값을 처리하여 임시 IPv6 주소와 결합하는 단계를 포함하는 것을 특징으로 하는 방법에 의해 달성된다.According to the present invention, a method for generating an IPv6 address using an interface ID, the method comprising: (a) generating a unique ID value from an interface ID of a temporary IPv6 address using a predetermined function; And (b) processing the generated unique ID value and associating with the temporary IPv6 address.
상기 (a)단계는 암호화 함수 또는 해쉬 함수 중 적어도 하나를 이용하여 고유 ID 값을 생성하는 단계를 포함하는 것이 바람직하다.Preferably, the step (a) includes generating a unique ID value using at least one of an encryption function and a hash function.
상기 (b)단계는 (b1) 주소의 유형에 따라 임시 IPv6 주소에서 고유 ID 값이 들어갈 위치 및 비트수를 결정하는 단계; (b2) 발생된 고유 ID값의 상위 비트로부터, 결정된 비트수만큼의 고유 ID 비트열을 추출하는 단계; 및 (b3) 추출된 고유 ID 비트열을, 결정된 위치에 결합하여 주소를 완성하는 단계를 포함하는 것이 바람직하다.Step (b) includes (b1) determining a location and number of bits to include a unique ID value in the temporary IPv6 address according to the type of the address; (b2) extracting as many unique ID bit strings as the determined number of bits from upper bits of the generated unique ID value; And (b3) combining the extracted unique ID bit strings to the determined position to complete the address.
상기 (b1)단계는 링크 로컬 주소 유형의 경우, 위치는 상위 비트로부터 11번째, 비트수는 54 비트이며, 사이트 로컬 주소 유형의 경우, 위치는 상위 비트로부터 11번째, 비트수는 38 비트이며, 글로벌 주소 유형의 경우, 위치는 상위 비트로부터 n+1번째, 비트수는 64-n 비트인 것을 특징으로 하는 단계를 포함하는 것이 바람직하다.In the step (b1), for the link local address type, the position is eleventh from the upper bit and the number of bits is 54 bits. For the site local address type, the position is the eleventh from the upper bit and the number of bits is 38 bits. In the case of the global address type, the location is preferably n + 1 th from the upper bits and the number of bits is 64-n bits.
한편, 본 발명의 다른 분야에 따르면, 상기 목적은 전술한 IPv6 주소를 생성하는 방법을 수행하는 프로그램을 기록한 기록매체에 의해서도 달성된다.On the other hand, according to another field of the present invention, the above object is also achieved by a recording medium recording a program for performing the above-described method for generating an IPv6 address.
한편, 본 발명의 다른 분야에 따르면, 상기 목적은 인터페이스 ID를 이용하 여 IPv6 주소를 생성하는 장치에 있어서, 소정의 함수를 이용하여 임시 IPv6 주소의 인터페이스 ID로부터 고유 ID 값을 발생시키는 고유 ID 생성부; 및 발생된 고유 ID 값을 처리하여 임시 IPv6 주소와 결합하는 고유 ID 처리부를 포함하는 것을 특징으로 하는 장치에 의해서도 달성된다.On the other hand, according to another field of the present invention, in the apparatus for generating an IPv6 address using the interface ID, the unique ID generation unit for generating a unique ID value from the interface ID of the temporary IPv6 address using a predetermined function ; And a unique ID processing unit for processing the generated unique ID value to associate with the temporary IPv6 address.
상기 고유 ID 생성부는 인터페이스 ID를 암호화(encryption)하여 고유 ID 값을 생성하는 암호화 처리부, 및 인터페이스 ID를 해슁(hashing)하여 고유 ID 값을 생성하는 해슁 처리부를 포함하는 것이 바람직하며,Preferably, the unique ID generating unit includes an encryption processing unit for generating a unique ID value by encrypting an interface ID, and a hash processing unit for generating a unique ID value by hashing the interface ID.
상기 고유 ID 처리부는 주소의 유형에 따라 임시 IPv6 주소에서 고유 ID 값이 들어갈 위치 및 비트수를 결정하는 입력 위치 결정부; 발생된 고유 ID값의 상위 비트로부터, 결정된 비트수만큼의 고유 ID 비트열을 추출하는 고유 ID 비트열 추출부; 및 추출된 고유 ID 비트열을, 결정된 위치에 결합하여 주소를 완성하는 주소 결합부를 포함하는 것이 바람직하다.The unique ID processor may include an input location determiner configured to determine a location and a number of bits of a unique ID value in a temporary IPv6 address according to an address type; A unique ID bit string extracting unit for extracting a unique ID bit string corresponding to the determined number of bits from upper bits of the generated unique ID value; And an address combiner for combining the extracted unique ID bit strings to the determined position to complete the address.
이하에서는 첨부 도면을 참조하여 본 발명의 바람직한 실시예에 대해 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.
도 2는 본 발명에 따른 IPv6 주소 생성 장치(1)가 포함된 시스템의 적용도이다.2 is an application diagram of a system including an IPv6
도 2를 참조하면, 호스트 A(201)는 IPv6 주소 생성 장치(1)가 포함된 네트워크상의 노드를 가리킨다. 호스트 A(201)는 IPv6 네트워크나 인터넷(206)을 통해 다른 호스트들(202 내지 204) 및 라우터(205)와 연결되어 있다. Referring to FIG. 2,
호스트 A(201)가 네트워크 통신을 하기 위해서는 고유한 IPv6 주소가 필요하 다. 이 주소는 호스트에서 자동으로 생성할 수 있다. 즉, 호스트의 네트워크 인터페이스 카드에 고유한 48비트 MAC 주소를 변환한 64비트 인터페이스 ID에, 라우터(205)가 제공하는 네트워크 프리픽스를 결합하여 임시 IPv6 주소가 생성된다. 여기에 종전의 DAD 과정(도 1을 참조)을 생략하고, 본 발명에 따른 고유 ID를 결합하여, 새로운 IPv6 주소가 생성된다. 이제 호스트 A(201)는 네트워크 상에서 고유한 IPv6 주소를 갖게 되어 다른 호스트들(202 내지 204)과 통신할 수 있다. 고유 ID 및 인터페이스 ID를 이용하여 IPv6 주소 생성 과정은 후술한다.
도 3a는 본 발명에 따른 IPv6 주소 생성 장치(1)의 개요도이다.3A is a schematic diagram of an IPv6
도 3a를 참조하면, IPv6 주소 생성 장치(1)는 고유 ID 생성부(31) 및 고유 ID 처리부(32)를 구비한다. IPv6 주소 생성 장치(1)에는 IPv6 주소 관리부(33)가 연결되어 있다.Referring to FIG. 3A, the IPv6
고유 ID 생성부(31)는 인터페이스 ID를 이용하여 고유 ID를 생성한다. 즉, 소정의 함수를 이용하여 임시 IPv6 주소의 인터페이스 ID로부터 고유 ID 값을 발생시킨다.The unique
보다 구체적으로, 도 3b는 도3a의 고유 ID 생성부(31)의 구성도이다.More specifically, FIG. 3B is a configuration diagram of the unique
도 3b를 참조하면, 고유 ID 생성부(31)는 암호화 처리부(311) 및 해슁 처리부(312)를 구비한다. 본 발명에 따른 중복 가능성이 적은 고유한 IPv6 주소를 생성하기 위해, 암호화 처리부(311)는 호스트에 고유한 인터페이스 ID를 암호화(encryption)하여 고유 ID 값을 생성한다. 암호화 함수로는 3DES, AES 등을 사용할 수 있으며, 이후에 개발되는 암호화 함수를 사용할 수도 있다. 또한, 해슁 처리부(312)는 인터페이스 ID를 해슁(hashing)하여 고유 ID 값을 생성한다. 해쉬 함수로는 MD5, SHA (secure hash algorithm) 등을 사용할 수 있으며, 이후에 개발되는 해쉬 함수를 사용할 수도 있다. 이러한 함수화 과정을 통해, 인터페이스 ID는, IPv6 주소의 중복가능성을 줄여 고유성(Uniqueness)을 보장하는, 고유 ID 값으로 변환된다.Referring to FIG. 3B, the unique
한편, 고유 ID 처리부(32)는 발생된 고유 ID 값을 처리하여 임시 IPv6 주소와 결합하여 새로운 IPv6 주소를 완성시킨다. 따라서, 종래의 DAD 과정을 거치지 않고도 고유한 IPv6 주소를 생성할 수 있다. 생성된 IPv6 주소는 IPv6 주소 관리부(33)로 전달된다.Meanwhile, the unique
보다 상세하게, 도 3c는 도3a의 고유 ID 처리부(32)의 구성도이다. More specifically, FIG. 3C is a configuration diagram of the unique
도 3c를 참조하면, 고유 ID 처리부(32)는 입력위치 결정부(321), 고유 ID 비트열 추출부(322), 및 주소 결합부(323)를 구비한다. 먼저, 입력위치 결정부(321)는 후술하는 주소의 유형에 따라 임시 IPv6 주소에서 고유 ID 값이 들어갈 위치 및 비트수를 결정한다. 고유 ID 비트열 추출부(322)는 고유 ID 생성부(31)에서 발생된 고유 ID값의 최상위 비트(MSB: Most Significant Bit)로부터, 입력위치 결정부(321)에서 결정된 비트수만큼의 고유 ID 비트열을 추출한다. 주소 결합부(323)는 고유 ID 비트열 추출부(322)에서 추출된 고유 ID 비트열을, 입력위치 결정부(31)에서 결정된 위치에 결합하여 새로운 IPv6 주소를 완성한다.Referring to FIG. 3C, the
따라서, 암호화 함수나 해쉬 함수를 통해 고유성(Uniqueness)이 보장되는 고유 ID 값을 주소에 결합하였으므로, 주소의 중복 가능성이 더욱 줄어든다.Therefore, since the unique ID value that guarantees uniqueness is combined with the address through an encryption function or a hash function, the possibility of duplicate addresses is further reduced.
또한, 주소의 중복 여부를 확인하는 DAD 과정을 거치지 않고도 고유한 IPv6 주소를 생성할 수 있으므로, 지연(delay)없이 빠르게 IPv6 주소를 생성할 수 있다. In addition, since a unique IPv6 address can be generated without going through a DAD process that checks for duplicate addresses, an IPv6 address can be generated quickly without delay.
도 4a는 유형별 IPv6 주소의 상세구조도이다.4A is a detailed structural diagram of an IPv6 address for each type.
도 4a를 참조하면, IPv6의 주소 유형에는 링크 로컬 주소(400), 사이트 로컬 주소(410), 및 글로벌 주소(420)가 포함된다. Referring to FIG. 4A, address types of IPv6 include a link
링크 로컬 주소(Link Local Address)(400)는 64비트의 인터페이스 ID(403), 10비트의 프리픽스(401), 및 54비트의 제로 영역(402)으로 구성된다. 각 호스트에는 네트워크 인터페이스 카드에 고유한 MAC주소가 설정되어 있다. 인터페이스 ID(403)는 이 MAC 주소를 64비트로 확장한 인터페이스 카드 고유의 식별자이다. 인터페이스 ID(403)은 128비트의 IPv6 주소에서 65번째 비트부터 128번째 비트까지 64비트의 영역을 차지한다. 또한, 프리픽스(401)는 라우터로부터 제공받는 네트워크 프리픽스로서, 최상위(MSB) 비트부터 10비트의 영역을 차지한다. 링크 로컬 주소는 항상 FE80으로 시작된다. 나머지 11번째부터 64번째까지 54비트의 영역에는 전부 0 으로 채워진 제로 영역(402)이 위치한다.The link
사이트 로컬 주소(Site Local Address)(410)는 64비트의 인터페이스 ID(413), 10비트의 프리픽스(411), 38비트의 제로영역(412), 및 16비트의 서브넷 ID(414)으로 구성된다. 인터넷으로 직접 라우팅되지 않는 개인용 인트라넷에서 사용하는 주소 유형으로, 서브넷 ID(414)가 각각의 소 그룹으로 나뉜 서브넷의 식별자가 된다. 사이트 로컬 주소는 항상 FECO로 시작되며, 나머지 영역은 전술한 링크 로컬 주소 유형(400)과 동일하다.The
글로벌 주소(Global Address)(420)는 64비트의 인터페이스 ID(423), n비트의 프리픽스(421), 및 64-n비트의 제로영역(422)으로 구성된다. 전체 인터넷에서 공식적으로 사용할 수 있는 주소로서 라우팅되며, 항상 001로 시작된다. 나머지 영역은 전술한 링크 로컬 주소 유형(400)과 동일하다.The
본 발명의 실시예에서 고유 ID 생성부(31)는, 전술한 인터페이스 ID(403, 413, 및 423)를 입력받아 암호화나 해슁 과정을 거쳐 고유 ID 값을 출력한다. 고유 ID 처리부(32)는 출력된 고유 ID 값에서, 주소 유형에 따라 결정된 위치나 비트수에 의해 고유 ID 비트열을 추출하여, 전술한 각 주소 유형의 제로 영역(402, 412, 및 422)에 결합하여 새로운 IPv6 주소를 생성한다.In the embodiment of the present invention, the unique
도 4b는 본 발명에 따라 생성된 고유 ID 값 및 고유 ID 비트열의 구조도이다.4B is a structural diagram of a unique ID value and a unique ID bit string generated according to the present invention.
도 4b를 참조하면, 고유 ID 값(460)은 전술한 고유 ID 생성부(31)에서 암호화 또는 해슁 과정을 거쳐 출력된 값으로 x비트의 값이다. 사용되는 함수에 따라 x값은 가변한다. 고유 ID 비트열(461)은 x비트의 고유 ID 값(460)의 최상위 비트(MSB)로부터, 주소 유형에 따라 제로 영역(402, 412, 및 422)에 알맞게 추출된 y비트의 고유한 값이다. 전술한 주소 유형에 따라 y값은 가변한다.Referring to FIG. 4B, the
도 4c는 본 발명에 따라 생성된 고유한 IPv6 주소의 구현 예이다.4C is an example implementation of a unique IPv6 address generated in accordance with the present invention.
도 4c를 참조하면, 링크 로컬 주소(430)의 경우, 11번째 비트부터 64번째 비트까지 54비트의 제로 영역(432)에, 고유 ID 값(460)의 최상위 비트로부터 54비트만큼 추출된 고유 ID 비트열(461)이 결합된, IPv6 주소가 생성된다.Referring to FIG. 4C, in the case of the link
사이트 로컬 주소(440)의 경우, 11번째 비트부터 48번째 비트까지 38비트의 제로 영역(442)에, 고유 ID 값(460)의 최상위 비트로부터 38비트만큼 추출된 고유 ID 비트열(461)이 결합된, IPv6 주소가 생성된다.In the case of the site
글로벌 주소(450)의 경우, n+1번째 비트부터 64번째 비트까지 64-n비트의 제로 영역(452)에, 고유 ID 값(460)의 최상위 비트로부터 64-n비트만큼 추출된 고유 ID 비트열(461)이 결합된, IPv6 주소가 생성된다.In the case of the
따라서, 본 발명에 따른 실시예에 따르면, 주소의 고유성(Uniqueness)을 보장하는 고유 ID 값이 추가로 결합되어 있으므로, 주소의 중복가능성이 더욱 적어진다. 또한 IPv6 주소 자동 생성 과정에서 DAD 과정을 생략할 수 있으므로 지연없이 빠르게 IPv6 주소를 생성할 수 있다.Therefore, according to the embodiment according to the present invention, since the unique ID value which guarantees the uniqueness of the address is further combined, the possibility of the overlapping of the address is further reduced. In addition, since the DAD process can be omitted in the automatic IPv6 address generation process, IPv6 addresses can be generated quickly and without delay.
상기와 같은 구성을 기초로 본 발명의 바람직한 실시예에 따른, 인터페이스 ID를 이용하여 IPv6 주소를 생성하는 방법을 설명하면 다음과 같다.A method of generating an IPv6 address using an interface ID according to a preferred embodiment of the present invention based on the above configuration will be described below.
도 5는 본 발명의 일 실시예에 따라 고유한 IPv6 주소를 생성하는 방법을 설명하기 위한 플로우챠트이다.5 is a flowchart for explaining a method of generating a unique IPv6 address according to an embodiment of the present invention.
도 5를 참조하면, IPv6 주소 생성 장치(1)는 해당 호스트의 인터페이스 ID에, 주소의 유형에 따른 프리픽스를 결합한 임시 IPv6 주소를 생성한다(501 단계). 임시 IPv6 주소의 인터페이스 ID를 암호화 또는 해슁 처리를 하여 고유 ID 값을 발생킨다(502 단계). 주소 유형에 따라, 임시 IPv6 주소의 128비트중 어느 비트부터 고유 ID가 결합될지에 대한 입력 위치와, 발생된 고유 ID 값 중 몇 비트의 비트열이 결합될지에 대한 비트수를 결정한다(503 단계). 고유 ID 값의 최상위 비트(MSB)로부터, 503 단계에서 결정된 비트수만큼의 고유 ID 비트열을 추출한다(504 단계). 임시 IPv6 주소의 128비트 중, 503 단계에서 결정된 입력 위치부터, 504 단계에서 추출한 고유 ID 비트열을 결합하여, IPv6 주소를 완성한다(505 단계).Referring to FIG. 5, the IPv6
이상의 설명은 본 발명의 일 실시예에 불과할 뿐, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현할 수 있을 것이다. 따라서, 본 발명의 범위는 전술한 실시예에 한정되지 않고 특허 청구범위에 기재된 내용과 동등한 범위 내에 있는 다양한 실시 형태가 포함되도록 해석되어야 할 것이다.The above description is only one embodiment of the present invention, and those skilled in the art may implement the present invention in a modified form without departing from the essential characteristics of the present invention. Therefore, the scope of the present invention should not be limited to the above-described examples, but should be construed to include various embodiments within the scope equivalent to those described in the claims.
전술한 바와 같이 본 발명에 따르면, 인터페이스 ID를 이용하여 중복가능성이 적은 고유한 IPv6 주소를 생성할 수 있다. 즉, 중복가능성을 줄이는 고유 ID 값이 추가되므로 생성되는 IPv6 주소의 중복가능성은 더욱 적어진다.As described above, according to the present invention, a unique IPv6 address with less possibility of duplication can be generated using the interface ID. That is, a unique ID value is added to reduce the possibility of duplication, so the duplication of the generated IPv6 address becomes less.
또한, 자동 주소 생성 과정에서 DAD 과정을 생략할 수 있으므로 주소 생성을 빠르게 할 수 있다. 특히, 모바일 환경에서는 전술한 핸드오버 과정에서 발생하는 지연을 방지하게 되므로, 통화의 끊김이 없이 빠른 핸드오버(fast handover)가 가능하게 된다.In addition, since the DAD process can be omitted in the automatic address generation process, address generation can be speeded up. In particular, in the mobile environment, since the delay occurring in the above-described handover process is prevented, a fast handover is possible without disconnection of the call.
나아가, 악의의 사용자가 새로운 인터페이스 카드에 기존의 인터페이스 카드와 동일한 MAC 주소를 설정한 경우에도, 전술한 DAD 과정이 생략되므로, IPv6의 자동 주소 생성기능을 사용할 수 있게 된다.Furthermore, even when the malicious user sets the same MAC address as the existing interface card in the new interface card, the above-described DAD process is omitted, thereby enabling the automatic address generation function of IPv6.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030036325A KR100547119B1 (en) | 2003-06-05 | 2003-06-05 | The method for generating IPv6 address using interface ID and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030036325A KR100547119B1 (en) | 2003-06-05 | 2003-06-05 | The method for generating IPv6 address using interface ID and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20040107585A KR20040107585A (en) | 2004-12-23 |
KR100547119B1 true KR100547119B1 (en) | 2006-01-26 |
Family
ID=37381661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030036325A KR100547119B1 (en) | 2003-06-05 | 2003-06-05 | The method for generating IPv6 address using interface ID and device thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100547119B1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100684965B1 (en) * | 2005-05-06 | 2007-02-20 | 모다정보통신 주식회사 | Method for Generating Automatically IPv6 Address by Using IPv6 Identifier |
KR100710530B1 (en) * | 2005-10-21 | 2007-04-23 | 삼성전자주식회사 | Method for configuration and registration of internet protocol address in a wireless mobile communication system with a connection oriented radio link |
KR100773822B1 (en) * | 2006-03-20 | 2007-11-06 | 주식회사 케이티프리텔 | Method for effective IPv6 address in dial-up networking |
KR100728040B1 (en) * | 2006-04-28 | 2007-06-13 | 삼성전자주식회사 | Method and apparatus for generating ipv6 unique local address |
KR100943515B1 (en) * | 2007-12-18 | 2010-02-22 | 한국전자통신연구원 | Address Management Method for Vertical Handoff |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100369939B1 (en) * | 2000-12-27 | 2003-01-29 | 한국전자통신연구원 | Method of an Automatic IPv6 Address Generation and IP Address Lookup by using E.164 Telephone Numbers |
-
2003
- 2003-06-05 KR KR1020030036325A patent/KR100547119B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100369939B1 (en) * | 2000-12-27 | 2003-01-29 | 한국전자통신연구원 | Method of an Automatic IPv6 Address Generation and IP Address Lookup by using E.164 Telephone Numbers |
Also Published As
Publication number | Publication date |
---|---|
KR20040107585A (en) | 2004-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8984112B2 (en) | Internet address information processing method, apparatus, and internet system | |
RU2366100C2 (en) | System and method to use ip-address as wireless module identifier | |
KR100750370B1 (en) | Address acquisition | |
Atkinson et al. | ILNP: mobility, multi-homing, localised addressing and security through naming | |
KR100636209B1 (en) | Method and apparatus for securing MAC address | |
KR100728040B1 (en) | Method and apparatus for generating ipv6 unique local address | |
US7779158B2 (en) | Network device | |
TWI511512B (en) | Method for creating multiple addresses for one network element in a communication network and method for transmitting message via a communication network | |
US20050271032A1 (en) | Communication method and apparatus in mobile station having multiple interfaces | |
JP2003298618A (en) | Name server, network system, backward look-up request processing method, forward look-up request processing method, and communication control method | |
US7760666B2 (en) | Method of generating and managing connection identifiers for supporting multicast for each group in IPv6-based wireless network and network interface using the method | |
US20100008507A1 (en) | Method for auto-configuration of a network terminal address | |
JP2003283578A (en) | Protocol converting method and apparatus | |
JP2005072685A (en) | Router apparatus, route information distributing method therefor, and communication system | |
CN108769290B (en) | IPv6 multi-address generation and duplicate address detection method | |
JP4468453B2 (en) | Optimized round trip confirmation | |
US9503889B2 (en) | System and method for mobile IP | |
US20120166798A1 (en) | Method and system for using neighbor discovery unspecified solicitation to obtain link local address | |
KR100547119B1 (en) | The method for generating IPv6 address using interface ID and device thereof | |
US20040243850A1 (en) | Apparatus for limiting use of particular network address | |
JP2004364109A (en) | Temporary address communication apparatus, program, recording medium and method | |
JP2005086256A (en) | Tunnel gateway apparatus | |
KR100545777B1 (en) | How to automatically set IP6 address and name of information appliance in home network environment | |
Liang et al. | A SDN-Based Hierarchical Authentication Mechanism for IPv6 Address | |
Bruns | Network Reconnaissance in IPv6-based Residential Broadband Networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121228 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20131230 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20141223 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20151229 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20161228 Year of fee payment: 12 |
|
LAPS | Lapse due to unpaid annual fee |