KR100456164B1 - method and apparatus of distributing IP addresses to the clients in DHCP system - Google Patents

method and apparatus of distributing IP addresses to the clients in DHCP system Download PDF

Info

Publication number
KR100456164B1
KR100456164B1 KR10-2000-0066267A KR20000066267A KR100456164B1 KR 100456164 B1 KR100456164 B1 KR 100456164B1 KR 20000066267 A KR20000066267 A KR 20000066267A KR 100456164 B1 KR100456164 B1 KR 100456164B1
Authority
KR
South Korea
Prior art keywords
address
dhcp
addresses
priority
public
Prior art date
Application number
KR10-2000-0066267A
Other languages
Korean (ko)
Other versions
KR20020036211A (en
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 KR10-2000-0066267A priority Critical patent/KR100456164B1/en
Publication of KR20020036211A publication Critical patent/KR20020036211A/en
Application granted granted Critical
Publication of KR100456164B1 publication Critical patent/KR100456164B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5053Lease time; Renewal aspects
    • 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/5061Pools of addresses

Abstract

본 발명은 초고속 인터넷 망의 하나인 B&A 방식에 사용되는 DHCP서버에 관한 발명으로, 상기 DHCP서버가 DHCP 클라이언트에게 IP 주소를 부여함에 있어서 나타날 수 있는 불균형 등의 문제를 해결하기 위하여 상기 DHCP 서버의 IP 주소 할당 시 IP 주소의 우선순위 부여 방법 및 그 방법을 구현할 수 있는 DHCP서버를 제공함으로써 보다 개선된 네트워크 컴퓨터 통신을 가능하게 한다.The present invention relates to a DHCP server used for a B & A method, which is one of high-speed Internet networks, and to solve a problem such as an imbalance that may occur when the DHCP server assigns an IP address to a DHCP client. By providing an IP address prioritization method and a DHCP server that can implement the method, the network computer communication can be improved.

Description

아이피 주소 우선순위 부여 방법 및 그 방법을 구현하는 디에이치씨피서버{method and apparatus of distributing IP addresses to the clients in DHCP system}IP address priority method and apparatus for distributing IP addresses to the clients in DHCP system

본 발명은 네트워크에 통신에 관한 발명으로 좀더 자세하게는 네트워크 통신 장치인 DHCP(Dynamic Host Configuration Protocol)서버에 관한 것이다.The present invention relates to a communication to a network, and more particularly, to a DHCP (Dynamic Host Configuration Protocol) server as a network communication device.

최근 정보화 시대를 맞이하여 정보의 처리 및 정보의 공유 방법에 많은 사람들이 주목해 왔고, 이에 따라 통신 분야가 비약적인 개발을 거듭해 왔다.In the recent information age, many people have paid attention to information processing and information sharing methods, and accordingly, the field of communication has been remarkably developed.

통신(Communication 또는 Correspondence)이란 지역적으로 멀리 떨어져 있는 두 개의 장치 사이에서 중간 매체를 통하여 상대방에게 정보를 전달하는 활동을 말하는 것으로, 군의 암부호와 같은 부호 정보, 팩스와 같은 문자 정보, 전화와 같은 음성 정보, 그리고 방송과 같은 영상 정보 등을 유성, 무선, 광성 혹은 여타의 전자적 방식에 의해 송신, 수신하는 활동과, 이러한 활동을 수행하는데 필요한 기기, 장치 등을 의미한다.Communication or Correspondence is the act of transferring information to an opponent through an intermediate medium between two geographically remote devices. Code information such as military code, text information such as fax, and telephone Refers to an activity of transmitting and receiving voice information and video information such as broadcasting by voice, wireless, optical or other electronic methods, and devices and devices required to perform such activities.

예를 들어 지역적으로 떨어져 있는 컴퓨터 시스템 사이에서 전화망, 전용 회선, 인공 위성, 방송, 안테나 등과 같은 통신 매체를 통하여 정보를 교환하는 작업 등은 모두 통신의 예가 될 수 있는데, 이와 같이 두 개 이상의 장치들이 데이터 통신이라는 공통의 목적을 바탕으로 연결되어 있는 통신 구조 즉, 서로 연결된 요소들 간의 데이터 등을 전송하는 통신망을 네트워크(Network)라 하며, 특히 컴퓨터를 이용한 컴퓨터 네트워크는, 근래에 들어 확산되는 개인용 컴퓨터의 보급 등의 시대상에 맞물려 일반인에게도 빠른 속도로 대중화되고 있다.For example, exchanging information between communication systems such as telephone networks, leased lines, satellites, broadcasts, and antennas between geographically separated computer systems can all be examples of communications. A communication structure that is connected based on a common purpose of data communication, that is, a communication network that transmits data between elements connected to each other, is called a network. In particular, a computer network using a computer is a personal computer that has recently been spread. It is becoming popular with the general public at a rapid pace due to the times of dissemination.

이러한 네크워크 시스템을 구성하기 위해서는 컴퓨터 시스템 뿐 만이 아니라, 전송장치, 교환장치 등과 더불어 전술한 여러 가지 전자적 방식의 통신선로가 필요하고, 이들은 서로 연결되어 상술한 네트워크를 구성함으로써 데이터 통신을 가능하게 한다.In order to configure such a network system, not only a computer system but also a transmission device and a switching device, etc., various electronic communication lines described above are required, and they are connected to each other to form a network as described above to enable data communication.

또한 이러한 네트워크의 구조가 증가되고 네트워크를 이용한 정보 전송수요가 다양화되며, 소프트웨어와 하드웨어 장비가 계속 증가하는 최근의 환경에서 효율적인 정보의 전달을 위하여 일종의 규약이 필요하게 되고 이에 따라 통신을 원하는 두 개체간에 무엇을, 어떻게, 언제 통신을 할 것인가 등에 대한 서로의 약속들이 요구되게 되었고 이에 따라 컴퓨터끼리 또는 컴퓨터와 단말기 사이에 상호통신 할 때, 데이터를 에러 없이 원활하고 신뢰성 있게 주고받기 위한 약속을 규정하는 것이 프로토콜(protocol)이다.In addition, the structure of such a network is increased, the demand for information transmission using the network is diversified, and in a recent environment in which software and hardware equipment are continuously increasing, a type of protocol is required for efficient information transfer. Whatever, how, and when to communicate with each other is required, and accordingly, when communicating between computers or between computers and terminals, it is necessary to define an appointment to exchange data smoothly and reliably without errors. Is the protocol.

프로토콜은 통신기능의 확장이나 새로운 통신기술의 도입을 용이하게 하기 위해 프로토콜 기능의 레벨에 대응해 몇 개의 층으로 나누어지며 층마다에 독립된 프로토콜이 설정되는데 이것을 보통 통신규약의 계층화라고 한다.Protocols are divided into several layers corresponding to the level of protocol functions to facilitate the expansion of communication functions and the introduction of new communication technologies. Independent protocols are set up for each layer.

이러한 프로토콜의 계층구성은 프로세스간의 통신에 있어서의 회화제어를 분담하는 층, 암호화, 데이터 압축 등 정보형식의 규정을 분담하는 층, 업무내용에 관한 통신상의 규정을 분담하는 층으로 구성된 상위계층과 통신회선(망)상의 투명하고 명료(transparent)한 데이터전송에 관한 층으로 인터페이스를 분담하는 층, 인접노드간의 데이터전송을 분담하는 층, 통신회선(망)에 있어서의 방향 및 전송로제어를 분담하는 층 등으로 나뉘는 하위계층으로 구분되며 상기 하위 계층은 상위계층을 서비스하는 구조를 가지고 있다.The hierarchical structure of these protocols communicates with the upper layer, which consists of a layer that shares conversation control in inter-process communication, a layer that shares regulations of information formats such as encryption and data compression, and a layer that shares communications regulations on business content. A layer for transparent and transparent data transmission on a line (network). A layer that shares an interface, a layer that shares data transmission between adjacent nodes, and a direction and transmission path control on a communication line (network). It is divided into lower layers divided into layers, and the lower layer has a structure of serving higher layers.

이러한 프로토콜 중에 특히 인터넷 환경에서는 TCP/IP라는 프로토콜이 사용되는데, 이러한 TCP/IP는 사용자가 인터넷에 접속하기 위해 소프트웨어로 설치되는 인터넷의 기본적인 통신 프로토콜로서, 이를 통하여 역시 같은 TCP/IP 프로토콜을 쓰고 있는 다른 컴퓨터 사용자와 메시지를 주고받거나 또는 정보를 얻을 수 있게 된다.Among these protocols, especially in the Internet environment, a protocol called TCP / IP is used. The TCP / IP protocol is a basic communication protocol of the Internet, which is installed as software for users to access the Internet. You can exchange messages with or get information from other computer users.

상기 TCP/IP는 상위계층인 TCP (Transmission Control Protocol)와 하위계층인 IP (Internet Protocol)로 구성되는 2계층의 프로토콜로써, 이중 TCP (Transmission Control Protocol)는 메시지나 파일들을 좀더 작은 패킷으로 나누어 인터넷을 통해 전송하고, 수신된 패킷들을 원래의 메시지로 재조립하는 일을 담당하며, IP (Internet Protocol)는 각 패킷의 주소부분을 처리함으로써, 패킷들이 목적지에 정확하게 도달할 수 있게 한다.The TCP / IP is a two-layer protocol consisting of a higher layer TCP (Transmission Control Protocol) and a lower layer IP (Internet Protocol), of which the transmission control protocol (TCP) divides a message or a file into smaller packets. It is responsible for transmitting over IP, reassembling the received packets into the original message, and IP (Internet Protocol) processes the address portion of each packet so that the packets can reach their destination exactly.

따라서, 인터넷 네트워크 상에서 모든 컴퓨터가 네트워크 통신을 수행하기 위해서는 IP주소를 가지고 있어야 하고, 이를 통하여 각 특정컴퓨터의 위치(주소)를 파악할 수 있게 되어 인터넷 서비스를 받을 수 있다.Therefore, all the computers on the Internet network must have an IP address in order to perform network communication, and through this, the location (address) of each specific computer can be determined, thereby receiving Internet services.

이는 동일 랜(LAN)상에 인터넷과 연결된 복수의 가입자로 이루어진 하나의 조직내에서 각 컴퓨터 사용자들이 인터넷에 접속하고자 할 때에도 역시 각 컴퓨터에는 IP 주소가 반드시 할당되어 있어야만 함을 의미한다.This means that each computer user must be assigned an IP address even when each computer user wants to access the Internet in an organization composed of a plurality of subscribers connected to the Internet on the same LAN.

한편 IP주소는 공인IP 주소와 사설IP주소가 있는 바, 인터넷에 접속하기 위해서는 공인IP주소를 반드시 사용하여야 하는데, 공인IP주소가 충분히 없는 조건하에서 적은 IP주소로서 다수개의 컴퓨터가 인터넷접속을 하기위해서 각 개별단말기 마다 사설IP주소(또는 일부 공인IP주소)를 부여하고, NAT(network address translation)을 사용하여 사설IP주소와 공인IP주소를 변환시키는 방법을 사용하고 있다.On the other hand, the IP address has a public IP address and a private IP address. To access the Internet, a public IP address must be used. Under the condition that there is not enough public IP address, a small number of IP addresses are used to access the Internet. Each individual terminal is assigned a private IP address (or some public IP address), and NAT (network address translation) is used to convert private IP address and public IP address.

종래에는 조직내의 각 컴퓨터마다 이러한 사설 또는 공인IP 주소를 수 작업으로 입력하여 세팅시켜놓고 인터넷 통신을 하였는데, 이때 컴퓨터가 다른 네트워크를 구성하는 조직으로 이동되면 새로운 IP 주소를 입력해야 하는 문제점을 가지고 있다.Conventionally, each computer in an organization has manually entered and set such a private or public IP address, and has a problem in that, when a computer is moved to an organization constituting another network, a new IP address has to be entered. .

이러한 문제점을 해결하기 위하여 개발된 것이 DHCP (Dynamic Host Configuration Protocol)이다.Developed to solve this problem is the Dynamic Host Configuration Protocol (DHCP).

상기 DHCP는 조직 내의 복수개의 네트웍 상에서 사용되는 다수개의 공인 또는 사설 IP 주소를 중앙에서 관리하고 할당해주는 소프트웨어로, 컴퓨터가 네트웍의 다른 장소에 접속되었을 때 자동으로 새로운 IP 주소를 보내줄 수 있게 해주는 프로토콜이다.DHCP is a software that centrally manages and assigns a number of public or private IP addresses used on multiple networks within an organization, and allows a computer to automatically send new IP addresses when connected to other locations on the network. to be.

즉, DHCP는 주어진 IP 주소가 일정한 시간동안만 그 컴퓨터에 유효하도록 하는 "임대" 개념을 사용하고, 이러한 임대시간은 사용자가 특정한 장소에서 얼마나 오랫동안 인터넷 접속이 필요할 것인지에 따라 달라질 수 있게 되므로 이러한 DHCP는 사용자들이 자주 바뀌는 학교와 같은 환경에서 특히 유용하게 사용될 수 있다.In other words, DHCP uses the concept of "lease", which allows a given IP address to be valid for that computer for only a certain amount of time, and this lease time can vary depending on how long users need to access the Internet at a particular location. This can be especially useful in environments where users change frequently.

특히 DHCP를 사용하는 컴퓨터에는 도 1과 같이 동일 랜(LAN) 상에서 클라이언트/서버 두 가지 종류가 있는데, 이러한 DHCP는 클라이언트/서버 시스템이므로 DHCP 클라이언트(C)와 DHCP 서버(S) 양쪽에 이와 관련된 소프트웨어가 필요하다.In particular, there are two types of computers using DHCP, client / server on the same LAN as shown in FIG. 1. Since DHCP is a client / server system, both DHCP clients (C) and DHCP servers (S) have associated software. Is needed.

이중 DHCP 서버는 동일 랜 상에서 구성된 어떠한 컴퓨터도 소프트 웨어가 설치되면 그 기능을 수행할 수 있고, DHCP 서버는 DHCP 클라이언트로부터 IP 어드레스를 하나 빌려 달라는 요구를 받으면, 자기의 IP 어드레스 풀(POOL)에서 사용 가능한 IP 어드레스 하나를 뽑아서 DHCP 클라이언트에게 제공하는 역할을 하게 된다.Double DHCP server can perform the function of any computer configured on the same LAN when software is installed, and DHCP server can be used in its own IP address pool when asked to borrow one IP address from DHCP client. It picks one possible IP address and serves it to the DHCP client.

또한 DHCP 클라이언트의 경우 바람직하게는 동일 랜상의 DHCP 서버를 제외한 다른 컴퓨터의 단말기 내부에 소프트웨어가 설치됨으로써 구성되고, DHCP 클라이언트가 초기화 될 때마다 DHCP 서버로 IP 주소를 요구하는 메시지를 보내게 된다.In addition, the DHCP client is preferably configured by installing the software inside the terminal of the other computer except the DHCP server on the same LAN, and sends a message requesting an IP address to the DHCP server every time the DHCP client is initialized.

이러한 일반적인 DHCP를 이용하여 인터넷 서비스 사용자들은 보다 개선된 네트워크 환경을 사용할 수 있게되는데, 이중 특히 초고속 인터넷 망의 하나인 B&A(Building & Apartment) 방식의 네트워크 환경에서, DHCP서버는 IP를 각 컴퓨터에게 할당할 때 각 컴퓨터에게 나누어줄 IP들에게 특별한 우선순위를 부여하지 않고, 각 컴퓨터에게 나누어줄 IP들의 그룹인 IP 풀(pool)에 들어있는 일괄적인 순서대로 부여하는 방식을 사용한다.By using this general DHCP, Internet service users can use the improved network environment. Among them, especially in the B & A (Building & Apartment) type network environment, which is one of the high-speed Internet networks, the DHCP server allocates IP to each computer. Instead of giving each computer a special priority, we assign them in the order they are contained in the IP pool, which is a group of IPs to be given to each computer.

이러한 방식은 현재 일반적으로 사용되고 있는 B&A 네트워크 환경, 즉 인터넷 서비스 제공자(Internet Service Provider : ISP)로부터 회선을 들여오고, 상기 회선에는 각각 지정된 공인IP주소를 가지고 있으며, 상기 ISP로부터 할당받은 IP 풀을 일괄적으로 각 컴퓨터에 배분하는 네트워크 환경에서는 여러 가지 문제점을 가지고 있다.This method imports a line from a B & A network environment that is currently used, that is, an Internet Service Provider (ISP), each of which has a designated public IP address, and collectively pools an IP pool allocated from the ISP. In general, there are various problems in the network environment distributed to each computer.

이를 도 2를 참조하여 자세히 설명하면, ISP로부터 들어오는 회선이 복수개이고 상기 복수개의 회선에는 각각 분배된 IP주소를 가지고 있고, 이러한 IP주소들이 이루는 IP 풀을 가지고 있는 DHCP 서버(S)가 IP주소들을 DHCP 클라이언트(C)들에게 분배할 경우, 각 회선마다 배분된 IP를 클라이언트에게 골고루 분배하지 않았을 경우, 어느 하나의 회선으로 집중되어 각 회선간의 트래픽이 균등하지 않을 가능성을 가지고 있다.In detail, referring to FIG. 2, a DHCP server S having a plurality of lines coming from an ISP and having a distributed IP address in each of the plurality of lines and having an IP pool formed by these IP addresses is provided. In case of distributing to the DHCP clients (C), if the IP allocated to each line is not evenly distributed to the client, the traffic is concentrated on any one line and there is a possibility that the traffic between the lines is not even.

이와 같이 클라이언트들이 어느 한쪽 회선에 배분된 IP를 집중적으로 분배받을 경우, 한쪽 IP 그룹으로 치우진 클라이언트들이 송출하는 트래픽은 해당 회선에 부하를 가중시키게 되는데, 이와 같이 어느 한쪽 회선에 부하가 가중됨에도 불구하고 다른 쪽 회선은 이와는 반대로 여유로운 상태이므로 심각한 트래픽의 불균형을 발생시킬 수 있다.In this way, when the clients are intensively distributed IP allocated to one line, the traffic sent by the clients destined to one IP group puts a heavy load on the corresponding line. On the other hand, the other line is relaxed, which can cause serious traffic imbalances.

또한 바람직하게는 사용 가능한 공인IP주소를 먼저 배분하고, 공인IP주소가 없을 경우 사설IP주소를 배분하여야 하는 바, 즉, ISP로부터 할당받은 공인 IP가 충분하지 않거나 또는 그 밖의 다른 이유로 하여 사설 IP를 사용해야 하는 경우, DHCP서버의 IP 풀에 공인 IP와 사설 IP가 모두 존재할 경우 이들 간의 우선 순위가 없이 일괄적으로 배당되는 현 네트워크 환경에서는 클라이언트들이 공인 IP를 요구함에 있어서 공인 IP가 남아 있어도, 사설 IP가 배포될 수 있는 문제점을 가지고 있다.In addition, preferably, the available public IP address should be allocated first, and if there is no public IP address, the private IP address should be allocated, that is, the private IP assigned by the ISP is insufficient or for some other reason. If you need to use it, in the current network environment where both public and private IPs exist in the DHCP server's IP pool without priorities among them, even if the public IP remains when clients request the public IP, Has a problem that can be distributed.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출한 것으로 DHCP 서버의 IP 할당 방법에 있어서 보다 개선된 방법과 그 방법을 구현할 수 있는 DHCP서버를 제공하는 것을 목적으로 한다.The present invention has been made to solve the above problems, and an object of the present invention is to provide a DHCP server that can implement the method and a more improved method in the IP allocation method of the DHCP server.

도 1은 ISP와의 연결 회선이 하나인 DHCP 서버를 포함하는 동일 랜상의 네트워크 환경을 도시한 도면1 is a diagram illustrating a network environment on a same LAN including a DHCP server having one connection line with an ISP.

도 2는 ISP와의 연결회선이 복수개인 DHCP 서버를 포함하는 동일 랜상의 네트워크 환경을 도시한 도면FIG. 2 is a diagram illustrating a network environment on a same LAN including a DHCP server having a plurality of connection lines with an ISP.

도 3은 본 발명에 따른 DHCP서버의 내부 블록도3 is an internal block diagram of a DHCP server according to the present invention;

도 4는 본 발명에 따른 DHCP 서버와 DHCP 클라이언트의 상호 동작 절차에 관한 구성도4 is a block diagram of an interaction procedure between a DHCP server and a DHCP client according to the present invention;

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

S : DHCP 서버 10 : 데이터 전송 모듈S: DHCP server 10: data transmission module

20 : IP 주소 선택 모듈 30 : IP 주소 풀(pool)20: IP address selection module 30: IP address pool

40 : IP 주소 순위 결정 모듈40: IP address ranking module

본 발명은 상기와 같은 목적을 달성하기 위하여 다수개의 디에이치씨피 클라이언트와 연결되고, 상기 디에이치씨피 클라이언트로부터 IP주소 요청 데이터를 수신하는 수신부와; 상기 디에이치씨피 클라이언트에 배분할 다수개의 IP주소를 저장하는 IP 주소 풀과, 상기 IP주소 요청 데이터에 따라 상기 IP 주소 풀에 저장된 IP 주소에 순위를 부여하는 IP 주소 순위 결정모듈과; 상기 IP주소 순위 결정모듈에서 선택된 IP주소를 상기 디에이치씨피 클라이언트로 송신하는 데이터 송신부를 포함하는 B&A 방식의 디에이치씨피 서버를 제공한다.The present invention is connected to a plurality of RPC client to achieve the above object, and receiving unit for receiving IP address request data from the RPC client; An IP address pool for storing a plurality of IP addresses to be distributed to the DHCP client, and an IP address ranking module for ranking the IP addresses stored in the IP address pool according to the IP address request data; It provides a B & A type DC server including a data transmission unit for transmitting the IP address selected by the IP address ranking module to the DC client.

또한 다수개의 DHCP 클라이언트와 통신하는 DHCP서버의 IP 주소 배분방법으로, 복수개의 IP주소를 IP풀에 저장하고, 우선순위를 기록하는 단계와; 상기 다수개의 DHCP 클라이어트 중 하나로부터 IP 주소 요청 메시지를 수신하는 단계와; 상기 IP 주소 요청 메시지에 따라 상기 DHCP 클라이언트에 IP주소를 제공하겠다는 IP 주소 제동 메시지를 송신하는 단계와; 상기 IP 주소 제공 메시지에 따라 상기 DHCP 클라이언트로부터의 IP 주소 대여 요청메시지를 수신하는 단계와; 상기 IP 주소 요청 메시지에 따라 상기 IP주소 풀에 저장된 IP주소 중 우선순위를 고려하여 하나를 상기 클라이언트에 대여하는 단계를 포함하는 B&A 방식의 디에이치씨피서버의 IP주소 대여 방법을 제공한다.In addition, as a method for distributing IP addresses of DHCP servers communicating with a plurality of DHCP clients, storing the plurality of IP addresses in an IP pool and recording the priorities; Receiving an IP address request message from one of the plurality of DHCP clients; Transmitting an IP address braking message to provide an IP address to the DHCP client according to the IP address request message; Receiving an IP address rental request message from the DHCP client according to the IP address provision message; In accordance with the IP address request message provides a method for renting an IP address of a B & A DPC server comprising the step of renting one to the client in consideration of the priority among the IP addresses stored in the IP address pool.

특히 상기 IP주소풀에는 0-255까지의 우선순위를 부여하는 것을 특징으로 한다.In particular, the IP address pool is characterized by giving priority to 0-255.

또한 상기 IP주소풀에는 복수개의 공인IP주소와 다수개의 사설IP주소가 기록되어 있으며, 상기 공인IP주소와 사설IP주소 데이터 중 일부에 대하여 우선순위를 결정하기 위한 태그를 포함하고 있는 것을 특징으로 한다.In addition, a plurality of public IP addresses and a plurality of private IP addresses are recorded in the IP address pool, and the tag includes a tag for determining a priority of some of the public IP addresses and private IP address data. .

본 발명에 따른 초고속 인터넷 망의 하나인 B&A 방식의 네트워크 환경에서 사용되는 DHCP 서버는 동일 랜 상에서 구성된 어떠한 하나이상의 컴퓨터에 소프트웨어가 설치되면 그 기능을 수행할 수 있고, 이러한 DHCP 서버는 DHCP 클라이언트로부터 IP 주소를 하나 빌려 달라는 요구를 받으면, 자기의 IP 주소 풀(POOL)에서 사용 가능한 IP 주소를 뽑아서 DHCP 클라이언트에게 제공하는 역할을 하게 된다.The DHCP server used in the B & A type network environment, which is one of the high-speed Internet networks according to the present invention, can perform its function when software is installed on any one or more computers configured on the same LAN. When asked to borrow an address, it will pick an available IP address from its pool of IP addresses and provide it to the DHCP client.

특히 본 발명에 따른 DHCP서버는 IP주소를 각 DHCP 클라이언트 에게 할당할 때, 상기 IP주소에 우선순위를 부여하는 시스템의 구조를 가지고 있다In particular, the DHCP server according to the present invention has a structure of a system that gives priority to the IP address when allocating an IP address to each DHCP client.

이러한 본 발명에 따른 DHCP 클라이언트 부분은 기존의 일반적인 DHCP 클라이언트의 구성도와 동일하고, 본 발명에 따른 DHCP서버(S)의 구조는 도 3과 같이 IP주소를 저장하는 IP 주소 풀(40)과, 상기 IP 주소 풀(40)에 저장된 IP 주소에 순위를 부여하는 IP 주소의 순위 결정모듈(60)과, 상기 IP풀의 IP주소를 하나 선택하여 상기 메시지 전송 모듈(10)의 데이터 송신부(20)로 IP 주소를 보내주는 IP 주소 선택 모듈(50)과 데이터 송신부(20) 및 수신부(15)를 구비한 메시지 전송 모듈(MTM : 10)과, 호스트 설정모듈(30)을 포함하여 구성된다.The DHCP client portion according to the present invention is the same as the configuration of a conventional general DHCP client, the structure of the DHCP server (S) according to the present invention is an IP address pool 40 for storing an IP address as shown in Figure 3, and The IP address ranking module 60 which ranks the IP addresses stored in the IP address pool 40 and the IP address of the IP pool are selected to the data transmission unit 20 of the message transmission module 10. A message transmission module (MTM) 10 having an IP address selection module 50 for transmitting an IP address, a data transmission unit 20, and a reception unit 15, and a host setting module 30 are configured.

또한 바람직하게는 본 발명에 따른 DHCP 서버(S)는 에러보고 모듈(70)과 타이머(80)를 더욱 포함할 수 있다.Also preferably, the DHCP server S according to the present invention may further include an error reporting module 70 and a timer 80.

이러한 구성을 가지는 본 발명에 따른 DHCP서버가 DHCP 클라이언트로부터 IP 주소 대여를 요청 받아 IP주소를 부여하는 과정을 도 4를 통하여 설명한다.A process in which a DHCP server according to the present invention having such a configuration receives an IP address rental request from a DHCP client and assigns an IP address will be described with reference to FIG. 4.

먼저 DHCP클라이언트는 초기화 되면서 IP주소를 관리하는 동일 랜 상의 단수 또는 복수개의 DHCP서버에게 IP주소를 제공해 줄 수 있는지를 요청하는 IP 주소 요청 메시지를 전송한다.First, the DHCP client initializes and transmits an IP address request message requesting whether the IP address can be provided to a single or multiple DHCP servers on the same LAN managing the IP address.

이러한 IP주소 요청 메세지를 상기 메시지 전송모듈의 데이터 수신부에서 수신한 단수 또는 복수개의 DHCP서버는 이러한 IP주소 요청 메시지를 송출한 DHCP 클라이언트를 호스트로 하여 상기 호스트의 주소 정보를 설정하고 IP주소 제공 메시지를 송신한다.The single or plural DHCP servers receiving the IP address request message at the data receiving unit of the message transmitting module sets the address information of the host and sets the IP address providing message to the host of the DHCP client that sent the IP address request message. Send.

상기 DHCP 클라이언트는 이중 하나의 DHCP 서버를 선정하고, 선정된 하나의 DHCP서버에 IP주소 대여 요청 메시지를 송신한다.The DHCP client selects one DHCP server and transmits an IP address rental request message to the selected DHCP server.

이 메시지를 수신한 DHCP 서버는 상기 IP 주소 대여 요청 메시지를 IP 주소 선택 모듈에 접속하면 상기 IP 주소 선택모듈은 IP 풀 내의 IP주소를 하나 선택하여 상기 메시지 전송모듈의 데이터 송신부를 통하여 상기 IP 주소 대여 요청 메시지를 송신한 DHCP 클라이언트에게 대여한다.Upon receiving the message, the DHCP server accesses the IP address rental request message to the IP address selection module, and the IP address selection module selects one IP address in the IP pool and rents the IP address through the data transmission unit of the message transmission module. Lend to the DHCP client that sent the request message.

이와 같이 상기 IP 주소를 대여 받은 DHCP클라이언트는 초기화가 완료되어 TCP/IP를 구동함으로써 인터넷 네트워크 통신이 가능하게 된다.In this way, the DHCP client borrowing the IP address is initialized is completed, the Internet network communication is possible by driving TCP / IP.

이때 상기 DHCP 클라이언트가 DHCP 서버로부터 대여받은 IP주소는 본 발명에 따른 DHCP 서버내의 IP 주소 순위 결정모듈에 의하여 우선순위가 부여된 IP주소 중 가장 높은 우선순위를 가지고 있는 IP주소이고 상기 IP 순위 결정 모듈은 정기적으로 IP 주소 풀 내의 IP 주소에 우선순위를 부여한다.At this time, the IP address leased by the DHCP client from the DHCP server is the IP address having the highest priority among the IP addresses given priority by the IP address ranking module in the DHCP server according to the present invention. Periodically prioritizes the IP addresses in the IP address pool.

이후 상기 DHCP 클라이언트의 IP 주소의 사용이 종료되면 상기 DHCP 클라이언트는 상기 DHCP서버에 IP 주소를 반납하고 IP 주소사용 종료 메시지를 송신하면 상기 메시지를 받은 DHCP 서버는 IP 주소 임대를 종료 한다.After the use of the IP address of the DHCP client is terminated, the DHCP client returns the IP address to the DHCP server and sends an IP address use termination message, and the DHCP server receiving the message terminates the IP address lease.

이때 부여되는 IP에 우선순위를 부여하는 기준에 따라 몇 가지 실시예로 구분 될 수 있고 이하 각각의 실시예에 따라 상세히 설명한다.At this time, it can be divided into several embodiments according to a criterion for assigning priority to the assigned IP, which will be described in detail according to each embodiment.

제 1First 실시예Example

본 발명에 따른 DHCP의 IP 분배에 따른 우선순위를 주는 방법으로 우선순위 숫자를 사용하는 방법이 있다.According to the present invention, there is a method of using priority numbers as a method of giving priority according to IP distribution of DHCP.

이는 DHCP서버가 IP를 분배할 때, 상기 IP 풀에 들어있는 IP는 각 회선에 따른 그룹(subnet)의 형태로 들어 있는데 이러한 각 IP의 그룹(subnet)들에게 0∼255 까지의 즉, 28개의 우선 순위 숫자를 부여한다.This IP is to to group (subnet) of each of these IP there example in the form of a group (subnet) for each line, that is 0 to 255, 28 included in the IP pool when the DHCP server distributing IP Priority numbers.

이때 각 그룹들은 같은 우선 순위 숫자를 부여받을 수도 있는데, 즉 이와 같이 같은 우선순위 숫자를 가지고 있는 IP의 그룹은 DHCP 서버가 이를 분배할 때 두 개의 각각의 그룹이 아니라 좀 더 부피가 커진 하나의 순위를 가지고 있는 IP의 그룹으로 인식된다.In this case, each group may be given the same priority number, that is, a group of IPs having the same priority number is not one of the two groups when the DHCP server distributes it, but one more bulky one. It is recognized as a group of IPs with.

제 22nd 실시예Example

본 발명에 따른 DHCP의 IP 분배에 따른 우선순위를 주는 방법으로 공인 IP주소와 사설 IP주소를 분리하여 분배하는 방법을 사용한다.As a method of giving priority according to IP distribution of DHCP according to the present invention, a method of separating and distributing a public IP address and a private IP address is used.

상술한 본 발명의 제 1 실시예에 따른 우선순위 숫자를 부여하는 한가지 방법으로만은 각 그룹간의 다양한 구분을 하기에 무리가 있으므로 주로 많이 사용되는 공인 IP 및 사설 IP 주소에 따로 태크(tag)를 부여하여 구분하는 방법을 사용한다.As one method of assigning a priority number according to the first embodiment of the present invention described above, it is not easy to make various distinctions between groups, and thus, a tag is assigned to a public IP and a private IP address which are frequently used. To distinguish between them.

예를 들어 상기 DHCP서버의 IP주소순위결정모듈(40)은 IP주소풀(30)에서 먼저 태그가 있는 지에 따라서 우선순위를 판단하고, 다음으로 제 1 실시예에서 설명된 순서에 따라 IP주소를 부여하게 된다.For example, the IP address ranking module 40 of the DHCP server determines the priority according to whether there is a tag in the IP address pool 30 first, and then determines the IP address in the order described in the first embodiment. Will be given.

즉, 본 발명에 따른 DHCP의 IP 분배에 따른 우선순위를 주는 방법으로 전술한 두가지 실시예 즉, 우선순위 숫자를 사용하는 방법과 공인 IP주소와 사설 IP주소를 분리하여 분배하는 방법을 복합하여 사용함으로써 우선 순위를 줄 수 있는 경우의 수를 더욱 다양하게 할 수 있음은 당업자에겐 당연한 사실일 것이다.That is, as a method of giving priority according to IP distribution of DHCP according to the present invention, the above-described two embodiments, that is, using a priority number and a method of separately distributing a public IP address and a private IP address, are used. It will be apparent to those skilled in the art that the number of cases that can be prioritized can be further varied.

따라서 주로 많이 사용되는 공인 IP 및 사설 IP 주소를 따로 태그(tag)을 주어 구분하고 이러한 태그에 우선 순위 숫자를 부여함으로써 더욱 개선된 네트워크 환경을 구축할 수 있다.Therefore, it is possible to build a more improved network environment by tagging the public IP address and the private IP address which are commonly used separately, and assigning the priority number to these tags.

본 발명에 따른 DHCP서버의 IP 분배에 따른 우선순위를 주는 방법을 사용하여 네트워크 환경을 구축할 경우, 이러한 우선순위에 있는 공인 또는 사설 IP 주소를 부여 받은 DHCP클라이언트를 사용하는 사용자는 더욱 신뢰성 있는 네트워크 환경을 구현할 수 있는 효과를 가지고 있다.When constructing a network environment using a method of giving priority according to IP distribution of a DHCP server according to the present invention, a user using a DHCP client assigned a public or private IP address in such a priority is more reliable. Has the effect of realizing the environment.

Claims (4)

다수개의 DHCP 클라이언트와 통신하는 DHCP서버의 IP 주소 배분방법으로,IP address distribution method of DHCP server that communicates with multiple DHCP clients. 복수개의 IP주소를 IP주소 풀에 저장하고, IP주소에 0-255까지의 우선순위숫자를 부여하여 우선순위를 정하는 단계와;Storing a plurality of IP addresses in an IP address pool, and assigning priority numbers to 0-255 to determine the priority; 상기 다수개의 DHCP 클라이어트 중 하나로부터 IP 주소 요청 메시지를 수신하는 단계와;Receiving an IP address request message from one of the plurality of DHCP clients; 상기 IP 주소 요청 메시지에 따라 상기 DHCP 클라이언트에 IP주소를 제공하겠다는 IP 주소 제공 메시지를 송신하는 단계와;Transmitting an IP address providing message to provide an IP address to the DHCP client according to the IP address request message; 상기 IP 주소 제공 메시지에 따라 상기 DHCP 클라이언트로부터의 IP 주소 대여 요청메시지를 수신하는 단계와;Receiving an IP address rental request message from the DHCP client according to the IP address provision message; 상기 IP 주소 요청 메시지에 따라 상기 IP주소 풀에 저장된 IP주소 중 우선순위를 고려하여 하나를 상기 클라이언트에 대여하는 단계Lending one to the client in consideration of priority among IP addresses stored in the IP address pool according to the IP address request message; 를 포함하는 B&A 방식의 디에이치씨피서버의 IP주소 대여 방법How to rent IP address of BPC server including B & A 청구항 1항에 있어서,The method according to claim 1, 상기 IP주소풀에는 복수개의 공인IP주소와 다수개의 사설IP주소가 기록되어 있으며, 상기 공인IP주소와 사설IP주소 데이터 중 일부에 대하여 우선순위를 결정하기 위한 태그를 포함하고 있는 IP주소 대여방법A plurality of public IP addresses and a plurality of private IP addresses are recorded in the IP address pool, and an IP address rental method includes a tag for determining a priority of a part of the public IP address and private IP address data. 삭제delete 삭제delete
KR10-2000-0066267A 2000-11-08 2000-11-08 method and apparatus of distributing IP addresses to the clients in DHCP system KR100456164B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066267A KR100456164B1 (en) 2000-11-08 2000-11-08 method and apparatus of distributing IP addresses to the clients in DHCP system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2000-0066267A KR100456164B1 (en) 2000-11-08 2000-11-08 method and apparatus of distributing IP addresses to the clients in DHCP system

Publications (2)

Publication Number Publication Date
KR20020036211A KR20020036211A (en) 2002-05-16
KR100456164B1 true KR100456164B1 (en) 2004-11-08

Family

ID=19697968

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2000-0066267A KR100456164B1 (en) 2000-11-08 2000-11-08 method and apparatus of distributing IP addresses to the clients in DHCP system

Country Status (1)

Country Link
KR (1) KR100456164B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040028398A (en) * 2002-09-30 2004-04-03 주식회사 케이티 Apparatus for managing internet protocol address and method thereof
KR100921331B1 (en) * 2002-10-08 2009-10-13 주식회사 케이티 System for limiting the number of internet protocol address according to virtual connection in asymmetric digital subscriber line internet access service
CN101309305B (en) * 2008-07-07 2013-01-16 杭州华三通信技术有限公司 IP address allocating method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08194657A (en) * 1995-01-17 1996-07-30 Nec Corp Automatic internet protocol address assigning system at local area network connection
JPH1075244A (en) * 1996-08-29 1998-03-17 Hitachi Ltd Automatic address distribution system
KR20000046358A (en) * 1998-12-31 2000-07-25 강병호 Method for assigning source address of internet protocol packet in router
JP2000278322A (en) * 1999-03-29 2000-10-06 Nec Corp Dynamic ip address allocating device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08194657A (en) * 1995-01-17 1996-07-30 Nec Corp Automatic internet protocol address assigning system at local area network connection
JPH1075244A (en) * 1996-08-29 1998-03-17 Hitachi Ltd Automatic address distribution system
KR20000046358A (en) * 1998-12-31 2000-07-25 강병호 Method for assigning source address of internet protocol packet in router
JP2000278322A (en) * 1999-03-29 2000-10-06 Nec Corp Dynamic ip address allocating device

Also Published As

Publication number Publication date
KR20020036211A (en) 2002-05-16

Similar Documents

Publication Publication Date Title
US10164940B2 (en) Methods and apparatus for providing high speed connectivity to a hotel environment
US6243749B1 (en) Dynamic network address updating
US5987524A (en) Local area network system and router unit
EP0483547B1 (en) Network address management for a wired network supporting wireless communication to a plurality of mobile users
US20030145073A1 (en) Domain name management method and system therefor
US20050190775A1 (en) System and method for establishing service access relations
KR20060115876A (en) Dhcp pool sharing mechanism in mobile environment
US7305489B2 (en) Method and apparatus for aggregate network address routes
US20030005147A1 (en) IP/HDLC addressing system for replacing frame relay based systems and method therefor
JP2003069639A (en) xDSL STORAGE DEVICE, MULTICAST DELIVERY SYSTEM, AND DATA DELIVERY METHOD
CN1902863A (en) Resource sharing broadband access system, methods, and devices
US7570647B2 (en) LAN type internet access network and subscriber line accommodation method for use in the same network
EA004189B1 (en) Methods and apparatus for controlling internet protocol traffic in a wan or lan
KR100456164B1 (en) method and apparatus of distributing IP addresses to the clients in DHCP system
US20050053222A1 (en) Incoming and outgoing call system based on duplicate private network
JP2000341329A (en) Method and device for dynamically allocating satellite link
JP2003506985A (en) Integrated network and method for selecting communication path in integrated network
JP2004504788A (en) System and method for communicating data through multiple networks
CN117834585A (en) Multi-service channel DNS forwarding method and device based on port binding
EP1307058A1 (en) System and methods for telecommunications
CN112311866A (en) Novel service-oriented internet of things architecture
KR20040103619A (en) Apparatus of controling allocation of transmission line and method thereof
Russo Space Telescope European Coordinating Facility, ESO Karl-Schwarzschild-Str. 2 D-8046 Garching, FRG
Stephany et al. Network Challenges of America's Second Harvest
Sweeney Beyond Access

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: 20121004

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20131010

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20141022

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20150923

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20161005

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20190925

Year of fee payment: 16