KR101331561B1 - Method for assigning private ip and renewing private ip, and ip sharer using thereof - Google Patents

Method for assigning private ip and renewing private ip, and ip sharer using thereof Download PDF

Info

Publication number
KR101331561B1
KR101331561B1 KR1020120062053A KR20120062053A KR101331561B1 KR 101331561 B1 KR101331561 B1 KR 101331561B1 KR 1020120062053 A KR1020120062053 A KR 1020120062053A KR 20120062053 A KR20120062053 A KR 20120062053A KR 101331561 B1 KR101331561 B1 KR 101331561B1
Authority
KR
South Korea
Prior art keywords
dhcp
private
message
router
end device
Prior art date
Application number
KR1020120062053A
Other languages
Korean (ko)
Inventor
이동철
김대현
Original Assignee
주식회사 엘지유플러스
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 주식회사 엘지유플러스 filed Critical 주식회사 엘지유플러스
Priority to KR1020120062053A priority Critical patent/KR101331561B1/en
Application granted granted Critical
Publication of KR101331561B1 publication Critical patent/KR101331561B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS

Abstract

A method for assigning an internet protocol (IP) according to the present invention comprises steps of: an IP sharer receiving the officially approved IP assigned by a system of an internet service provider (ISP); the IP sharer detecting a dynamic host configuration protocol (DHCP) discover message transmitted by an end device; the IP sharer determining whether a first identifier, for identification of a specific terminal, is included in the DHCP discover message; and the IP sharer determining whether a DHCP offer message is transmitted to the end device according as the first identifier is included in the DHCP discover message. [Reference numerals] (100) IP sharer;(200) End device;(S301) Assign an officially approved IP;(S302) DHCP Discover message (+ VoIP identifier);(S303) Determine whether the message has been transmitted by a VoIP device;(S304) DHCP Offer message;(S305) ARP broadcasting;(S306) DHCP Request message;(S307) DHCP ACK message

Description

사설 아이피의 할당 및 갱신 방법, 이를 이용한 아이피 공유기{METHOD FOR ASSIGNING PRIVATE IP AND RENEWING PRIVATE IP, AND IP SHARER USING THEREOF}Method of allocating and updating private IP, IP router using the same {METHOD FOR ASSIGNING PRIVATE IP AND RENEWING PRIVATE IP, AND IP SHARER USING THEREOF}

본 발명은 특정 종류의 단말로 사설 아이피를 할당하거나 갱신하는 방법 및 이를 이용한 아이피 공유기를 제공한다.The present invention provides a method for allocating or updating a private IP to a specific type of terminal and an IP router using the same.

최근 이슈화 되고 있는 VoIP(Voice over Internet Protocol) 서비스는 초고속인터넷과 같은 IP 망을 기반으로 패킷 데이터를 통해 음성 통화를 구현하는 통신 기술이다. 기존 음성 통화 서비스는 전용 통신 회선을 이용하여 음성 데이터를 송수신기 때문에, 언제 통화를 하든지 통화의 실시간성이 보장될 수 있다. 이와 달리 VoIP 서비스는 VoIP 단말로부터 발생하는 음성 데이터 외 타 단말(예컨대, 컴퓨터, 핸드폰, 태블릿 PC 등)에서 발생하는 통신 데이터와도 같은 회선을 공유하기 때문에 회선이 혼잡하거나 음성 데이터가 트래픽 초과 회선을 통과하여야만 하는 경우에는 VoIP 서비스의 실시간성이 보장되지 않는 경우가 발생하게 된다.Voice over Internet Protocol (VoIP) service, which has recently been an issue, is a communication technology that implements voice calls through packet data based on IP networks such as high speed internet. Since the existing voice call service transmits and receives voice data using a dedicated communication line, the real time of the call can be guaranteed at any time. On the other hand, VoIP service shares the same line as communication data generated from other terminals (for example, computer, mobile phone, tablet PC, etc.) in addition to voice data generated from VoIP terminal. If it must pass, there is a case where the real-time performance of the VoIP service is not guaranteed.

특히, 컴퓨터, 프린터, VoIP 등 다수의 기기를 하나의 IP 공유기를 연결하는 사무소 환경에서, IP 공유기에 과다한 트래픽이 유발되면 VoIP 서비스의 실시간성을 보장할 수 없다는 문제점이 발생할 수 있다.In particular, in an office environment in which a plurality of devices such as computers, printers, VoIP, and the like are connected to one IP router, when excessive traffic is caused to the IP router, there may be a problem in that it is impossible to guarantee the real-time performance of the VoIP service.

본 발명은 특정 종류의 단말에만 사설 IP를 할당하는 것을 목적으로 한다.An object of the present invention is to assign a private IP only to a specific type of terminal.

더욱 상세하게는 사설 IP 요청시 엔드 디바이스로부터 송신되는 메시지에 소정 식별자가 포함되었는지를 판단함으로써, VoIP 단말에만 사설 IP를 할당하는 것을 목적으로 한다.More specifically, an object of the present invention is to assign a private IP only to a VoIP terminal by determining whether a predetermined identifier is included in a message transmitted from an end device in a private IP request.

VoIP 단말에만 사설 IP를 할당함으로써, IP 공유기의 트래픽 과다를 방지하고, VoIP 서비스의 실시간성을 보장하는 것을 목적으로 한다.By allocating private IP only to the VoIP terminal, it is an object to prevent excessive traffic of the IP router and to ensure real-time service of the VoIP service.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, unless further departing from the spirit and scope of the invention as defined by the appended claims. It will be possible.

본 발명의 일예에 따른 사설 아이피 할당 방법은, 아이피(Internet Protocol, IP) 공유기가 소정의 인터넷 서비스 제공자(Internet Service Provider, ISP)의 시스템으로부터 공인 IP를 할당 받는 단계; 상기 IP 공유기가 엔드 디바이스로부터 송신되는 DHCP(Dynamic Host Configuration Protocol) 탐색(discover) 메시지를 탐지하는 단계; 상기 IP 공유기가 상기 DHCP 탐색 메시지에 특정 단말임을 식별할 수 있는 제1 식별자가 포함되어 있는지를 판단하는 단계; 및 상기 IP 공유기가 상기 DHCP 탐색 메시지에 상기 제1 식별자가 포함되어 있는지 여부를 기초로, 상기 엔드 디바이스로 DHCP 제공(Offer) 메시지의 송신 여부를 결정하는 단계를 포함한다.Private IP allocation method according to an embodiment of the present invention, the IP (Internet Protocol) router (IP) router receiving a public IP from a system of a predetermined Internet service provider (Internet Service Provider, ISP); Detecting, by the IP router, a Dynamic Host Configuration Protocol (DHCP) discovery message sent from an end device; Determining whether the IP router includes a first identifier for identifying that the DHCP discovery message is a specific terminal; And determining, by the IP router, whether to send a DHCP Offer message to the end device based on whether the first identifier is included in the DHCP discovery message.

이때, 상기 특정 단말은 VoIP(Voice over IP) 단말일 수 있다.In this case, the specific terminal may be a Voice over IP (VoIP) terminal.

본 발명의 다른예에 따른 사설 아이피 할당 방법은 아이피(Internet Protocol, IP) 공유기가 소정의 인터넷 서비스 제공자(Internet Service Provider, ISP)의 시스템으로부터 공인 IP를 할당 받는 단계; 상기 IP 공유기가 엔드 디바이스로부터 송신되는 DHCP(Dynamic Host Configuration Protocol) 탐색(discover) 메시지를 탐지하는 단계; 상기 IP 공유기가 상기 DHCP 탐색 메시지에 대응하여 상기 엔드 디바이스로 DHCP 제공(Offer) 메시지를 송신하는 단계; 상기 IP 공유기가 상기 엔드 디바이스로부터 DHCP 요청(Request) 메시지를 수신하는 단계; 상기 IP 공유기가 상기 DHCP 요청 메시지에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지를 판단하는 단계; 및 상기 판단 결과를 기초로 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 결정하는 단계를 포함할 수도 있다.The private IP allocation method according to another embodiment of the present invention comprises the steps of: an IP (Internet Protocol) IP router is allocated a public IP from a system of a predetermined Internet service provider (ISP); Detecting, by the IP router, a Dynamic Host Configuration Protocol (DHCP) discovery message sent from an end device; Sending, by the IP router, a DHCP Offer message to the end device in response to the DHCP discovery message; The IP router receiving a DHCP request message from the end device; Determining whether the IP router includes an identifier for identifying that the DHCP request message is a specific terminal; And determining whether to allocate a private IP to the end device based on the determination result.

본 발명의 일예에 따른 아이피 갱신 방법은 아이피(Internet Protocol, IP) 공유기가 사설 IP가 할당된 엔드 디바이스로부터, 할당된 사설 IP의 갱신을 요청하는 IP 갱신 요청 신호를 수신하는 단계; 상기 IP 공유기가 상기 IP 갱신 요청 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지를 판단하는 단계; 및 상기 IP 공유기가 상기 판단 결과를 기초로 상기 엔드 디바이스에 할당된 상기 사설 IP의 갱신 여부를 결정하는 단계를 포함할 수 있다.An IP updating method according to an embodiment of the present invention comprises the steps of: an Internet Protocol (IP) router receiving an IP update request signal for requesting an update of an allocated private IP from an end device to which a private IP is assigned; Determining whether the IP router includes an identifier for identifying that the IP update request signal is a specific terminal; And determining, by the IP router, whether to update the private IP allocated to the end device based on the determination result.

본 발명의 일예에 따른 아이피 공유기는 소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부; 하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부; 상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및 상기 엔드 디바이스로부터 IP 할당 신호를 수신하면, 상기 IP 할당 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고, 상기 IP 할당 신호에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 제어하는 제어부를 포함할 수 있다.The IP router according to an embodiment of the present invention includes a broadband network (WAN) interface unit for connection with a predetermined Internet service provider system; A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices; An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And upon receiving an IP allocation signal from the end device, determine whether the IP allocation signal includes an identifier for identifying that the terminal is a specific terminal, and determine whether the IP allocation signal includes the identifier. It may include a control unit for controlling whether to assign a private IP.

본 발명의 다른 예에 따른 아이피 공유기는 소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부; 하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부; 상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및 상기 엔드 디바이스로부터 IP 재할당 신호를 수신하면, 상기 IP 재할당 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고, 상기 IP 재할당 신호에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스에 할당된 사설 IP의 임대 기간을 연장할 것인지 여부를 제어하는 제어부를 포함할 수 있다.According to another embodiment of the present invention, an IP router includes: a broadband network (WAN) interface unit for accessing a predetermined Internet service provider system; A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices; An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And upon receiving an IP reassignment signal from the end device, determine whether the IP reassignment signal includes an identifier for identifying a specific terminal, and determine whether the IP reassignment signal includes the identifier. It may include a control unit for controlling whether to extend the lease period of the private IP assigned to the end device.

본 발명의 또 다른 예에 따른 아이피 공유기는 소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부; 하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부; 상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및 상기 엔드 디바이스로부터 브로드캐스팅되는 DHCP(Dynamic Host Configuration Protocol) 탐색 메시지가 탐지되면, 상기 DHCP 탐색 메시지에 응답하여, 모조 IP를 포함하는 제1 DHCP 제공 메시지를 송신하고, 상기 엔드 디바이스로부터 DHCP 거절 메시지가 송신되면, 상기 DHCP 거절 메시지에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고, 상기 DHCP 거절 메시지에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 결정하는 제어부를 포함할 수 있다.IP router according to another embodiment of the present invention includes a broadband network (WAN) interface unit for connecting to a predetermined Internet service provider system; A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices; An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And when a DHCP discovery message broadcast from the end device is detected, in response to the DHCP discovery message, transmit a first DHCP provision message including a fake IP, and send a DHCP rejection message from the end device. Is transmitted, it is determined whether the DHCP rejection message includes an identifier for identifying a specific terminal, and whether to assign a private IP to the end device according to whether the DHCP rejection message includes the identifier. It may include a control unit for determining.

본 발명에서 얻을 수 있는 기술적 해결 수단은 이상에서 언급한 해결 수단들로 제한되지 않으며, 언급하지 않은 또 다른 해결 수단들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical solutions obtained by the present invention are not limited to the above-mentioned solutions, and other solutions not mentioned are clearly described to those skilled in the art from the following description. It can be understood.

본 발명은 특정 종류의 단말에만 사설 IP를 할당할 수 있다.According to the present invention, a private IP can be assigned only to a specific type of terminal.

특정 종류의 단말에만 사설 IP를 할당함으로써, IP 공유기의 트래픽이 초과되는 것을 방지할 수 있다.By assigning a private IP only to a specific type of terminal, it is possible to prevent the traffic of the IP router from being exceeded.

특정 조류의 단말이 VoIP 단말일 경우, VoIP 서비스의 실시간성을 보장할 수 있다.If the terminal of a particular bird is a VoIP terminal, it is possible to ensure the real-time of the VoIP service.

본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtained by the present invention are not limited to the above-mentioned effects, and other effects not mentioned can be clearly understood by those skilled in the art from the following description will be.

도 1은 IP 공유기가 VoIP 단말로 사설 IP를 제공하는 시스템의 개략도.
도 2는 도 1에 도시된 IP 공유기의 블록도.
도 3는 DHCP 탐색 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정의 흐름도.
도 4는 DHCP 요청 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정의 흐름도.
도 5는 DHCP 탐색 메시지 및 DHCP 요청 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정의 흐름도.
도 6은 DHCP 거절 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정의 흐름도.
도 7은 DHCP 요청 메시지를 이용하여 VoIP 단말에 할당된 사설 IP를 갱신하는 과정의 흐름도.
도 8은 엔드 디바이스와 IP 공유기 사이의 DHCP 메시지 사이에 각각 식별자가 부가되는 것을 설명하기 위한 예시도.
1 is a schematic diagram of a system in which an IP router provides a private IP to a VoIP terminal.
FIG. 2 is a block diagram of the IP router shown in FIG.
3 is a flowchart of a process of allocating a private IP to a VoIP terminal using a DHCP discovery message.
4 is a flowchart of a process of allocating a private IP to a VoIP terminal using a DHCP request message.
5 is a flowchart of a process of allocating a private IP to a VoIP terminal using a DHCP discovery message and a DHCP request message.
6 is a flowchart of a process of allocating a private IP to a VoIP terminal using a DHCP rejection message.
7 is a flowchart of a process of updating a private IP assigned to a VoIP terminal by using a DHCP request message.
8 is an exemplary diagram for explaining that an identifier is added between DHCP messages between an end device and an IP router, respectively.

이하, 본 발명과 관련된 아이피 공유기(100)에 대하여 도면을 참조하여 보다 상세하게 설명한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "부", "모듈"은 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. Hereinafter, the IP sharer 100 related to the present invention will be described in detail with reference to the accompanying drawings. The suffixes "parts" and "modules" used in the following description are given or mixed in consideration of ease of specification, and do not have distinct meanings or roles.

도 1은 IP 공유기(100)가 VoIP 단말로 사설 IP를 제공하는 시스템의 개략도이다. 도 1을 참조하면, IP 공유기(100)가 VoIP 단말로 사설 IP를 제공하기 위해서는, 인터넷 서비스 제공자 시스템(300), IP 공유기(100) 및 적어도 하나의 엔드 디바이스(200)가 포함될 수 있다.1 is a schematic diagram of a system in which the IP router 100 provides a private IP to a VoIP terminal. Referring to FIG. 1, in order to provide a private IP to a VoIP terminal, the IP router 100 may include an internet service provider system 300, an IP router 100, and at least one end device 200.

인터넷 서비스 제공자 시스템(300)은 자사의 네트워크에 접속하는 다양한 종류의 엔드 디바이스(200)에 인터넷 접속 서비스를 제공하기 위한 시스템이다. 본 발명에서는 특히 VoIP 단말이 인터넷에 접속하도록 하기 위해, 인터넷 서비스 제공자 시스템(300)은 VoIP 단말과 유무선 통신을 통해 연동되는 IP 공유기(100)로 공인 IP를 할당할 수 있다. 이와 함께, 인터넷 서비스 제공자 시스템(300)은 IP 공유기(100)로 서브넷 마스크의 클래스(클래스 A, B, C)를 할당할 수 있다. 서브넷 마스크는 IP 공유기(100)가 네트워크 ID와 호스트 ID를 분리하는 것에 이용되고, IP 공유기(100)가 다수의 서브넷(Subnet)을 형성하는 것에 이용될 수 있다.The Internet service provider system 300 is a system for providing an Internet connection service to various kinds of end devices 200 that connect to their networks. In the present invention, in particular, in order to allow the VoIP terminal to access the Internet, the Internet service provider system 300 may assign a public IP to the IP router 100 interworking with the VoIP terminal through wired or wireless communication. In addition, the Internet service provider system 300 may assign a class (classes A, B, and C) of the subnet mask to the IP router 100. The subnet mask may be used by the IP router 100 to separate the network ID and the host ID, and may be used by the IP router 100 to form a plurality of subnets.

인터넷 서비스 제공자 시스템(300)으로부터 공인(public) IP를 할당 받은 IP 공유기(100)는 엔드 디바이스(200) 중 VoIP 단말에 대해 사설(private) IP가 할당되도록 제어할 수 있다. 공개형 IP인 공인 IP와 달리 폐쇄형 IP인 사설 IP가 VoIP 단말에 할당되도록 제어함으로써, VoIP 단말의 보안 위험을 감소시킬 수 있다.The IP sharer 100 allocated with the public IP from the Internet service provider system 300 may control the private IP to be allocated to the VoIP terminal of the end device 200. Unlike public IP, which is an open IP, a private IP, which is a closed IP, is controlled to be allocated to the VoIP terminal, thereby reducing the security risk of the VoIP terminal.

이때, IP 공유기(100)는 엔드 디바이스(200) 중 VoIP 단말이 아닌 비 VoIP 단말에는 사설 IP가 할당되지 않도록 할 수 있다. 구체적으로, IP 공유기(100)는 엔드 디바이스(200)로부터 송출되는 IP 할당 신호에 VoIP 단말임을 식별할 수 있는 식별자가 포함된 경우에 한하여 사설 IP가 할당되도록 제어할 수 있다.In this case, the IP sharer 100 may prevent the private IP from being allocated to non-VoIP terminals other than the VoIP terminal among the end devices 200. Specifically, the IP router 100 may control to allocate a private IP only when the IP allocation signal transmitted from the end device 200 includes an identifier for identifying the VoIP terminal.

VoIP 단말에게만 사설 IP를 할당함으로써, IP 공유기(100)를 통과하는 트래픽은 VoIP 단말에서 사용되는 트래픽으로 한정된다. 이로써, IP 공유기(100)는 비 VoIP 단말로부터 유입되는 트래픽을 차단함으로써 트래픽이 가중되는 것을 방지함과 동시에, VoIP 서비스 이용시 음성 데이터의 전송 지연을 예방할 수 있다.By assigning a private IP only to the VoIP terminal, the traffic passing through the IP router 100 is limited to the traffic used at the VoIP terminal. As a result, the IP router 100 may prevent traffic from being increased by blocking traffic flowing from the non-VoIP terminal, and at the same time, prevent transmission delay of voice data when using the VoIP service.

도 1에 도시된 VoIP 단말은 IP 공유기(100)로부터 사설 IP를 할당 받아 인터넷에 연결될 수 있다. IP 공유기(100)로부터 사설 IP를 할당 받고자 하는 VoIP 단말은 IP 할당 신호를 IP 공유기(100)로 제공함으로써 사설 IP를 할당 받을 수 있다. 이때, IP 할당 신호는 DHCP(Dynamic Host Configuration Protocol)를 이용하여 생성된 것일 수 있다. IP 할당 신호가 DHCP를 이용하여 생성된 것일 경우, IP 할당 신호는 DHCP 검색(discover) 메시지 및 DHCP 요청(Request) 메시지 중 적어도 하나를 포함할 수 있다. The VoIP terminal illustrated in FIG. 1 may be connected to the Internet by receiving a private IP from the IP router 100. The VoIP terminal to be assigned a private IP from the IP router 100 may be assigned a private IP by providing an IP allocation signal to the IP router 100. In this case, the IP allocation signal may be generated using Dynamic Host Configuration Protocol (DHCP). When the IP allocation signal is generated using DHCP, the IP allocation signal may include at least one of a DHCP discovery message and a DHCP request message.

도 2는 도 1에 도시된 IP 공유기(100)의 블록도이다. 도 2를 참조하면, 본 발명에 따른 IP 공유기(100)는 광대역 네트워크(WAN) 인터페이스부(110), 근거리 네트워크(LAN) 인터페이스부(120), 주소 관리 모듈(130) 및 제어부(140)를 포함할 수 있다.FIG. 2 is a block diagram of the IP router 100 shown in FIG. 1. Referring to FIG. 2, the IP router 100 according to the present invention includes a wide area network (WAN) interface unit 110, a local area network (LAN) interface unit 120, an address management module 130, and a controller 140. It may include.

광대역 네트워크 인터페이스부(110)는 소정의 인터넷 서비스 제공자 시스템(300)과 네트워크를 형성하기 위한 것이다. 광대역 네트워크 인터페이스부(110)를 통해 IP 공유기(100)와 소정의 인터넷 서비스 제공자 시스템(300) 사이에 네트워크가 형성되면, 제어부(140)는 인터넷 서비스 제공자 시스템(300)으로부터 공인 IP가 제공되도록 제어할 수 있다.The broadband network interface unit 110 is for forming a network with a predetermined Internet service provider system 300. When a network is formed between the IP router 100 and the predetermined Internet service provider system 300 through the broadband network interface unit 110, the controller 140 controls the public IP to be provided from the Internet service provider system 300. can do.

근거리 네트워크 인터페이스부(120)는 하나 이상의 엔드 디바이스(200)와 유무선 접속을 수행하기 위한 것이다. 근거리 네트워크 인터페이스부(120)는 하나 이상의 엔드 디바이스(200)와 연결되기 위한 하나 이상의 포트를 포함할 수 있다.The local area network interface unit 120 is for performing a wired or wireless connection with one or more end devices 200. The local area network interface unit 120 may include one or more ports for connecting with one or more end devices 200.

주소 관리 모듈(130)은 인터넷 서비스 제공자 시스템(300)으로부터 할당 받은 공인 IP 주소를 저장하고, 엔드 디바이스(200)로의 사설 IP 할당 내역을 저장한다. The address management module 130 stores a public IP address assigned from the Internet service provider system 300 and stores a private IP allocation history to the end device 200.

제어부(140)는 엔드 디바이스(200)로부터 IP 할당 신호 또는 IP 재할당 신호가 수신되면, IP 할당 신호에 VoIP 단말임을 식별할 수 있는 식별자가 존재하는지 여부에 따라 엔드 디바이스(200)로 사설 IP를 할당할 것인지 여부를 결정할 수 있다. 나아가, 제어부(140)는 주소 관리 모듈(130)에 저장된 공인 IP 주소와 사설 IP 주소를 이용하여 VoIP 단말로 유입되거나 VoIP 단말로부터 유출되는 트래픽에 NAT(Network Address Translation)이 적용되도록 제어할 수 있다.When the IP allocation signal or the IP reassignment signal is received from the end device 200, the controller 140 sends the private IP to the end device 200 according to whether an identifier for identifying the VoIP terminal exists in the IP allocation signal. You can decide whether to assign. In addition, the controller 140 may control the network address translation (NAT) to be applied to traffic flowing into or out of the VoIP terminal using the public IP address and the private IP address stored in the address management module 130. .

제어부(140)와 엔드 디바이스(200) 사이에 사설 IP를 할당함에 있어서, DHCP(Dynamic Host Configuration Protocol)가 사용될 수 있다. 이 경우, IP 할당 신호는 DHCP 탐색 메시지이거나, DHCP 요청 메시지 또는 이들 모두를 포함할 수 있고, IP 재할당 신호는 DHCP 거절 메시지를 포함할 수 있다.In allocating a private IP between the controller 140 and the end device 200, a dynamic host configuration protocol (DHCP) may be used. In this case, the IP assignment signal may be a DHCP discovery message or may include a DHCP request message or both, and the IP reassignment signal may include a DHCP rejection message.

구체적으로, 제어부(140)는 DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되었는지 여부를 판단하거나, DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되었는지 여부를 판단하여 엔드 디바이스(200)에 사설 IP를 할당할 것인지 여부를 결정할 수 있다.In detail, the controller 140 determines whether the DHCP discovery message includes an identifier for identifying the VoIP terminal, or determines whether the DHCP request message includes an identifier for identifying the VoIP terminal. It may be determined whether or not to assign a private IP to (200).

이하에서는 DHCP 검색 메시지에 식별자가 포함되는 경우와 DHCP 요청 메시지에 식별자가 포함되는 경우를 구분하여, 본 발명에 따른 사설 IP의 할당 방법을 상세히 살펴보기로 한다. Hereinafter, a method of allocating a private IP according to the present invention will be described in detail by distinguishing a case where an identifier is included in a DHCP search message and a case where an identifier is included in a DHCP request message.

도 3는 DHCP 탐색 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정을 흐름도로 도시한 것이다. 도 3를 참조하면, 먼저, IP 공유기(100)는 인터넷 서비스 제공사 시스템(300)과 광대역 네트워크(WAN)를 형성하고, 인터넷 서비스 제공사 시스템(300)으로부터 공인 IP를 할당받을 수 있다(S301). IP 공유기(100)는 공인 IP를 이용하여 동일한 네트워크(구체적으로는, 근거리 네트워크(Locan Area Network, LAN))에 소속된 VoIP 단말이 VoIP 서비스를 이용하도록 하는데에 이용될 수 있다. 구체적으로, IP 공유기(100)는 공인 IP와 VoIP 단말에 할당된 사설 IP 사이의 NAT(Network Address Translation)을 통해, VoIP 단말이 VoIP 서비스를 이용하도록 제어할 수 있다.3 is a flowchart illustrating a process of allocating a private IP to a VoIP terminal using a DHCP discovery message. Referring to FIG. 3, first, the IP router 100 may form a broadband network (WAN) with an Internet service provider system 300 and may be assigned a public IP from the Internet service provider system 300 (S301). The IP sharer 100 may be used to allow a VoIP terminal belonging to the same network (specifically, a local area network (LAN)) to use a VoIP service using a public IP. In detail, the IP router 100 may control the VoIP terminal to use the VoIP service through NAT (Network Address Translation) between the public IP and the private IP assigned to the VoIP terminal.

이후, IP 공유기(100)는 사설 IP를 할당 받고자 하는 엔드 디바이스(200)로부터 브로드캐스팅되는 DHCP 탐색(discover) 메시지를 탐지할 수 있다(S302). DHCP 탐색 메시지는 DHCP 서버(구체적으로는, IP 공유기(100))를 탐지하기 위해, 엔드 디바이스(200)로부터 브로드캐스팅되는 메시지이다.Thereafter, the IP router 100 may detect a DHCP discovery message broadcast from the end device 200 to which the private IP is to be allocated (S302). The DHCP discovery message is a message broadcast from the end device 200 to detect a DHCP server (specifically, the IP router 100).

DHCP 탐색 메시지를 탐지한 IP 공유기(100)는 DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단할 수 있다(S303). DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있지 않다면, IP 공유기(100)는 DHCP 탐색 메시지에 응답하지 않을 수 있다. 반대로 DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함된 것으로 판단된 경우, IP 공유기(100)는 DHCP 탐색 메시지에 대응하여 DHCP 제공(Offer) 메시지를 엔드 디바이스(200)로 제공할 수 있다(S304). DHCP 제공 메시지는 IP 공유기(100)에서 할당하고자 하는 사설 IP가 포함될 수 있다.When detecting the DHCP discovery message, the IP router 100 may determine whether the identifier for identifying the VoIP terminal is included in the DHCP discovery message (S303). If the identifier for identifying the VoIP terminal is not included in the DHCP discovery message, the IP router 100 may not respond to the DHCP discovery message. On the contrary, when it is determined that the DHCP discovery message includes an identifier for identifying the VoIP terminal, the IP router 100 may provide a DHCP Offer message to the end device 200 in response to the DHCP discovery message. (S304). The DHCP providing message may include a private IP to be allocated in the IP router 100.

DHCP 제공 메시지를 제공받은 엔드 디바이스(200)는 할당된 사설 IP를 대상으로 ARP(Address Resolution Protocol) 브로드캐스팅을 수행할 수 있다(S305). ARP 브로드캐스팅을 통해, 사설 IP와 동일한 주소를 갖는 타 엔드 디바이스(200)가 검출된 경우, 이동 단말기는 IP 공유기(100)로 DHCP 거절(Decline) 메시지를 제공할 수 있다. DHCP 거절 메시지를 수신한 IP 공유기(100)는 변경된 사설 IP를 포함하는, DHCP 제공 메시지를 엔드 디바이스(200)로 재전송할 수 있다.The end device 200 receiving the DHCP provision message may perform ARP (Address Resolution Protocol) broadcasting on the allocated private IP (S305). When the other end device 200 having the same address as the private IP is detected through ARP broadcasting, the mobile terminal may provide a DHCP Decline message to the IP router 100. Upon receiving the DHCP rejection message, the IP router 100 may retransmit the DHCP providing message including the changed private IP to the end device 200.

반대로, 사설 IP와 동일한 주소를 갖는 타 엔드 디바이스(200)가 검출되지 않은 경우, 엔드 디바이스(200)는 DHCP 제공 메시지내 사설 IP를 할당해줄 것을 요청하는 DHCP 요청(Request) 메시지를 IP 공유기(100)로 제공할 수 있다(S306). DHCP 요청 메시지를 수신한 IP 공유기(100)는 엔드 디바이스(200)로 DHCP ACK 메시지를 전송함으로써, 엔드 디바이스(200)로의 사설 IP 할당이 완료되도록 제어할 수 있다(S307). DHCP ACK 메시지를 전송한 이후, IP 공유기(100)의 제어부(140)는 주소 관리 모듈(130)에 엔드 디바이스(200)의 피지컬 주소(physical aderess)와 엔드 디바이스(200)에 할당된 사설 IP 사이의 매핑 테이블을 저장할 수 있다. 매핑 테이블을 이용하여, IP 공유기(100)의 제어부(140)는 사설 IP와 공인 IP 사이에 NAT을 적용할 수 있을 것이다.On the contrary, when the other end device 200 having the same address as the private IP is not detected, the end device 200 sends a DHCP request message requesting to allocate a private IP in the DHCP providing message. ) Can be provided (S306). The IP router 100 receiving the DHCP request message may transmit a DHCP ACK message to the end device 200 to control the private IP allocation to the end device 200 to be completed (S307). After transmitting the DHCP ACK message, the control unit 140 of the IP sharer 100 sends an address management module 130 between the physical address of the end device 200 and the private IP assigned to the end device 200. You can save the mapping table. Using the mapping table, the controller 140 of the IP router 100 may apply NAT between the private IP and the public IP.

도 3에서는 IP 공유기(100)가 DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는가를 판단함으로써, 엔드 디바이스(200)로 사설 IP 할당 여부가 결정되는 것으로 설명하고 있으나, 반드시 DHCP 탐색 메시지를 이용하여 사설 IP 할당 여부가 결정되어야 하는 것은 아니다.Although FIG. 3 illustrates that the IP router 100 determines whether the DHCP discovery message includes an identifier for identifying the VoIP terminal, whether or not the private IP is allocated to the end device 200 is determined. It is not necessary to determine whether to allocate private IP using.

나아가, 도 3에서는 엔드 디바이스(200)가 DHCP 제공 메시지를 제공받은 후 ARP 브로드캐스팅이 수행되는 것으로 예시하였지만, ARP 브로드캐스팅이 반드시 DHCP 제공 메시지를 수신한 이후에 수행되어야 하는 것은 아니다. ARP 브로드 캐스팅은 DHCP ACK 메시지를 제공 받은 이후에 수행될 수도 있다.Furthermore, although FIG. 3 illustrates that the ARP broadcasting is performed after the end device 200 receives the DHCP providing message, the ARP broadcasting is not necessarily performed after receiving the DHCP providing message. ARP broadcasting may be performed after receiving a DHCP ACK message.

이하에서는 도 4를 통해, IP 공유기(100)가 DHCP 요청 메시지를 이용하여 엔드 디바이스(200)로 사설 IP 할당 여부를 결정하는 과정을 설명하기로 한다.Hereinafter, a process of determining whether to allocate a private IP to the end device 200 by using the DHCP request message by the IP router 100 will be described with reference to FIG. 4.

도 4는 DHCP 요청 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정을 흐름도로 도시한 것이다. 도 4의 S401 단계는 도 3의 S301 단계에 대응하므로, 이에 대한 상세한 설명은 생략한다.4 is a flowchart illustrating a process of allocating a private IP to a VoIP terminal using a DHCP request message. Since step S401 of FIG. 4 corresponds to step S301 of FIG. 3, a detailed description thereof will be omitted.

IP 공유기(100)가 사설 IP를 할당 받고자 하는 엔드 디바이스(200)로부터 브로드캐스팅되는 DHCP 탐색(discover) 메시지를 감지하면(S402), IP 공유기(100)는 DHCP 탐색 메시지에 대응하여, 엔드 디바이스(200)로 DHCP 제공(Offer) 메시지를 제공할 수 있다(S403).When the IP sharer 100 detects a DHCP discovery message broadcast from the end device 200 to which a private IP is to be allocated (S402), the IP sharer 100 responds to the DHCP discovery message and the end device ( In step 200, a DHCP offer message may be provided (S403).

DHCP 제공 메시지를 제공받은 엔드 디바이스(200)는 할당된 사설 IP를 대상으로 ARP(Address Resolution Protocol) 브로드캐스팅을 수행할 수 있다(S404). ARP 브로드캐스팅을 통해, 사설 IP와 동일한 주소가 할당된 타 엔드 디바이스(200)가 검출되지 않았다면, 엔드 디바이스(200)는 DHCP 요청(Request) 메시지를 전송할 수 있다(S405).The end device 200 receiving the DHCP provision message may perform ARP (Address Resolution Protocol) broadcasting on the allocated private IP (S404). If the other end device 200 assigned the same address as the private IP is not detected through ARP broadcasting, the end device 200 may transmit a DHCP request message (S405).

엔드 디바이스(200)로부터 DHCP 요청 메시지를 수신한 IP 공유기(100)는 DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단할 수 있다(S406). DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있지 않다면, IP 공유기(100)는 DHCP 요청 메시지에 대한 응답으로 DHCP NACK 메시지가 전송되도록 제어할 수 있다. 반대로, DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는 경우, IP 공유기(100)는 DHCP 요청 메시지에 대한 응답으로 DHCP ACK 메시지가 전송되도록 제어할 수 있다(S407). DHCP ACK 메시지를 전송한 이후, IP 공유기(100)의 제어부(140)는 엔드 디바이스(200)의 피지컬 주소와 엔드 디바이스(200)에 할당된 사설 IP 사이의 매핑 테이블을 저장할 수 있다. 매핑 테이블을 이용하여, IP 공유기(100)의 제어부(140)는 사설 IP와 공인 IP 사이에 NAT을 적용할 수 있을 것이다.Upon receiving the DHCP request message from the end device 200, the IP router 100 may determine whether the DHCP discovery message includes an identifier for identifying the VoIP terminal (S406). If the identifier for identifying the VoIP terminal is not included in the DHCP request message, the IP router 100 may control the DHCP NACK message to be transmitted in response to the DHCP request message. On the contrary, when the DHCP request message includes an identifier for identifying the VoIP terminal, the IP router 100 may control the DHCP ACK message to be transmitted in response to the DHCP request message (S407). After transmitting the DHCP ACK message, the controller 140 of the IP sharer 100 may store a mapping table between the physical address of the end device 200 and the private IP assigned to the end device 200. Using the mapping table, the controller 140 of the IP router 100 may apply NAT between the private IP and the public IP.

즉, 도 4에서는 도 3과 달리 DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는가를 판단함으로써, 엔드 디바이스(200)로 사설 IP 할당 여부가 결정되도록 제어하고 있다.That is, in FIG. 4, unlike FIG. 3, by determining whether the DHCP request message includes an identifier for identifying the VoIP terminal, the end device 200 determines whether to allocate a private IP.

다만, 도 3 및 도 4와 같이, DHCP 탐색 메시지, DHCP 요청 메시지 중 어느 하나에만 VoIP 단말임을 식별할 수 있는 식별자가 포함되어야 하는 것은 아니다. 일예로, IP는 DHCP 탐색 메시지와 DHCP 요청 메시지 모두에 VoIP 단말임을 식별할 수 있는 식별자가 포함되었는지를 판단함으로써 엔드 디바이스(200)로 사설 IP를 할당할 것인지 여부를 제어할 수도 있다. 일예로, 도 5는 DHCP 탐색 메시지 및 DHCP 요청 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정을 흐름도로 도시한 것이다.However, as shown in FIGS. 3 and 4, only one of the DHCP discovery message and the DHCP request message should not include an identifier for identifying the VoIP terminal. For example, the IP may control whether to allocate a private IP to the end device 200 by determining whether both an DHCP discovery message and a DHCP request message include an identifier for identifying the VoIP terminal. For example, FIG. 5 is a flowchart illustrating a process of allocating a private IP to a VoIP terminal using a DHCP discovery message and a DHCP request message.

도 3 및 도 4와 도 5를 비교하면, 도 5의 IP 공유기(100)는 DHCP 탐색(Discover) 메시지와 DHCP 요청(Request) 메시지 모두에 대해 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는가를 판단(S503,S507) 한다는 점이다. 이 경우, IP 공유기(100)는 앞서 도 3 및 도 4에서 살펴본 바와 같이, DHCP 탐색 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함된 경우에만 DHCP 제공 메시지를 엔드 디바이스(200)로 제공할 것이고(S504), DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함된 경우에만 DHCP ACK 메시지를 엔드 디바이스(200)에 반환할 것이다(S508).3, 4, and 5, the IP router 100 of FIG. 5 determines whether an identifier for identifying a VoIP terminal is included in both a DHCP discovery message and a DHCP request message. (S503, S507). In this case, as shown in FIG. 3 and FIG. 4, the IP router 100 will provide the DHCP providing message to the end device 200 only when the DHCP discovery message includes an identifier for identifying the VoIP terminal. In operation S504, the DHCP ACK message may be returned to the end device 200 only when the DHCP request message includes an identifier for identifying the VoIP terminal in operation S508.

도 5에 있어서, DHCP 탐색 메시지에 포함되는 식별자와 DHCP 요청 메시지에 포함되는 식별자는 서로 동일할 수도 있으나, 반드시 동일하여야 하는 것은 아니다. DHCP 탐색 메시지에 포함되는 식별자(제1 식별자)와 DHCP 요청 메시지에 포함되는 식별자(제2 식별자)는 서로 다른 문자열을 가질 수도 있다.In FIG. 5, the identifier included in the DHCP discovery message and the identifier included in the DHCP request message may be the same, but are not necessarily the same. The identifier (first identifier) included in the DHCP discovery message and the identifier (second identifier) included in the DHCP request message may have different strings.

도 3 내지 도 5의 예에서는 DHCP 탐색 메시지 및/또는 DHCP 요청 메시지 등 IP 할당 신호에 VoIP 단말임을 식별할 수 있는 식별자가 부가되어야 엔드 디바이스(200)로 사설 IP가 할당되는 것으로 설명하고 있다. 다만, 도 3 내지 도 5의 예에서와 같이, VoIP 단말이 DHCP 탐색 메시지나 DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자를 꼭 부가하여야 한다면, 본 발명에 따른 IP 공유기(100) 외 종래의 IP 공유기(100)와는 호환될 수 없다는 문제점이 발생할 수도 있다.3 to 5 illustrate that the private IP is allocated to the end device 200 only when an identifier for identifying the VoIP terminal is added to an IP allocation signal such as a DHCP discovery message and / or a DHCP request message. 3 to 5, if the VoIP terminal must add an identifier for identifying the VoIP terminal to the DHCP discovery message or the DHCP request message, the IP router 100 according to the present invention and the related art There may be a problem that it is not compatible with the IP router 100.

이를 방지하기 위해, IP 공유기(100)는 IP 재할당 신호를 기초로 엔드 디바이스(200)로의 사설 IP 할당 여부를 결정할 수도 있다. 이에 대한 상세한 설명은 도 6을 참조한다.To prevent this, the IP router 100 may determine whether to allocate a private IP to the end device 200 based on the IP reassignment signal. Detailed description thereof will be made with reference to FIG. 6.

도 6은 DHCP 거절 메시지를 이용하여 VoIP 단말로 사설 IP를 할당하는 과정을 흐름도로 도시한 것이다. 도 6의 S601 단계는 도 3의 S301 단계와 동일하므로 이에 대한 상세한 설명은 생략한다.6 is a flowchart illustrating a process of allocating a private IP to a VoIP terminal using a DHCP rejection message. Since step S601 of FIG. 6 is the same as step S301 of FIG. 3, a detailed description thereof will be omitted.

IP 공유기(100)가 사설 IP를 할당 받고자 하는 엔드 디바이스(200)로부터 브로드캐스팅되는 DHCP 탐색(discover) 메시지를 감지하면(S602), IP 공유기(100)는 이에 대한 응답으로 제1 DHCP 제공(Offer) 메시지를 제공할 수 있다(S603). 이때, IP 공유기(100)는(구체적으로는 IP 공유기(100)의 제어부(140)) 제1 DHCP 제공 메시지에 모조(Fake) IP가 포함되도록 제어할 수 있다. 모조 IP는 엔드 디바이스(200)에서 사설 IP로 사용할 수 없는 것으로, 타 엔드 디바이스(200)에서 기 사용 중인 사설 IP이거나, IP 공유기(100)에 할당된 공인 IP일 수도 있다.When the IP sharer 100 detects a DHCP discovery message broadcast from the end device 200 to which a private IP is to be allocated (S602), the IP sharer 100 provides a first DHCP response (Offer) in response thereto. Message may be provided (S603). In this case, the IP router 100 (specifically, the control unit 140 of the IP router 100) may control the fake IP to be included in the first DHCP providing message. The dummy IP may not be used as a private IP in the end device 200, and may be a private IP already used in another end device 200 or a public IP assigned to the IP router 100.

제1 DHCP 제공 메시지를 제공받은 엔드 디바이스(200)는 제1 DHCP 제공 메시지에 포함된 모조 IP를 대상으로 ARP 브로드캐스팅을 수행할 수 있다(S603). 모조 IP는 타 엔드 디바이스(200)나 IP 공유기(100)에서 기 사용중인 주소와 동일한 것이므로, 엔드 디바이스(200)는 IP 공유기(100)로 DHCP 거절(Decline) 메시지를 제공할 것이다(S604). The end device 200 which has received the first DHCP provision message may perform ARP broadcasting on the dummy IP included in the first DHCP provision message (S603). Since the dummy IP is the same as the address currently being used by the other end device 200 or the IP router 100, the end device 200 will provide a DHCP Decline message to the IP router 100 (S604).

엔드 디바이스(200)로부터 DHCP 거절 메시지를 수신한 IP 공유기(100)는 DHCP 거절 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단할 수 있다(S605). DHCP 거절 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있지 않다면, IP 공유기(100)는 DHCP 거절 메시지에 응답하지 않을 수 있다. 반대로, DHCP 거절 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되어 있는 경우, IP 공유기(100)는 엔드 디바이스(200)로 제2 DHCP 제공(Offer) 메시지를 제공할 수 있다(S606). 제2 DHCP 제공 메시지에는 엔드 디바이스(200)에 진실로 할당하고자 하는 사설 IP가 포함될 수 있다. Upon receiving the DHCP rejection message from the end device 200, the IP router 100 may determine whether the DHCP rejection message includes an identifier for identifying the VoIP terminal (S605). If the identifier for identifying the VoIP terminal is not included in the DHCP rejection message, the IP router 100 may not respond to the DHCP rejection message. On the contrary, when the DHCP reject message includes an identifier for identifying the VoIP terminal, the IP router 100 may provide a second DHCP offer message to the end device 200 (S606). The second DHCP providing message may include a private IP to be truly assigned to the end device 200.

제2 DHCP 제공 메시지를 제공받은 엔드 디바이스(200)는 제2 DHCP 제공 메시지에 포함된 사설 IP를 대상으로 ARP 브로드캐스팅을 수행할 수 있다(S607). 제2 DHCP 제공 메시지에 포함된 사설 IP를 할당받고자 하는 경우, 엔드 디바이스(200)는 IP 공유기(100)로 DHCP 요청(Request) 메시지를 제공할 수 있다(S608). DHCP 요청 메시지를 수신한 IP 공유기(100)는 엔드 디바이스(200)로 DHCP ACK 메시지를 전송함으로써, 엔드 디바이스(200)로의 사설 IP 할당이 완료되도록 제어할 수 있다(S609). DHCP ACK 메시지를 전송한 이후, IP 공유기(100)의 제어부(140)는 주소 관리 모듈(130)에 엔드 디바이스(200)의 피지컬 주소와 엔드 디바이스(200)에 할당된 사설 IP 사이의 매핑 테이블을 저장할 수 있다. 매핑 테이블을 이용하여, IP 공유기(100)의 제어부(140)는 사설 IP와 공인 IP 사이에 NAT을 적용할 수 있을 것이다.The end device 200 provided with the second DHCP provision message may perform ARP broadcasting on the private IP included in the second DHCP provision message (S607). When the private IP included in the second DHCP providing message is to be allocated, the end device 200 may provide a DHCP request message to the IP router 100 (S608). The IP router 100 receiving the DHCP request message may transmit a DHCP ACK message to the end device 200 to control the private IP allocation to the end device 200 to be completed (S609). After transmitting the DHCP ACK message, the control unit 140 of the IP router 100 provides the address management module 130 with a mapping table between the physical address of the end device 200 and the private IP assigned to the end device 200. Can be stored. Using the mapping table, the controller 140 of the IP router 100 may apply NAT between the private IP and the public IP.

즉, 도 6의 예에서, VoIP 단말(엔드 디바이스(200))는, IP 공유기(100)로부터 사설 IP를 할당받기 위해 기본적으로 사용하는 DHCP 탐색 메시지나 DHCP 요청 메시지 등의 IP 할당 신호에는 VoIP 단말임을 식별할 수 있는 식별자가 포함되지 않도록 제어할 수 있다. IP 할당 신호가 아닌 IP 재할당 신호에 VoIP 단말임을 식별할 수 있는 식별자를 삽입함으로써, 본 발명과 다른 IP 공유기(100)와도 연동될 수 있음은 물론이다.That is, in the example of FIG. 6, the VoIP terminal (end device 200) is a VoIP terminal for an IP allocation signal such as a DHCP discovery message or a DHCP request message that is basically used to receive a private IP from the IP router 100. It can be controlled to not include an identifier that can be identified as a. By inserting an identifier for identifying the VoIP terminal into the IP reassignment signal rather than the IP allocation signal, the present invention can be interworked with the IP sharer 100 different from the present invention.

상술한 도 3 내지 도 6에 있어서, DHCP 제공 메시지에는 할당하고자 하는 사설 IP와 함께, 대여 시간 타이머(Lease Duration Timer)가 더 포함될 수 있다. IP 공유기(100)로부터 DHCP 제공 메시지를 할당 받은(즉, DHCP ACK 메시지를 수신) 엔드 디바이스(200)는 대여 시간 타이머가 만료되기 전까지 사설 IP를 사용할 수 있다.3 to 6, the DHCP providing message may further include a lease duration timer along with the private IP to be allocated. The end device 200 assigned the DHCP providing message from the IP router 100 (that is, receiving a DHCP ACK message) may use the private IP until the rental time timer expires.

IP 공유기(100)로부터 할당받은 사설 IP를 지속적으로 사용하고자 하는 경우, 엔드 디바이스(200)는 대여 시간 타이머 만료 전(일예로, 대여 시간 타이머의 50%가 진행된 시점) IP 공유기(100)로 사설 IP의 갱신을 요청할 수 있다. 이에 대한 상세한 설명은 도 7을 참조한다. If you want to continuously use the private IP assigned from the IP router 100, the end device 200 is private to the IP router 100 before the rental time timer expires (for example, when 50% of the rental time timer is in progress). You can request to renew the IP. Detailed description thereof will be made with reference to FIG. 7.

도 7은 DHCP 요청 메시지를 이용하여 VoIP 단말에 할당된 사설 IP를 갱신하는 과정을 흐름도로 도시한 것이다.7 is a flowchart illustrating a process of updating a private IP assigned to a VoIP terminal using a DHCP request message.

엔드 디바이스(200)는 IP 공유기(100)로부터 할당된 사설 IP의 대여 시간(Lease Duration) 만료 전 IP 공유기(100)로 사설 IP의 갱신을 요청할 수 있다(S701). 이때, 사설 IP의 갱신 요청 신호는 DHCP 요청(Request) 메시지의 형태일 수 있고, 사설 IP의 대여 시간(Lease Duration)은 엔드 디바이스(200)로 최초 사설 IP를 할당할 때 제공되는 DHCP 제공(Offer) 메시지에 정의되어 있을 수 있다.The end device 200 may request the IP router 100 to renew the private IP before the lease duration of the allocated private IP expires from the IP router 100 (S701). In this case, the renewal request signal of the private IP may be in the form of a DHCP request message, and the lease duration of the private IP is provided by DHCP provided when the first private IP is allocated to the end device 200. ) May be defined in the message.

이때, 소정시간 내 IP 공유기(100)로부터 DHCP 요청 메시지에 대한 응답을 수신하지 못한 경우, 엔드 디바이스(200)는 DHCP 요청(Request) 메시지를 브로드캐스팅할 수 있다.In this case, when the response to the DHCP request message is not received from the IP router 100 within a predetermined time, the end device 200 may broadcast a DHCP request message.

IP 공유기(100)의 제어부(140)는 엔드 디바이스(200)로부터 수신한 사설 IP 갱신 요청 신호에 VoIP 단말을 식별할 수 있는 식별자가 포함되어 있는지 여부에 따라 사설 IP의 갱신 여부를 결정할 수 있다(S702). 예컨대, DHCP 요청 메시지에 VoIP 단말임을 식별할 수 있는 식별자가 포함되었다면, DHCP ACK 메시지를 송신할 것이고, 그렇지 않다면 DHCP NACK 메시지를 송신하여 사설 IP의 임대시간이 연장되는 것을 방지할 수 있다(S703).The control unit 140 of the IP router 100 may determine whether to renew the private IP according to whether the private IP update request signal received from the end device 200 includes an identifier for identifying the VoIP terminal (see FIG. S702). For example, if the DHCP request message includes an identifier for identifying the VoIP terminal, the DHCP ACK message will be transmitted. Otherwise, the DHCP NACK message can be transmitted to prevent the lease time of the private IP from being extended (S703). .

IP 공유기(100)로부터 DHCP ACK 메시지가 송신되면, 대여 시간(Lease Duration)은 초기화되고, 엔드 디바이스(200)는 대여 시간 동안 더 사설 IP를 사용할 수 있다(S704).When a DHCP ACK message is transmitted from the IP router 100, the lease duration is initialized, and the end device 200 may use a private IP for a lease time (S704).

상술한 실시예에서는, 엔드 디바이스(200)로부터 IP 공유기(100)로 제공되는 DHCP 메시지(DHCP 탐색 메시지, DHCP 요청 메시지, 및/또는 DHCP 거절 메시지)에만, VoIP 단말임을 식별할 수 있는 식별자가 포함되는 것으로 예시되어 있으나, IP 공유기(100)에서 엔드 디바이스(200)로 제공되는 DHCP 메시지에도 상술한 식별자와 동일하거나 상이한 IP 공유기용 식별자가 포함될 수도 있다. In the above-described embodiment, only the DHCP message (DHCP discovery message, DHCP request message, and / or DHCP rejection message) provided from the end device 200 to the IP router 100 includes an identifier for identifying the VoIP terminal. Although illustrated as being, the DHCP message provided from the IP router 100 to the end device 200 may also include an identifier for the IP router that is the same as or different from the above-described identifier.

일예로, 도 8은 엔드 디바이스(200)와 IP 공유기(100) 사이의 DHCP 메시지 사이에 각각 식별자가 부가되는 것을 설명하기 위한 예시도이다. 엔드 디바이스(200)로부터 IP 공유기(100)로 제공되는 DHCP 메시지에 식별자가 포함되는 것은 이미 상세히 설명하였으므로, 이에 대한 설명은 생략한다. IP 공유기(100)에서 DHCP 메시지(DHCP 제공 메시지 및/또는 DHCP ACK/NACK 메시지)를 엔드 디바이스(200)로 제공함에 있어서, IP 공유기(100)는 DHCP 메시지에 IP 공유기용 식별자가 포함되도록 제어할 수 있다(S804,S809). 엔드 디바이스(200)는 IP 공유기(100)로부터 수신한 DHCP 메시지에 IP 공유기용 식별자가 포함되어 있는가를 판단한 후(S805,S810), DHCP 메시지에 IP 공유기용 포함되어 있는 경우에 한하여, 다음 단계를 진행할 수 있다. 예컨대, DHCP 제공 메시지에 IP 공유기용 식별자가 포함되어 있지 않다고 판단한 경우, 엔드 디바이스(200)는 ARP 브로드캐스팅(S806) 및 DHCP 요청 메시지의 전송(S807) 등의 단계를 수행하지 않을 수 있다. 도 3 내지 도 8에 도시된 실시예에서, ARP 브로드캐스팅은 엔드 디바이스(200)에서만 수행되는 것으로 예시되었지만, IP 공유기(100)에서도 ARP 브로드캐스팅이 수행될 수 있다. 예컨대, IP 공유기(100)는 DHCP 제공 메시지를 생성하기 전, ARP 브로드캐스팅을 수행함으로써, 할당하고자 하는 사설 IP가 기 사용중인 것인지를 판단할 수 있다.본 발명에 따른 IP 공유기(100)는 VoIP 단말에만 사설 IP를 할당할 수 있는 것이나, 사설 IP의 할당 대상이 반드시 VoIP 단말에만 한정되는 것은 아니다. 본 발명에 따른 IP 공유기(100)는 VoIP 단말이 아니더라도, 핸드폰, 태블릿 PC, PDA, 네비게이션, 노트북 등 특정 종류의 단말에만 사설 IP를 할당하는데 이용될 수 있음은 물론이다. 예를 들어, 본 발명에 따른 IP 공유기(100)는, 특정 통신사에 가입된 핸드폰에만 사설 IP를 할당하는데 이용될 수 있다.For example, FIG. 8 is an exemplary diagram for explaining that an identifier is added between DHCP messages between the end device 200 and the IP router 100, respectively. Since the identifier is included in the DHCP message provided from the end device 200 to the IP router 100, the description thereof will be omitted. In providing the DHCP message (DHCP providing message and / or DHCP ACK / NACK message) to the end device 200 in the IP router 100, the IP router 100 may control the DHCP message to include an identifier for the IP router. (S804 and S809). The end device 200 determines whether the identifier for the IP router is included in the DHCP message received from the IP router 100 (S805 and S810), and then proceeds to the next step only when the DHCP message is included for the IP router. Can be. For example, if it is determined that the identifier for the IP router is not included in the DHCP providing message, the end device 200 may not perform the steps such as ARP broadcasting (S806) and sending a DHCP request message (S807). In the embodiment shown in FIGS. 3-8, ARP broadcasting is illustrated as being performed only at the end device 200, but ARP broadcasting may also be performed at the IP router 100. For example, the IP router 100 may determine whether the private IP to be allocated is already in use by performing ARP broadcasting before generating the DHCP providing message. The private IP can be assigned only to the terminal, but the assignment target of the private IP is not necessarily limited to the VoIP terminal. Even if the IP sharer 100 according to the present invention is not a VoIP terminal, it can be used to assign a private IP only to a specific type of terminal such as a mobile phone, a tablet PC, a PDA, a navigation, a notebook, and the like. For example, the IP router 100 according to the present invention may be used to assign a private IP only to a mobile phone subscribed to a specific communication company.

본 발명의 일실시예에 의하면, 전술한 방법(동작 흐름도)은, 프로그램이 기록된 매체에 프로세서가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 프로세서가 읽을 수 있는 매체의 예로는, ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장장치 등이 있으며, 캐리어 웨이브(예를 들어, 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.According to one embodiment of the present invention, the above-described method (operation flow diagram) can be implemented as a code that can be read by a processor on a medium on which the program is recorded. Examples of the medium that can be read by the processor include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, etc., and may be implemented in the form of a carrier wave (e.g., transmission over the Internet) .

상기와 같이 설명된 IP 공유기(100)는 상기 설명된 실시예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 상기 실시예들은 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.The IP router 100 described above may not be limitedly applied to the configuration and method of the above-described embodiments, but the embodiments may be selectively combined with all or some of the embodiments so that various modifications may be made. It may be configured.

100 : IP 공유기
110 : WAN 인터페이스부
120 : LAN 인터페이스부
130 : 주소 관리 모듈
140 : 제어부
200 : 엔드 디바이스
300 : 인터넷 서비스 제공자(ISP) 시스템
100: IP Router
110: WAN interface unit
120: LAN interface unit
130: address management module
140:
200: end device
300: Internet Service Provider (ISP) System

Claims (45)

아이피(Internet Protocol, IP) 공유기가 소정의 인터넷 서비스 제공자(Internet Service Provider, ISP)의 시스템으로부터 공인 IP를 할당 받는 단계;
상기 IP 공유기가 엔드 디바이스로부터 송신되는 DHCP(Dynamic Host Configuration Protocol) 탐색(discover) 메시지를 탐지하는 단계;
상기 IP 공유기가 상기 DHCP 탐색 메시지에 특정 단말임을 식별할 수 있는 제1 식별자가 포함되어 있는지를 판단하는 단계; 및
상기 IP 공유기가 상기 DHCP 탐색 메시지에 상기 제1 식별자가 포함되어 있는지 여부를 기초로, 상기 엔드 디바이스로 DHCP 제공(Offer) 메시지의 송신 여부를 결정하는 단계
를 포함하는 사설 아이피의 할당 방법.
Receiving, by an Internet Protocol (IP) router, a public IP from a system of a predetermined Internet Service Provider (ISP);
Detecting, by the IP router, a Dynamic Host Configuration Protocol (DHCP) discovery message sent from an end device;
Determining whether the IP router includes a first identifier for identifying that the DHCP discovery message is a specific terminal; And
Determining, by the IP router, whether to send a DHCP Offer message to the end device based on whether the first identifier is included in the DHCP discovery message.
Private IP allocation method comprising a.
제 1 항에 있어서,
상기 특정 단말은 VoIP(Voice over IP) 단말인 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 1,
The specific terminal is a VoIP (Voice over IP) terminal, characterized in that the private IP allocation method.
제 1 항에 있어서,
상기 DHCP 탐색 메시지가 상기 제1 식별자를 포함하고 있지 않은 경우,
상기 IP 공유기는 상기 DHCP 탐색 메시지에 대응하지 않는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 1,
If the DHCP discovery message does not include the first identifier,
The IP router does not correspond to the DHCP discovery message.
제 1 항에 있어서,
상기 DHCP 탐색 메시지가 상기 제1 식별자를 포함하는 경우,
상기 IP 공유기는 상기 엔드 디바이스로 상기 DHCP 제공 메시지를 송신하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 1,
If the DHCP discovery message includes the first identifier,
And the IP router transmits the DHCP provision message to the end device.
제 4 항에 있어서,
상기 IP 공유기가 상기 엔드 디바이스로 상기 DHCP 제공 메시지를 송신하는 단계;
상기 IP 공유기가 상기 엔드 디바이스로부터 DHCP 요청(Request) 메시지를 수신하는 단계; 및
상기 IP 공유기가 상기 DHCP 요청 메시지에 상기 특정 단말임을 식별할 수 있는 제2 식별자가 포함되어 있는지를 판단하는 단계
를 더 포함하는 사설 아이피의 할당 방법.
5. The method of claim 4,
Sending, by the IP router, the DHCP provision message to the end device;
The IP router receiving a DHCP request message from the end device; And
Determining whether the IP router includes a second identifier for identifying the specific terminal as the DHCP request message;
Private IP allocation method further comprising a.
제 5 항에 있어서,
상기 DHCP 요청 메시지가 상기 제2 식별자를 포함하는 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP ACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 5, wherein
If the DHCP request message includes the second identifier,
The IP router allocates a private IP to the end device.
제 6 항에 있어서,
상기 엔드 디바이스로 사설 IP의 할당이 완료되면,
상기 IP 공유기는 상기 엔드 디바이스로부터 발생되는 패킷의 소스 어드레스인 사설 IP를 상기 공인 IP로 변환하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method according to claim 6,
When the assignment of the private IP to the end device is completed,
And the IP router converts a private IP, which is a source address of a packet generated from the end device, into the public IP.
제 5 항에 있어서,
상기 DHCP 요청 메시지가 상기 제2 식별자를 포함하고 있지 않은 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP NACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 5, wherein
If the DHCP request message does not include the second identifier,
The IP router allocates a private IP message to the end device.
제 4 항에 있어서,
상기 DHCP 제공 메시지는 상기 엔드 디바이스로 제공하고자 하는 사설 IP를 포함하는 것을 특징으로 하는 사설 아이피의 할당 방법.
5. The method of claim 4,
The DHCP providing message includes a private IP to provide to the end device private IP allocation method.
제 8 항에 있어서,
상기 DHCP 제공 메시지는 상기 사설 IP의 대여 시간(Lease Duration)을 더 포함하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 8,
The DHCP providing message further includes a lease duration of the private IP.
아이피(Internet Protocol, IP) 공유기가 소정의 인터넷 서비스 제공자(Internet Service Provider, ISP)의 시스템으로부터 공인 IP를 할당 받는 단계;
상기 IP 공유기가 엔드 디바이스로부터 송신되는 DHCP(Dynamic Host Configuration Protocol) 탐색(discover) 메시지를 탐지하는 단계;
상기 IP 공유기가 상기 DHCP 탐색 메시지에 대응하여 상기 엔드 디바이스로 DHCP 제공(Offer) 메시지를 송신하는 단계;
상기 IP 공유기가 상기 엔드 디바이스로부터 DHCP 요청(Request) 메시지를 수신하는 단계;
상기 IP 공유기가 상기 DHCP 요청 메시지에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지를 판단하는 단계; 및
상기 판단 결과를 기초로 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 결정하는 단계
를 포함하는 사설 아이피의 할당 방법.
Receiving, by an Internet Protocol (IP) router, a public IP from a system of a predetermined Internet Service Provider (ISP);
Detecting, by the IP router, a Dynamic Host Configuration Protocol (DHCP) discovery message sent from an end device;
Sending, by the IP router, a DHCP Offer message to the end device in response to the DHCP discovery message;
The IP router receiving a DHCP request message from the end device;
Determining whether the IP router includes an identifier for identifying that the DHCP request message is a specific terminal; And
Determining whether to allocate a private IP to the end device based on the determination result;
Private IP allocation method comprising a.
제 11 항에 있어서,
상기 특정 단말은 VoIP(Voice over IP) 단말인 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 11,
The specific terminal is a VoIP (Voice over IP) terminal, characterized in that the private IP allocation method.
제 11 항에 있어서,
상기 DHCP 요청 메시지가 상기 식별자를 포함하는 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP ACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 11,
If the DHCP request message includes the identifier,
The IP router allocates a private IP to the end device.
제 13 항에 있어서,
상기 엔드 디바이스로 사설 IP의 할당이 완료되면,
상기 IP 공유기는 상기 엔드 디바이스로부터 발생되는 패킷의 소스 어드레스인 사설 IP를 상기 공인 IP로 변환하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 13,
When the assignment of the private IP to the end device is completed,
And the IP router converts a private IP, which is a source address of a packet generated from the end device, into the public IP.
제 13 항에 있어서,
상기 DHCP 요청 메시지가 상기 식별자를 포함하고 있지 않은 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP NACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 13,
If the DHCP request message does not contain the identifier,
The IP router allocates a private IP message to the end device.
제 11 항에 있어서,
상기 DHCP 제공 메시지는 상기 엔드 디바이스로 제공하고자 하는 사설 IP를 포함하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 11,
The DHCP providing message includes a private IP to provide to the end device private IP allocation method.
제 16 항에 있어서,
상기 DHCP 제공 메시지는 상기 사설 IP의 대여 시간(Lease Duration)을 더 포함하는 것을 특징으로 하는 사설 아이피의 할당 방법.
17. The method of claim 16,
The DHCP providing message further includes a lease duration of the private IP.
아이피(Internet Protocol, IP) 공유기가 사설 IP가 할당된 엔드 디바이스로부터, 할당된 사설 IP의 갱신을 요청하는 IP 갱신 요청 신호를 수신하는 단계;
상기 IP 공유기가 상기 IP 갱신 요청 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지를 판단하는 단계; 및
상기 IP 공유기가 상기 판단 결과를 기초로 상기 엔드 디바이스에 할당된 상기 사설 IP의 갱신 여부를 결정하는 단계
를 포함하는 사설 아이피의 갱신 방법.
Receiving, by an Internet Protocol (IP) router, an IP update request signal for requesting an update of the allocated private IP from an end device to which the private IP is assigned;
Determining whether the IP router includes an identifier for identifying that the IP update request signal is a specific terminal; And
Determining, by the IP router, whether to update the private IP allocated to the end device based on the determination result
Update method of the private IP comprising a.
제 18 항에 있어서,
상기 특정 단말은 VoIP(Voice over IP) 단말인 것을 특징으로 하는 사설 아이피의 갱신 방법.
The method of claim 18,
The specific terminal is a VoIP (Voice over IP) terminal, characterized in that the renewal method of the private IP.
제 18 항에 있어서,
상기 IP 갱신 요청 신호는 DHCP(Dynamic Host Configuration Protocol) 요청(Request) 메시지인 것을 특징으로 하는 사설 아이피의 갱신 방법.
The method of claim 18,
The IP update request signal is a renewal method of a private IP, characterized in that the DHCP (Dynamic Host Configuration Protocol) request (Request) message.
제 20 항에 있어서,
상기 DHCP 요청 메시지가 상기 식별자를 포함하는 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP ACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 갱신 방법.
21. The method of claim 20,
If the DHCP request message includes the identifier,
The IP router sends a DHCP ACK message to the end device.
제 20 항에 있어서,
상기 DHCP 요청 메시지가 상기 식별자를 포함하고 있지 않은 경우,
상기 IP 공유기는 상기 엔드 디바이스로 DHCP NACK 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 갱신 방법.
21. The method of claim 20,
If the DHCP request message does not contain the identifier,
The IP router sends a DHCP NACK message to the end device.
제 20 항에 있어서,
소정 시간 이내 상기 IP 공유기로부터 상기 DHCP 요청 메시지에 대한 응답을 수신하지 못한 경우,
상기 엔드 디바이스는 상기 DHCP 요청 메시지를 브로드캐스팅하는 것을 특징으로 하는 사설 아이피의 갱신 방법.
21. The method of claim 20,
If a response to the DHCP request message is not received from the IP router within a predetermined time,
And the end device broadcasts the DHCP request message.
제 18 항에 있어서,
상기 엔드 디바이스는 DHCP 제공 메시지로부터 제공되는 사설 IP의 대여 시간(Lease Duration) 만료 전에 상기 IP 갱신 요청 신호를 상기 IP 공유기로 제공하는 것을 특징으로 하는 사설 아이피의 갱신 방법.
The method of claim 18,
And the end device provides the IP renewal request signal to the IP router before the lease duration of the private IP provided from the DHCP provision message expires.
제 24 항에 있어서,
상기 IP 공유기로부터 DHCP ACK 메시지를 수신하면, 상기 대여 시간은 초기화 되는 것을 특징으로 하는 사설 아이피의 갱신 방법.
25. The method of claim 24,
When the DHCP ACK message is received from the IP router, the rental time is initialized.
아이피(Internet Protocol, IP) 공유기가 소정의 인터넷 서비스 제공자(Internet Service Provider, ISP)의 시스템으로부터 공인 IP를 할당 받는 단계;
상기 IP 공유기가 엔드 디바이스로부터 송신되는 DHCP(Dynamic Host Configuration Protocol) 탐색(discover) 메시지를 탐지하는 단계;
상기 IP 공유기가 상기 DHCP 탐색 메시지에 대응하여 상기 엔드 디바이스로 모조 IP를 포함하는 제1 DHCP 제공(Offer) 메시지를 송신하는 단계;
상기 IP 공유기가 상기 엔드 디바이스로부터 DHCP 거절(Decline) 메시지를 수신하는 단계;
상기 IP 공유기가 상기 DHCP 거절 메시지에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지를 판단하는 단계; 및
상기 판단 결과를 기초로 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 결정하는 단계
를 포함하는 사설 아이피의 할당 방법.
Receiving, by an Internet Protocol (IP) router, a public IP from a system of a predetermined Internet Service Provider (ISP);
Detecting, by the IP router, a Dynamic Host Configuration Protocol (DHCP) discovery message sent from an end device;
Sending, by the IP router, a first DHCP Offer message including a fake IP to the end device in response to the DHCP discovery message;
Receiving, by the IP router, a DHCP Decline message from the end device;
Determining whether the IP router includes an identifier for identifying that the DHCP reject message is a specific terminal; And
Determining whether to allocate a private IP to the end device based on the determination result;
Private IP allocation method comprising a.
제 26 항에 있어서,
상기 특정 단말은 VoIP(Voice over IP) 단말인 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 26,
The specific terminal is a VoIP (Voice over IP) terminal, characterized in that the private IP allocation method.
제 26 항에 있어서,
상기 DHCP 거절 메시지가 상기 식별자를 포함하는 경우,
상기 IP 공유기는 상기 엔드 디바이스로 사설 IP를 포함하는 제2 DHCP 제공 메시지를 전송하는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 26,
If the DHCP reject message includes the identifier,
And the IP router transmits a second DHCP provision message including a private IP to the end device.
제 28 항에 있어서,
상기 엔드 디바이스로 상기 사설 IP가 할당되면,
상기 IP 공유기는 상기 엔드 디바이스로부터 발생되는 패킷의 소스 어드레스인 상기 사설 IP를 상기 공인 IP로 변환하는 것을 특징으로 하는 사설 아이피의 할당 방법.
29. The method of claim 28,
If the private IP is assigned to the end device,
And the IP router converts the private IP, which is a source address of a packet generated from the end device, into the public IP.
제 26 항에 있어서,
상기 DHCP 거절 메시지가 상기 식별자를 포함하고 있지 않은 경우,
상기 IP 공유기는 상기 DHCP 거절 메시지에 대응하지 않는 것을 특징으로 하는 사설 아이피의 할당 방법.
The method of claim 26,
If the DHCP reject message does not contain the identifier,
The IP router does not correspond to the DHCP reject message, private IP allocation method.
제 28 항에 있어서,
상기 제2 DHCP 제공 메시지는 상기 사설 IP의 대여 시간(Lease Duration)을 더 포함하는 것을 특징으로 하는 사설 아이피의 할당 방법.
29. The method of claim 28,
The second DHCP providing message further includes a lease duration of the private IP.
소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부;
하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부;
상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및
상기 엔드 디바이스로부터 IP 할당 신호를 수신하면, 상기 IP 할당 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고,
상기 IP 할당 신호에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 제어하는 제어부
를 포함하는 아이피 공유기.
A wide area network (WAN) interface for connecting to a predetermined Internet service provider system;
A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices;
An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And
Upon receiving the IP allocation signal from the end device, it is determined whether the IP allocation signal includes an identifier for identifying that the terminal is a specific terminal.
A control unit controlling whether to allocate a private IP to the end device according to whether the identifier is included in the IP allocation signal
IP router, including.
제 32 항에 있어서,
상기 특정 단말은 VoIP 단말인 것을 특징으로 하는 아이피 공유기.
33. The method of claim 32,
The specific terminal is an IP router, characterized in that the VoIP terminal.
제 32 항에 있어서,
상기 주소 관리 모듈은 상기 엔드 디바이스의 물리 주소(physical address)와 할당된 사설 IP를 매핑하여 저장하는 것을 특징으로 하는 아이피 공유기.
33. The method of claim 32,
And the address management module maps and stores the physical address of the end device and the allocated private IP.
제 32 항에 있어서,
상기 IP 할당 신호는 DHCP(Dynamic Host Configuration Protocol)를 이용하여 생성되는 것을 특징으로 하는 아이피 공유기.
33. The method of claim 32,
The IP allocation signal is IP router, characterized in that generated using the DHCP (Dynamic Host Configuration Protocol).
제 35 항에 있어서,
상기 IP 할당 신호는 DHCP 탐색(Discover) 메시지 및 DHCP 요청 메시지(Request) 중 적어도 하나를 포함하는 것을 특징으로 하는 아이피 공유기.
36. The method of claim 35,
The IP allocation signal IP router includes at least one of a DHCP discovery message and a DHCP request message.
제 36 항에 있어서,
상기 DHCP 탐색 메시지에 상기 식별자가 포함되어 있지 않은 경우,
상기 제어부는 상기 DHCP 탐색 메시지에 응답하지 않는 것을 특징으로 하는 아이피 공유기.
The method of claim 36,
If the identifier is not included in the DHCP discovery message,
The controller does not respond to the DHCP discovery message.
제 36 항에 있어서,
상기 DHCP 탐색 메시지에 상기 식별자가 포함된 경우,
상기 제어부는 상기 엔드 디바이스로 DHCP 요청 메시지를 전송하는 것을 특징으로 하는 아이피 공유기.
The method of claim 36,
If the identifier is included in the DHCP discovery message,
The control unit IP router, characterized in that for transmitting a DHCP request message to the end device.
제 36 항에 있어서,
상기 DHCP 요청 메시지에 상기 식별자가 포함된 경우,
상기 제어부는 상기 엔드 디바이스로 DHCP ACK 메시지를 전송하는 것을 특징으로 하는 아이피 공유기.
The method of claim 36,
If the identifier is included in the DHCP request message,
The control unit IP router, characterized in that for transmitting a DHCP ACK message to the end device.
제 36 항에 있어서,
상기 DHCP 요청 메시지에 상기 식별자가 포함된 경우,
상기 제어부는 상기 엔드 디바이스로 DHCP NACK 메시지를 전송하는 것을 특징으로 하는 아이피 공유기.
The method of claim 36,
If the identifier is included in the DHCP request message,
The control unit IP router, characterized in that for transmitting a DHCP NACK message to the end device.
소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부;
하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부;
상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및
상기 엔드 디바이스로부터 IP 재할당 신호를 수신하면, 상기 IP 재할당 신호에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고,
상기 IP 재할당 신호에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스에 할당된 사설 IP의 임대 기간을 연장할 것인지 여부를 제어하는 제어부
를 포함하는 아이피 공유기.
A wide area network (WAN) interface for connecting to a predetermined Internet service provider system;
A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices;
An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And
Upon receiving the IP reassignment signal from the end device, it is determined whether the IP reassignment signal includes an identifier for identifying a specific terminal,
A control unit for controlling whether to extend the lease period of the private IP allocated to the end device according to whether the identifier is included in the IP reassignment signal
IP router, including.
소정의 인터넷 서비스 제공자 시스템과의 접속을 위한 광대역 네트워크(WAN) 인터페이스부;
하나 이상의 엔드 디바이스와 유무선 접속을 수행하기 위해, 하나 이상의 포트를 포함하는 근거리 네트워크 인터페이스부;
상기 인터넷 서비스 제공자 시스템으로부터 할당 받은 공인 아이피(Internet Protocol, IP) 주소와, 사설 IP의 할당 내역을 저장하는 주소 관리 모듈; 및
상기 엔드 디바이스로부터 브로드캐스팅되는 DHCP(Dynamic Host Configuration Protocol) 탐색 메시지가 탐지되면, 상기 DHCP 탐색 메시지에 응답하여, 모조 IP를 포함하는 제1 DHCP 제공 메시지를 송신하고,
상기 엔드 디바이스로부터 DHCP 거절 메시지가 송신되면, 상기 DHCP 거절 메시지에 특정 단말임을 식별할 수 있는 식별자가 포함되어 있는지 판단하고,
상기 DHCP 거절 메시지에 상기 식별자가 포함되어 있는지 여부에 따라 상기 엔드 디바이스로 사설 IP를 할당할 것인지 여부를 결정하는 제어부
를 포함하는 아이피 공유기.
A wide area network (WAN) interface for connecting to a predetermined Internet service provider system;
A local area network interface unit including one or more ports for performing a wired or wireless connection with one or more end devices;
An address management module for storing a public IP (IP) address allocated from the Internet service provider system and a private IP assignment; And
If a DHCP discovery message broadcast from the end device is detected, in response to the DHCP discovery message, transmit a first DHCP provision message including a pseudo IP,
When the DHCP reject message is transmitted from the end device, it is determined whether the DHCP reject message includes an identifier for identifying that the terminal is a specific terminal.
A controller for determining whether to assign a private IP to the end device according to whether the identifier is included in the DHCP reject message
IP router, including.
제 42 항에 있어서,
상기 DHCP 거절 메시지에 상기 식별자가 포함되어 있지 않은 경우,
상기 제어부는 상기 DHCP 거절 메시지에 응답하지 않는 것을 특징으로 하는 아이피 공유기.
43. The method of claim 42,
If the identifier is not included in the DHCP reject message,
The controller does not respond to the DHCP reject message.
제 42 항에 있어서,
상기 DHCP 거절 메시지에 상기 식별자가 포함된 경우,
상기 제어부는 상기 엔드 디바이스로 할당하고자 하는 사설 IP를 포함하는 제2 DHCP 제공 메시지를 전송하는 것을 특징으로 하는 아이피 공유기.
43. The method of claim 42,
If the DHCP reject message includes the identifier,
And the controller transmits a second DHCP providing message including a private IP to be allocated to the end device.
제 44 항에 있어서,
상기 엔드 디바이스로 사설 IP의 할당이 완료되면,
상기 제어부는 상기 엔드 디바이스로부터 발생되는 패킷의 소스 어드레스인 사설 IP를 상기 공인 IP로 변환하는 것을 특징으로 하는 아이피 공유기.
45. The method of claim 44,
When the assignment of the private IP to the end device is completed,
And the controller converts the private IP which is the source address of the packet generated from the end device, into the public IP.
KR1020120062053A 2012-06-11 2012-06-11 Method for assigning private ip and renewing private ip, and ip sharer using thereof KR101331561B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120062053A KR101331561B1 (en) 2012-06-11 2012-06-11 Method for assigning private ip and renewing private ip, and ip sharer using thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120062053A KR101331561B1 (en) 2012-06-11 2012-06-11 Method for assigning private ip and renewing private ip, and ip sharer using thereof

Publications (1)

Publication Number Publication Date
KR101331561B1 true KR101331561B1 (en) 2013-11-20

Family

ID=49858159

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120062053A KR101331561B1 (en) 2012-06-11 2012-06-11 Method for assigning private ip and renewing private ip, and ip sharer using thereof

Country Status (1)

Country Link
KR (1) KR101331561B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180009321A (en) * 2016-07-18 2018-01-26 주식회사 케이티 service function chaining control method for network services of virtual customer premises equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060017977A (en) * 2004-08-23 2006-02-28 삼성전자주식회사 Private internet protocol intaller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060017977A (en) * 2004-08-23 2006-02-28 삼성전자주식회사 Private internet protocol intaller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180009321A (en) * 2016-07-18 2018-01-26 주식회사 케이티 service function chaining control method for network services of virtual customer premises equipment
KR102343908B1 (en) * 2016-07-18 2021-12-27 주식회사 케이티 service function chaining control method for network services of virtual customer premises equipment

Similar Documents

Publication Publication Date Title
US8429304B2 (en) Information processing apparatus and communication control method
US8767737B2 (en) Data center network system and packet forwarding method thereof
KR100628493B1 (en) Communication device
US9705844B2 (en) Address management in a connectivity platform
US20030051052A1 (en) Addressing scheme for wireless mobile clients
EP2680491B1 (en) Method for establishing channel for managing an IPv4 terminal
US20130024553A1 (en) Location independent dynamic IP address assignment
KR20060115876A (en) Dhcp pool sharing mechanism in mobile environment
KR20120071121A (en) Virtual tunnel router, ip camera management server and ip camera service method based on position information
JP2007288234A (en) Network equipment, network system, ipv6 address assignment method, and network equipment management method
CN106533973B (en) Method, equipment and system for distributing service message
CA2774281C (en) User access method, system, access server, and access device
US9509659B2 (en) Connectivity platform
CN106302845A (en) The Domain Name System addresses collocation method of data channel product and device
KR101331561B1 (en) Method for assigning private ip and renewing private ip, and ip sharer using thereof
CN102104634B (en) Method for communicating between LISP site and non-LISP site and apparatus and system thereof
CN103516820A (en) Port forwarding method and apparatus based on MAC address
JP4191180B2 (en) Communication support device, system, communication method, and computer program
KR102023115B1 (en) Communication method based on integrated flat id and system
JP5054666B2 (en) VPN connection device, packet control method, and program
US10693673B2 (en) Method and apparatus for routing data to cellular network
KR101709874B1 (en) Ip address allocation method and ip address allocation server for performing the method
KR101807695B1 (en) Mobile communication router apparatus and ip sharing system comprising the same
CN117793058A (en) Public network address allocation method, public network address allocation system, electronic equipment and readable storage medium
EP3313038B1 (en) Method and apparatus for updating internet protocol (ip) address, and gateway

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20191011

Year of fee payment: 9