KR100487296B1 - a system for supporting movement of host computer and method therefor - Google Patents
a system for supporting movement of host computer and method therefor Download PDFInfo
- Publication number
- KR100487296B1 KR100487296B1 KR10-2000-0066489A KR20000066489A KR100487296B1 KR 100487296 B1 KR100487296 B1 KR 100487296B1 KR 20000066489 A KR20000066489 A KR 20000066489A KR 100487296 B1 KR100487296 B1 KR 100487296B1
- Authority
- KR
- South Korea
- Prior art keywords
- address
- message
- module
- client
- server
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/26—Network addressing or numbering for mobility support
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 이동형 호스트에 DHCP 서버를 구현하여 어떤 네트워크 상으로 이동하든지 DHCP 서버의 유무에 구애받지 않고 DHCP 메커니즘을 활용할 수 있는 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법에 관한 것으로, 서버모듈은 공인된 IP 주소, 서브넷 마스크, 게이트웨이 주소 등의 네트워크 정보를 저장하고 있는 인터넷 정보 데이터 베이스와; 주소할당 요구에 대해 정상적으로 처리해 줄 수 없는 비정상적 데이터를 폐기 처리하는 에러 처리부와; 클라이언트로부터 수신되는 메시지를 분석하여 메시지와 클라이언트 관련 정보를 추출하여 그 추출 정보에 따라 상기 메시지에 응답하는 메시지 분석 처리 모듈과; 클라이언트로부터 메시지를 수신하는 데이터 수신부와; 상기 메시지 분석 처리 모듈에서 생성된 메시지를 인터넷 상으로 출력하는 데이터 송신부와; 상기 클라이언트와의 사이에 송수신되는 메시지를 통신 프로토콜에 의해 송수신되도록 하는 프로토콜 처리부와; 서버와 클라이언트 IP 주소를 가지고 인터넷과 인터페이스하는 네트워크 인터페이스부로 구성되고, 클라이언트 모듈은 서버모듈에서 인터넷 정보 데이터베이스가 제외되고 할당 주소 바인딩부가 추가하여 구성되어 해당 네트워크에 DHCP 서버가 존재하지 않더라도 DHCP 메커니즘을 활용할 수 있고, TCP/IP 설정 변경시 바인딩을 위해 컴퓨터를 재구동 할 필요가 없어져 IP 주소 설정을 편리하게 할 수 있다.The present invention relates to a system and method for supporting host mobility in an Internet network that can utilize a DHCP mechanism regardless of the presence or absence of a DHCP server by implementing a DHCP server in a mobile host, the server module An internet information database storing network information such as an authorized IP address, a subnet mask, and a gateway address; An error processing unit for discarding abnormal data that cannot be normally processed for an address allocation request; A message analysis processing module for analyzing a message received from a client, extracting a message and client related information, and responding to the message according to the extracted information; A data receiving unit for receiving a message from a client; A data transmitter for outputting a message generated by the message analysis processing module to the Internet; A protocol processing unit for transmitting and receiving a message transmitted and received with the client by a communication protocol; It consists of a network interface unit that interfaces with the Internet with a server and client IP address, and the client module is configured with the Internet information database excluded from the server module and the addition of the assigned address binding unit to utilize the DHCP mechanism even if there is no DHCP server in the network. This makes it easy to set IP addresses by eliminating the need to restart the computer for binding when changing TCP / IP settings.
Description
본 발명은 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법에 관한 것으로, 보다 상세하게는 이동형 호스트에 DHCP 서버를 구현하여 어떤 네트워크 상으로 이동하든지 DHCP 서버의 유무에 구애받지 않고 DHCP 메커니즘을 활용할 수 있는 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법에 관한 것이다.The present invention relates to a system and a method for supporting host mobility in the Internet network, and more particularly, to implement a DHCP server in a mobile host to move on any network regardless of the presence or absence of a DHCP server can utilize a DHCP mechanism A system and method for supporting host mobility in an internet network.
DHCP(Dynamic Host Configuration Protocol)는 랜(LAN: Local Area Network)에서 동작하는 클라이언트에게 IP(Internet Protocol) 주소나 구성 파라미터 등을 동적으로 할당해 주는 프로토콜로써 IP 주소의 관리와 할당을 편리하게 한다. Dynamic Host Configuration Protocol (DHCP) is a protocol that dynamically assigns IP (Internet Protocol) addresses or configuration parameters to clients operating on a local area network (LAN). This makes it easy to manage and assign IP addresses.
DHCP 메커니즘은 서버와 클라이언트 환경에서 구현되며 서버와 클라이언트 간의 상호 통신방법은 메시지에 기반을 둔다. 즉, 정적인 IP 주소를 갖는 DHCP 서버가 동적인 IP를 갖는 DHCP 클라이언트로부터 오는 IP 주소요구 메시지에 대하여 응답하는 구조이다. 클라이언트는 일반 PC나 노트북 같이 IP 주소를 요청하는 측이고, 서버는 IP 주소를 적절하게 할당하는 측이다. DHCP 서버가 자신이 관리하도록 규정지어진 IP 주소들의 집합인 IP 풀(Pool)을 관리하고 있다가 클라이언트로부터 IP 주소를 임대해 줄 것을 요구하는 메시지를 받는 것을 시점으로 DHCP 서버와 클라이언트 간의 메시지 교환이 시작된다. 클라이언트가 서버로부터 주소를 할당받기 위한 상호동작 순서가 도1에 도시되고, 그 상호동작 순서와 메시지는 다음과 같다.The DHCP mechanism is implemented in the server and client environment, and the communication method between the server and client is message based. In other words, the DHCP server with the static IP address responds to the IP address request message from the DHCP client with the dynamic IP. The client is the one requesting the IP address, like a regular PC or laptop, and the server is the one that allocates the IP address appropriately. The exchange of messages between a DHCP server and a client begins when the DHCP server manages an IP pool, which is a set of IP addresses that it is defined to manage, and receives a message from the client requesting to lease an IP address. do. The interaction order for the client to be assigned an address from the server is shown in FIG. 1, and the interaction order and message are as follows.
(가)DHCPDISCOVER : 클라이언트가 서버에게 IP 주소를 요청하는 메시지DHCPDISCOVER: message from client requesting server IP address
(나)DHCPOFFER : DHCP서버가 자신이 대여해 줄 수 있는 IP 주소 및 기타 정보(DNS서버주소, 게이트웨이 주소 등)들을 포함한 메시지를 생성하여 DHCPDISCOVER 메시지에 응답하는 메시지(B) DHCPOFFER: The DHCP server responds to the DHCPDISCOVER message by creating a message containing the IP address and other information (DNS server address, gateway address, etc.) that it can lend.
(다)DHCPREQUEST : 클라이언트가 어떤 서버에게 IP 주소를 대여받을 것인지 결정하여 자신이 선택한 서버가 무엇인지 서버에게 알리는 메시지(D) DHCPREQUEST: A message that tells a server what server it chooses by determining which server the client will borrow its IP address from.
(라)DHCPACK : 서버가 클라이언트에게 특정 IP 주소 및 기타 설정 파라미터들을 대여해 줌을 최종적으로 알려주는 메시지(D) DHCPACK: A message that finally informs the server that it will borrow a specific IP address and other configuration parameters from the client.
DHCP 서버가 있는 네트워크 상에서 노트북 컴퓨터에 IP 주소를 설정하기 위하여 사용자가 해야 할 일은 없다. 사용자가 LAN 케이블을 노트북에 연결하기만 하면 노트북을 구동함과 동시에 DHCP 서버와 노트북간에 메시지 교환이 이루어져 자동으로 IP 주소 할당이 이루어지며 할당된 IP 주소는 동적으로 운영체제에 바인딩된다. There is nothing you need to do to set an IP address for your notebook computer on a network with a DHCP server. The user simply connects the LAN cable to the notebook and starts up the notebook and exchanges messages between the DHCP server and the notebook, automatically assigning an IP address, and the assigned IP address is dynamically bound to the operating system.
다시 말해서, 모든 네트워크들이 DHCP 서버를 구동하고 있어서 IP 주소 할당을 동적으로 한다면 사용자가 어떤 장소로 옮겨가든지 노트북 컴퓨터 같은 이동성 호스트로 인터넷을 사용하는 데에는 아무런 불편함이 없다. 하지만 대다수의 네트워크는 정적인 IP 할당방법을 사용하므로 DHCP 서버를 가동하지 않는 네트워크가 다수이다. 따라서, 사용자가 네트워크(DHCP 서버가 없는 네트워크) 상에서 인터넷을 사용하기 위한 IP 주소를 설정하기 위해서는 아래의 두가지 작업을 해야만 한다.In other words, if all the networks are running a DHCP server, and dynamic IP address assignment, there is no inconvenience in using the Internet as a mobile host, such as a notebook computer, no matter where you go. However, most networks use a static IP assignment method, so many networks do not have a DHCP server running. Therefore, in order to set an IP address for a user to use the Internet on a network (a network without a DHCP server), two tasks must be performed.
(가) 현재 장소에서 사용가능한 IP 주소, 게이트웨이 주소, 서브넷 마스크와 같은 TCP/IP 정보를 입력해야만 한다. 즉 사용자는 각 장소의 TCP/IP 정보를 모두 기억하고 있어야 하고, 수동으로 입력하는 수고를 해야 한다.(A) You must enter TCP / IP information such as the IP address, gateway address, and subnet mask available at your location. In other words, the user should remember all the TCP / IP information of each place and have to enter manually.
(나)입력한 TCP/IP 정보를 바인딩 시키기 위하여 노트북 컴퓨터를 반드시 재구동해야 한다. 이는 TCP/IP 정보의 입력만으로는 아직 운영체제에 바인딩 되지 않은 상태이므로 인터넷 사용이 불가능하기 때문이다.(B) You must restart your notebook computer to bind the entered TCP / IP information. This is because the input of TCP / IP information is not yet bound to the operating system and therefore the Internet cannot be used.
이처럼 DHCP 서버가 없는 네트워크 상에서 노트북의 IP 주소 변경은 사용자에게 각 장소에 맞는 TCP/IP 정보를 입력해야 하고, 노트북 컴퓨터를 재구동 해야 하는 부담을 준다. On a network without a DHCP server, changing the notebook's IP address puts the user on the task of entering TCP / IP information for each location and restarting the notebook computer.
DHCP 메커니즘은 편리함을 가지는 반면에 상기한 바와 같이 클라이언트/서버 기반으로 동작하므로 클라이언트가 동작하는 네트워크 상에 상기 클라이언트에게 IP 주소를 대여해 줄 DHCP 서버가 존재해야만 DHCP 메커니즘의 편리함을 활용할 수 있는 한계점이 있다.While the DHCP mechanism is convenient, it operates on a client / server basis as described above. Therefore, a DHCP server must be present on the network in which the client operates to utilize the convenience of the DHCP mechanism. have.
본 발명은 상기한 바와 같이 종래의 문제점을 해결하기 위한 것으로,The present invention is to solve the conventional problems as described above,
본 발명의 목적은 사용자가 이동하는 곳에서 DHCP 서버의 존재 여부에 구애받지 않고 DHCP 메커니즘을 활용할 수 있도록 컴퓨터 자체에 DHCP 서버를 구현하고 클라이언트에 IP 주소를 할당하여 인터넷과의 통신을 가능하게 하는 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법을 제공하는 것이다.It is an object of the present invention to implement a DHCP server on the computer itself and to assign an IP address to a client so that the user can use the DHCP mechanism regardless of the presence of a DHCP server where the user moves to the Internet to enable communication with the Internet. The present invention provides a system and method for supporting host mobility in a network.
본 발명의 다른 목적은 사용자가 이동하는 곳에서 DHCP 서버가 없더라도 컴퓨터 자체에 루프백 주소를 이용하여 DHCP 서버-클라이언트 메카니즘을 구현하여 인터넷 주소를 바인딩하는 수고를 덜어주는 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법을 제공하는 것이다.Another object of the present invention is a system that supports host mobility in the Internet network, which saves the trouble of binding the Internet address by implementing a DHCP server-client mechanism using a loopback address in the computer itself even if there is no DHCP server in the user's movement. And a method thereof.
본 발명의 또 다른 목적은 호스트 이동성을 지원하기 위해 DHCP 메커니즘을 활용하는 데에 있어서의 한계점을 극복할 수 있는 인터넷 망에서 호스트 이동성을 지원하는 시스템 및 그 방법을 제공하는 것이다. It is still another object of the present invention to provide a system and method for supporting host mobility in an Internet network that can overcome the limitations in utilizing a DHCP mechanism to support host mobility.
위와 같은 목적을 달성하기 위하여 본 발명에 의한 시스템은 하나의 컴퓨터에 서버 모듈과 클라이언트 모듈을 구비하며, 서버모듈은 로컬 호스트 또는 가상 호스트로서 동작한다. In order to achieve the above object, the system according to the present invention includes a server module and a client module in one computer, and the server module operates as a local host or a virtual host.
로컬 호스트로서 동작할 때의 서버모듈은 공인된 IP 주소, 서브넷 마스크, 게이트웨이 주소 등의 네트워크 정보를 저장하고 있는 인터넷 정보 데이터 베이스와; 주소할당 요구에 대해 정상적으로 처리해 줄 수 없는 비정상적 데이터를 폐기 처리하는 에러 처리부와; 클라이언트로부터 수신되는 메시지를 분석하여 메시지와 클라이언트 관련 정보를 추출하여 그 추출 정보에 따라 상기 메시지에 응답하는 메시지 분석 처리 모듈과; 클라이언트로부터 메시지를 수신하는 데이터 수신부와; 상기 메시지 분석 처리 모듈에서 생성된 메시지를 인터넷 상으로 출력하는 데이터 송신부와; 상기 클라이언트와의 사이에 송수신되는 메시지를 통신 프로토콜에 의해 송수신되도록 하는 프로토콜 처리부와; 루프백 IP 주소로 네트워크와 인터페이스하는 네트워크 인터페이스부로 구성되고,The server module when operating as a local host includes: an Internet information database storing network information such as an authorized IP address, subnet mask, gateway address, and the like; An error processing unit for discarding abnormal data that cannot be normally processed for an address allocation request; A message analysis processing module for analyzing a message received from a client, extracting a message and client related information, and responding to the message according to the extracted information; A data receiving unit for receiving a message from a client; A data transmitter for outputting a message generated by the message analysis processing module to the Internet; A protocol processing unit for transmitting and receiving a message transmitted and received with the client by a communication protocol; It consists of a network interface unit that interfaces with a network with a loopback IP address,
클라이언트 모듈은 서버모듈에서 인터넷 정보 데이터베이스가 제외되고 할당 주소 바인딩부가 추가되며, 할당주소 바인딩부는 상기 서버모듈에게서 할당받은 IP 주소 및 네트워크 관련 정보를 본 시스템에 결합시켜 인터넷에 접속한다.The client module excludes the Internet information database from the server module and adds an assignment address binding unit. The assignment address binding unit combines the IP address and network related information allocated from the server module to the system to access the Internet.
가상 호스트로서 동작할 때의 서버 모듈과 클라이언트 모듈의 구성은 네트워크 인터페이스부를 각각 구비하는 점에서 로컬 호스트로서 동작할 때와 다른 구성을 갖는다.The configuration of the server module and the client module when operating as a virtual host has a different configuration than when operating as a local host in that each includes a network interface unit.
본 발명의 구성 및 작용을 일 실시예를 통하여 상세하게 설명한다.The configuration and operation of the present invention will be described in detail through one embodiment.
도 2는 본 발명에 의한 DHCP 서버와 클라이언트가 동일한 컴퓨터 내에서 구동되도록 구성한 블록도이다.2 is a block diagram of a DHCP server and a client configured to be run in the same computer according to the present invention.
본 발명에 의한 시스템은 하나의 컴퓨터(100)에 서버 모듈(20)과 클라이언트 모듈(20')을 구비한다.The system according to the present invention includes a server module 20 and a client module 20 'in one computer 100.
서버모듈(20)에서, 인터넷 정보 데이터 베이스(21)는 공인된 IP 주소, 서브넷 마스크, 게이트웨이 주소 등의 네트워크 정보를 저장한다. 에러 처리부(22)는 클라이언트 모듈(20')로부터의 주소할당 요구에 대해 정상적으로 처리해 줄 수 없는 비정상적 데이터를 폐기 처리한다. 메시지 분석 처리 모듈(23)은 상기 클라이언트 모듈(20')로부터 수신되는 메시지를 분석하여 메시지와 클라이언트 관련 정보를 추출하여 그 추출 정보에 따라 상기 메시지에 응답한다. 데이터 수신부(24)는 상기 클라이언트 모듈(20')로부터 메시지를 수신한다. 데이터 송신부(25)는 상기 메시지 분석 처리 모듈(23)에서 생성된 메시지를 네트워크 상으로 송신한다. 프로토콜 처리부(26)는 상기 클라이언트 모듈(20')과의 사이에 송수신되는 메시지를 통신 프로토콜에 의해 송수신되도록 한다. 네트워크 인터페이스부(27)는 루프백 IP 주소(127.0.0.1)를 가지고 인터넷(200)과 인터페이스한다.In the server module 20, the Internet information database 21 stores network information such as an authorized IP address, subnet mask, gateway address, and the like. The error processing unit 22 discards abnormal data that cannot be normally processed for the address assignment request from the client module 20 '. The message analysis processing module 23 analyzes a message received from the client module 20 ', extracts a message and client related information, and responds to the message according to the extracted information. The data receiver 24 receives a message from the client module 20 '. The data transmitter 25 transmits the message generated by the message analysis processing module 23 onto the network. The protocol processor 26 transmits and receives a message transmitted and received between the client module 20 'and a communication protocol. The network interface unit 27 interfaces with the Internet 200 with a loopback IP address (127.0.0.1).
클라이언트 모듈(20')은 서버모듈(20)과 구성이 같지만 인터넷 정보 데이터베이스(21)를 제외하고 할당 주소 바인딩부(32)를 추가하여 구성한다. 에러 처리부(28)는 서버 모듈(20)로부터의 주소할당 요구에 대해 정상적으로 처리해 줄 수 없는 비정상적 데이터를 폐기 처리한다. 메시지 분석 처리 모듈(29)은 상기 서버 모듈(20')로부터 수신되는 메시지를 분석하여 메시지와 서버 관련 정보를 추출하여 그 추출 정보에 따라 상기 메시지에 응답한다. 데이터 송/수신부(25)/(24)는 상기 서버 모듈(20)로부터 메시지를 송/수신한다. 프로토콜 처리부(26)는 상기 서버 모듈(20)과의 사이에 송수신되는 메시지를 통신 프로토콜에 의해 송수신되도록 한다. 할당주소 바인딩부(33)는 상기 서버모듈(20)에게서 할당받은 IP 주소 및 네트워크 관련 정보를 본 시스템에 결합시켜 인터넷(200)에 접속되게 한다.The client module 20 'has the same configuration as the server module 20 but is configured by adding an assignment address binding unit 32 except for the Internet information database 21. The error processing unit 28 discards abnormal data that cannot be normally processed for the address allocation request from the server module 20. The message analysis processing module 29 analyzes a message received from the server module 20 ', extracts a message and server related information, and responds to the message according to the extracted information. The data transmitter / receiver 25/24 transmits / receives a message from the server module 20. The protocol processor 26 transmits and receives a message transmitted and received between the server module 20 and a communication protocol. The assignment address binding unit 33 couples the IP address and network related information allocated from the server module 20 to the system to be connected to the Internet 200.
본 발명에서 제시하듯 하나의 컴퓨터 내에 함께 존재하는 DHCP 서버와 DHCP 클라이언트 간의 통신방법으로 로컬 호스트 IP 주소(127.0.0.1)를 이용하고 이를 통한 DHCP 메커니즘을 활용으로 인터넷 주소를 할당한다. 도 3(a)에 도 2의 시스템 내에 구성된 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하는 절차를 나타내는 절차도가 도시되며, 도 3(b)에 도 2의 시스템 내에 구성된 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하도록 제어하는 방법을 나타내는 플로우차트가 도시된다.As presented in the present invention, a local host IP address (127.0.0.1) is used as a communication method between a DHCP server and a DHCP client existing in one computer, and an Internet address is allocated using the DHCP mechanism. FIG. 3 (a) shows a process diagram illustrating a procedure for implementing a DHCP mechanism between a server and a client configured in the system of FIG. 2, and FIG. 3 (b) shows a DHCP mechanism between a server and a client configured in the system of FIG. A flowchart illustrating a method of controlling to implement is shown.
클라이언트 모듈(20')은 네트워크 인터페이스부(27)를 통하여 IP 주소 대여를 요구하는 DHCPDISCOVER 메시지를 브로드캐스트 하고, 이때 그 메시지는 로컬 호스트 서버 모듈(20)로도 전송되게 한다(단계 S31). 로컬 호스트 서버 모듈(20)은 루프백 IP 주소 정보인 "127.0.0.1"을 이용하여 네트워크 인터페이스부(27)를 통해 클라이언트 모듈(20')로부터 DHCPDISCOVER 메시지를 받는다(단계 S32). DHCPDISCOVER 메시지를 받은 로컬 호스트 서버 모듈(20)은 현재 상황에 적합한 IP 주소를 인터넷 주소 데이터 베이스(21)에서 읽어들여 상기 수신한 로컬 호스트 IP 주소정보를 기반으로 네트워트를 통해 DHCPOFFER 메시지를 "127.0.0.1"로 유니캐스트 한다(단계 S33). 클라이언트 모듈(20')은 네트워크 인터페이스부(27)를 통해 수신한 DHCPOFFER 메시지에서 할당받은 IP 주소 및 구성 파라미터를 추출한 후 네트워크 인터페이스부(27)를 통해 DHCPREQUEST 메시지를 브로드캐스트 한다(단계 S34). 로컬 호스트 서버 모듈(20)은 브로드캐스트 된 DHCPREQUEST 메시지에 대해서 DHCPACK 메시지를 유니캐스트 메시지로 전송한다(단계 S35). 클라이언트 모듈(20')은 DHCPACK 메시지를 수신한 후 할당받은 IP 주소 및 구성파라미터 정보를 자체 시스템에 바인딩한다(단계 S36).The client module 20 'broadcasts a DHCPDISCOVER message requesting an IP address rental through the network interface unit 27, at which time the message is also transmitted to the local host server module 20 (step S31). The local host server module 20 receives the DHCPDISCOVER message from the client module 20 'via the network interface unit 27 using the loopback IP address information "127.0.0.1" (step S32). Upon receiving the DHCPDISCOVER message, the local host server module 20 reads an IP address suitable for the current situation from the Internet address database 21 and sends a DHCPOFFER message "127.0.0.1 through the network based on the received local host IP address information." "To unicast" (step S33). The client module 20 'extracts the assigned IP address and configuration parameters from the DHCPOFFER message received through the network interface unit 27 and broadcasts a DHCPREQUEST message through the network interface unit 27 (step S34). The local host server module 20 transmits a DHCPACK message as a unicast message with respect to the broadcast DHCPREQUEST message (step S35). After receiving the DHCPACK message, the client module 20 'binds the allocated IP address and configuration parameter information to its own system (step S36).
도 4에 본 발명에 의한 가상 호스트로서 동작하는 서버 모듈과 클라이언트가 동일한 컴퓨터 내에서 구성되어 DHCP 메커니즘을 구현하는 시스템의 구성을 나타내는 블록도이다.4 is a block diagram showing the configuration of a system in which a server module and a client operating as a virtual host according to the present invention are configured in the same computer to implement a DHCP mechanism.
가상 호스트로서 동작하는 서버모듈(40)의 구성은 로컬 호스트로서 동작하는 서버 모듈(20)의 구성과 거의 동일하며, 네트워크 인터페이스부(48)를 클라이언트 모듈과 공유하지 않는 점에서 다르다. 마찬가지로 클라이언트 모듈(40')의 구성도 로컬호스트 방법을 사용할 때의 클라이언트 모듈(20')과 거의 동일하고 네트워크 인터페이스부(55)를 클라이언트 모듈과 공유하지 않는 점에서 다르다.The configuration of the server module 40 operating as a virtual host is substantially the same as that of the server module 20 operating as a local host, and differs in that the network interface unit 48 is not shared with the client module. Similarly, the configuration of the client module 40 'is also substantially the same as the client module 20' when using the local host method, and differs in that the network interface unit 55 is not shared with the client module.
가상 호스트를 이용하여 클라이언트와 서버 간의 메시지 교환이 이루어진다. 노트북 컴퓨터에 가상으로 네트워크 인터페이스부(48, 55)를 설치한 후, 이 네트워크 인터페이스부(48, 55)에 TCP/IP 스택을 바인딩시켜 가상호스트를 구동시킨다. 바인딩된 TCP/IP 스택에 가상의 프라이비트 IP를 할당하게 되면 가상 호스트는 DHCP 서버로 구동하게 된다. 그러므로 DHCP 서버는 이 프라이비트 IP 주소를 이용하여 구동되어서 DHCP 클라이언트의 메시지에 대하여 응답할 수 있다. 노트북 컴퓨터 상에서 가상 호스트를 사용하여 구동되는 DHCP 서버는 다음과 같은 방법으로 클라이언트와 메시지 교환을 수행한다.The exchange of messages between the client and server takes place using the virtual host. After the network interface units 48 and 55 are virtually installed in the notebook computer, the TCP / IP stack is bound to the network interface units 48 and 55 to drive the virtual host. By assigning a virtual private IP to the bound TCP / IP stack, the virtual host runs as a DHCP server. The DHCP server can therefore be run using this private IP address to respond to messages from DHCP clients. A DHCP server running using a virtual host on a notebook computer exchanges messages with clients in the following ways:
도 5a에 도 2의 시스템 내에 구성된 가상 호스트 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하는 절차를 나타내는 절차도가 도시되며, 도 5b에 도 2의 시스템 내에 구성된 가상 호스트 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하도록 제어하는 방법을 나타내는 플로우차트가 도시된다.FIG. 5A is a procedure diagram illustrating a procedure for implementing a DHCP mechanism between a virtual host server and a client configured in the system of FIG. 2, and FIG. 5B implements a DHCP mechanism between a virtual host server and a client configured in the system of FIG. 2. A flowchart is shown that illustrates how to control to do so.
클라이언트 모듈(40')은 네트워크 인터페이스부(55)를 통하여 IP 주소 대여를 요구하는 DHCPDISCOVER 메시지를 네트워크(200)를 통하여 가상 호스트 서버 모듈(40)로 송신하여 브로드캐스트 한다(단계 S51). 가상 호스트 서버 모듈(40)은 가상 호스트 IP 주소를 루프백 IP주소인 "127.0.0.1"로 할당하고 67번 포트를 통해 클라이언트 모듈(40')로부터 DHCPDISCOVER 메시지를 받는다(단계 S52). 가상 호스트 서버 모듈(40)은 상기 수신한 가상 호스트 IP 주소 정보를 기반으로 현재 상황에 적합한 IP 주소를 인터넷 주소 데이터 베이스(41)에서 읽어들여 다시 네트워트를 통해 DHCPOFFER 메시지를 "127.0.0.1"로 유니캐스트 한다(단계 S53). 클라이언트 모듈(40')은 인터넷(200)과 네트워크 인터페이스부(55)를 통해 수신한 DHCPOFFER 메시지에서 할당받은 IP 주소 및 구성 파라미터를 추출한 후 가상 호스트 서버모듈(40)을 향해 DHCPREQUEST 메시지를 브로드캐스트 한다(단계 S54). 가상 호스트 서버 모듈(40)은 브로드캐스트 된 DHCPREQUEST 메시지에 대해서 DHCPACK 메시지를 유니캐스트 메시지로 전송한다(단계 S55). 클라이언트 모듈(40')은 DHCPACK 메시지를 수신한 후 할당받은 IP 주소 및 구성파라미터 정보를 자체 시스템에 바인딩한다(단계 S56).The client module 40 'transmits a DHCPDISCOVER message requesting the IP address rental through the network interface unit 55 to the virtual host server module 40 via the network 200 to broadcast it (step S51). The virtual host server module 40 assigns the virtual host IP address to the loopback IP address "127.0.0.1" and receives a DHCPDISCOVER message from the client module 40 'through port 67 (step S52). The virtual host server module 40 reads an IP address suitable for the current situation from the Internet address database 41 based on the received virtual host IP address information, and reads a DHCPOFFER message as "127.0.0.1" through the network. Cast (step S53). The client module 40 'extracts the assigned IP address and configuration parameters from the DHCPOFFER message received through the Internet 200 and the network interface unit 55, and then broadcasts a DHCPREQUEST message to the virtual host server module 40. (Step S54). The virtual host server module 40 transmits a DHCPACK message as a unicast message with respect to the broadcast DHCPREQUEST message (step S55). After receiving the DHCPACK message, the client module 40 'binds the allocated IP address and configuration parameter information to its own system (step S56).
서버/클라이언트 기반으로 동작하는 DHCP 메커니즘을 DHCP 서버가 존재하지 않는 네트워크 상에서도 활용할 수 있도록 하기 위해서 DHCP 서버와 DHCP 클라이언트를 동일한 컴퓨터 내에서 구성하여 상호 동작하도록 함으로써 DHCP 메카니즘을 활용할 수 있도록 한다. In order to utilize the server / client-based DHCP mechanism even on a network where no DHCP server exists, the DHCP mechanism can be utilized by configuring the DHCP server and the DHCP client in the same computer to interoperate.
이상에서 살펴본 바와 같이, 본 발명에 의하면, 하나의 컴퓨터 내에 DHCP 서버와 클라이언트를 함께 구성하고 그 DHCP 서버를 로컬 호스트 정보를 활용한 구동방식과 가상 호스트를 이용한 방식을 사용하여 해당 네트워크에 DHCP 서버가 존재하지 않더라도 DHCP 메커니즘을 활용할 수 있다. 또한, TCP/IP 설정변경시 바인딩을 위해 컴퓨터를 재구동 할 필요가 없어져 IP 주소 설정을 편리하게 할 수 있다.As described above, according to the present invention, a DHCP server is configured in a network using a driving method using local host information and a method using a virtual host. You can take advantage of the DHCP mechanism even if it doesn't exist. In addition, when changing TCP / IP settings, it is not necessary to restart the computer for binding, which makes the IP address setting convenient.
도 1은 DHCP에 의해 클라이언트가 서버로부터 주소를 할당받기 위한 상호동작 순서도,1 is a flowchart illustrating an operation for a client to be assigned an address from a server by DHCP.
도 2는 본 발명에 의한 DHCP 서버와 클라이언트가 동일한 컴퓨터 내에서 구동되도록 구성한 블록도,2 is a block diagram of a DHCP server and a client configured to run in the same computer according to the present invention;
도 3a는 도 2의 시스템 내에 구성된 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하는 절차를 나타내는 절차도,3A is a procedure diagram illustrating a procedure for implementing a DHCP mechanism between a server and a client configured in the system of FIG. 2;
도 3b는 도 2의 시스템 내에 구성된 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하도록 제어하는 방법을 나타내는 플로우차트,3B is a flowchart illustrating a method of controlling to implement a DHCP mechanism between a server and a client configured in the system of FIG. 2;
도 4는 본 발명에 의한 가상 호스트로서 동작하는 서버 모듈과 클라이언트가 동일한 컴퓨터 내에서 구성되어 DHCP 메커니즘을 구현하는 시스템의 구성을 나타내는 블록도,4 is a block diagram showing the configuration of a system in which a server module and a client operating as a virtual host according to the present invention are configured in the same computer to implement a DHCP mechanism;
도 5a는 도 2의 시스템 내에 구성된 가상 호스트 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하는 절차를 나타내는 절차도, 5A is a procedure diagram illustrating a procedure for implementing a DHCP mechanism between a virtual host server and a client configured in the system of FIG. 2;
도 5b는 도 2의 시스템 내에 구성된 가상 호스트 서버와 클라이언트 사이에 DHCP 메커니즘을 구현하도록 제어하는 방법을 나타내는 플로우차트이다.FIG. 5B is a flowchart illustrating a method of controlling to implement a DHCP mechanism between a virtual host server and a client configured in the system of FIG. 2.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
20 : 서버 모듈 20' : 클라이언트 모듈20: server module 20 ': client module
21 : 인터넷 주소 데이터베이스 22, 28 : 에러처리부21: Internet address database 22, 28: error handling unit
23, 29 : 메시지 분석 처리 모듈 24, 30 : 데이터 수신부23, 29: message analysis processing module 24, 30: data receiving unit
25, 31 : 데이터 송신부 26, 32 : 프로토콜 처리부25, 31: data transmitter 26, 32: protocol processor
27 : 네트워크 인터페이스부 33 : 할당 주소 바인딩부 27: network interface unit 33: allocation address binding unit
100, 300 : 컴퓨터 200 : 인터넷100, 300: Computer 200: Internet
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2000-0066489A KR100487296B1 (en) | 2000-11-09 | 2000-11-09 | a system for supporting movement of host computer and method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2000-0066489A KR100487296B1 (en) | 2000-11-09 | 2000-11-09 | a system for supporting movement of host computer and method therefor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20020036346A KR20020036346A (en) | 2002-05-16 |
KR100487296B1 true KR100487296B1 (en) | 2005-05-03 |
Family
ID=19698129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR10-2000-0066489A KR100487296B1 (en) | 2000-11-09 | 2000-11-09 | a system for supporting movement of host computer and method therefor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100487296B1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100739299B1 (en) * | 2001-12-31 | 2007-07-12 | 주식회사 케이티 | An IP Automatic Assignment's Method in the way of Central IP Management thorugh Intermediate DHCP Server |
KR20040028398A (en) * | 2002-09-30 | 2004-04-03 | 주식회사 케이티 | Apparatus for managing internet protocol address and method thereof |
KR100970218B1 (en) * | 2008-06-20 | 2010-07-16 | 주식회사 케이티 | Apparatus for determining abnormal terminal and method thereof |
KR100977399B1 (en) * | 2008-09-08 | 2010-08-24 | 주식회사 다산네트웍스 | Method and apparatus of processing DHCP packet in dynamic IP address allocation for reducing network load |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1188434A (en) * | 1997-09-09 | 1999-03-30 | Nippon Telegr & Teleph Corp <Ntt> | Method for setting ip address |
JP2000059387A (en) * | 1998-08-10 | 2000-02-25 | Fujitsu Ltd | Dhcp server device |
KR20000012264A (en) * | 1999-11-10 | 2000-03-06 | 백덕호 | Method and system for connecting an internet server based on a dynamic ip address |
KR20010065103A (en) * | 1999-12-29 | 2001-07-11 | 이계철 | Method for dynamic assignment of public IP address and private IP address on intra-domain network |
-
2000
- 2000-11-09 KR KR10-2000-0066489A patent/KR100487296B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1188434A (en) * | 1997-09-09 | 1999-03-30 | Nippon Telegr & Teleph Corp <Ntt> | Method for setting ip address |
JP2000059387A (en) * | 1998-08-10 | 2000-02-25 | Fujitsu Ltd | Dhcp server device |
KR20000012264A (en) * | 1999-11-10 | 2000-03-06 | 백덕호 | Method and system for connecting an internet server based on a dynamic ip address |
KR20010065103A (en) * | 1999-12-29 | 2001-07-11 | 이계철 | Method for dynamic assignment of public IP address and private IP address on intra-domain network |
Also Published As
Publication number | Publication date |
---|---|
KR20020036346A (en) | 2002-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7010585B2 (en) | DNS server, DHCP server, terminal and communication system | |
US6587455B1 (en) | Automatic discovery of nodes associated with a virtual subnet | |
US5854901A (en) | Method and apparatus for serverless internet protocol address discovery using source address of broadcast or unicast packet | |
US7231660B1 (en) | Method and system for preventing unauthorized server interference in an internet protocol network | |
EP1125421B1 (en) | Dns relay module in a digital network modem | |
US6195706B1 (en) | Methods and apparatus for determining, verifying, and rediscovering network IP addresses | |
US6061739A (en) | Network address assignment using physical address resolution protocols | |
US7568048B2 (en) | Method, apparatus, and system for assigning an IP address on a network | |
US8543674B2 (en) | Configuration of routers for DHCP service requests | |
US20060056397A1 (en) | Access management apparatus, program and remote start-up method of terminal device | |
US20030145073A1 (en) | Domain name management method and system therefor | |
JP2007036374A (en) | Packet transfer apparatus, communication network, and packet transfer method | |
JP2006515124A (en) | Network device dynamic port configuration | |
KR101682513B1 (en) | Dns proxy service for multi-core platforms | |
KR100487296B1 (en) | a system for supporting movement of host computer and method therefor | |
US20040117473A1 (en) | Proxy network control apparatus | |
US20110235641A1 (en) | Communication apparatus, method of controlling the communication apparatus,and program | |
EP3670413A1 (en) | Method for electronic elevator communication with mobile devices | |
US7089334B2 (en) | Intelligent network interface port for visiting computers | |
KR20150002934A (en) | Method for Selecting Network Mode, Mobile Router Therefor | |
KR20180050181A (en) | Modem apparatus and system for providing static ip | |
JP2003179603A (en) | Communication control method in communication system, program, transmitter and receiver | |
KR101996588B1 (en) | Network bridge apparatus and control method thereof to support arp protocols | |
KR20020090961A (en) | An intelligent network access device and a network access method | |
US11552928B2 (en) | Remote controller source address verification and retention for access devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
J301 | Trial decision |
Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20030324 Effective date: 20041130 |
|
S901 | Examination by remand of revocation | ||
GRNO | Decision to grant (after opposition) | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130222 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20140210 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20150304 Year of fee payment: 11 |
|
FPAY | Annual fee payment |
Payment date: 20160322 Year of fee payment: 12 |
|
FPAY | Annual fee payment |
Payment date: 20170309 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |