KR20010038481A - Method of Merging DHCP Server with Relay Agent in the Router - Google Patents

Method of Merging DHCP Server with Relay Agent in the Router Download PDF

Info

Publication number
KR20010038481A
KR20010038481A KR1019990046456A KR19990046456A KR20010038481A KR 20010038481 A KR20010038481 A KR 20010038481A KR 1019990046456 A KR1019990046456 A KR 1019990046456A KR 19990046456 A KR19990046456 A KR 19990046456A KR 20010038481 A KR20010038481 A KR 20010038481A
Authority
KR
South Korea
Prior art keywords
dhcp
relay agent
address
client
router
Prior art date
Application number
KR1019990046456A
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 KR1019990046456A priority Critical patent/KR20010038481A/en
Publication of KR20010038481A publication Critical patent/KR20010038481A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: A method for combining a DHCP(Dynamic Host Configuration Protocol) server and a relay agent in a router is provided to grant a client a gateway value with an IP address at the same time by joining both functions of a DHCP server and a relay agent to a router. CONSTITUTION: A router receives a DHCP request packet from a DHCP client and supplies the received DHCP request packet to a relay agent module(S1). The relay agent module sets an address field value of the received DHCP request packet as an IP address allocated to the router, and then transfers the set DHCP request packet to a DHCP server module in the router(S2). The DHCP server module generates a DHCP response packet by dynamically allocating an IP address dynamically and transmits it to an address specified in the address field, or the relay agent module(S3). Receiving the DHCP response packet, the relay agent module forwards it to the DHCP client(S4).

Description

라우터에서 디에이취씨피 서버와 릴레이 에이전트 병합 방법 {Method of Merging DHCP Server with Relay Agent in the Router}How to merge DCC server and relay agent in router {Method of Merging DHCP Server with Relay Agent in the Router}

본 발명은 라우터에서 DHCP 서버(Server)와 릴레이 에이전트 병합 방법에 관한 것으로, 특히 DHCP 서버를 라우터에 적용하는 경우에 DHCP에 의해 새로운 IP 어드레스(Internet Protocol Address)를 클라이언트에 할당할 때 릴레이 에이전트의 역할을 해당 라우터에 접목시켜 해당 클라이언트에게 게이트웨이(Gateway) 값을 동시에 부여하도록 한 라우터에서 DHCP 서버와 릴레이 에이전트 병합 방법에 관한 것이다.The present invention relates to a method of merging a DHCP server and a relay agent in a router. In particular, when a DHCP server is applied to a router, a relay agent plays a role in assigning a new IP address (Internet Protocol) to a client by DHCP. To merge the DHCP server and the relay agent in a router to simultaneously assign a gateway value to the corresponding client by integrating the.

일반적으로, RFC 1541에서 제안하고 있는 DHCP는 네트워크 호스트(Network Host)들에게 구성 파라미터(Configuration Parameter)들을 제공하기 위한 목적으로, 호스트 특정의 구성 파라미터들을 전달하는 프로토콜(Protocol)과 네트워크 주소를 호스트에게 할당하기 위한 메커니즘(Mechanism)으로 이루어져 있다.In general, DHCP proposed by RFC 1541 provides network hosts with protocols and network addresses that deliver host-specific configuration parameters for the purpose of providing configuration parameters to network hosts. It consists of a mechanism for assigning.

이에, 해당 구성 파라미터를 제공받은 호스트는 네트워크의 다른 서버들과도 패킷(Packet)을 교환할 수 있게 된다.Accordingly, the host provided with the configuration parameter can exchange packets with other servers in the network.

그리고, 각 클라이언트들은 DHCP 서버와 직접적(Direct)으로 통신하도록 이루어져 있으나, 여러 가지 제약 사항으로 인하여 릴레이 에이전트를 통해서 DHCP 서버와의 DHCP 요구(Request) 및 DHCP 응답(Reply)을 송수신할 수 있다.And, each client is configured to communicate directly with the DHCP server (Direct), but due to various limitations can send and receive DHCP requests (Reply) and DHCP response with the DHCP server through the relay agent.

여기서, 해당 릴레이 에이전트의 가장 큰 역할은 상기 DHCP 서버에서 여러 구성 파라미터들을 할당하는데, 단 게이트웨이에 대한 값만을 부여하지 않고 이를 해당 릴레이 에이전트에서 담당한다.Here, the biggest role of the relay agent is to assign various configuration parameters in the DHCP server, but the relay agent is responsible for not assigning only the value for the gateway.

만약, 상기 릴레이 에이전트가 없는 경우에는 DHCP 요구의 어드레스 필드(Field; giaddr)의 값이 '0'으로 세팅(Setting)되어 상기 DHCP 서버는 클라이언트를 로컬 망(Local Network)에 있는 것으로 판단하고 해당 로컬 망에 브로트캐스트(Broadcast)하거나 클라이언트의 하드웨어 어드레스(Hardware Address) 또는 네트워크 어드레스(Network Address)로 DHCP 응답을 전송해 준다.If there is no relay agent, the value of the address field (giaddr) of the DHCP request is set to '0' so that the DHCP server determines that the client is in the local network and the corresponding local It broadcasts the network to the network or sends a DHCP response to the client's hardware address or network address.

반면에, 상기 릴레이 에이전트가 있는 경우에는 클라이언트로부터 수신받은 DHCP 요구의 어드레스 필드(giaddr)에 상기 릴레이 에이전트의 어드레스 값을 세팅하여 다시 상기 DHCP 서버로 전송하면 해당 세팅된 어드레스 값을 수신한 DHCP 서버는 클라이언트에게 응답 메시지를 전송할 때에 어드레스 필드(giaddr)에 명시되어 있는 주소로 전송하며, 해당 응답 메시지를 수신한 릴레이 에이전트는 다시 클라이언트로 전송하게 된다.On the other hand, when there is the relay agent, if the address value of the relay agent (giaddr) received from the client sets the relay agent address value and transmits it to the DHCP server again, the DHCP server receiving the set address value When a response message is sent to the client, it is sent to the address specified in the address field (giaddr), and the relay agent receiving the response message is sent back to the client.

상술한 바와 같이 어드레스를 할당받은 클라이언트는 어드레스 필드(giaddr)에 명시된 값을 게이트웨이로 삼아 외부 망과의 패킷 전송을 수행할 수 있게 된다.As described above, the client assigned the address can use the value specified in the address field giaddr as a gateway to perform packet transmission with the external network.

그러면, 먼저 릴레이 에이전트가 없는 경우의 DHCP 인터네트워킹 시스템의 구성을 살펴보면, 도 1에 도시된 바와 같이, DHCP 클라이언트(11)와 DHCP 서버(12)로 이루어져 있다.Then, the configuration of the DHCP internetworking system without a relay agent first, as shown in Figure 1, consists of a DHCP client 11 and a DHCP server 12.

그리고, 도 1에 도시된 바와 같이 구성된 DHCP 인터네트워킹 시스템의 동작을 살펴보면, DHCP 클라이언트(11)는 릴레이 에이전트가 없으므로 DHCP 서버(12)와의 직접적으로 접속하여 DHCP 요구 및 DHCP 응답을 송수신한다.In addition, referring to the operation of the DHCP internetworking system configured as shown in FIG. 1, since the DHCP client 11 does not have a relay agent, the DHCP client 11 directly connects with the DHCP server 12 to transmit and receive a DHCP request and a DHCP response.

이 때, 상기 DHCP 클라이언트(11)가 상기 DHCP 서버(12)로 전송하는 DHCP 요구의 어드레스 필드(giaddr)의 값이 '0'으로 세팅하므로, 즉 해당 어드레스 필드(giaddr)가 명시되어 있지 않으므로, 해당 DHCP 요구를 수신한 DHCP 서버(12)는 해당 DHCP 요구를 처리하여 DHCP 응답을 전송할 때, 동적으로 할당한 IP 어드레스를 다시 상기 DHCP 클라이언트(11)로 전송하기 위해서 DHCP 요구에 명시되어 있는 클라이언트의 네트워크 주소 또는 하드웨어 어드레스로 DHCP 응답을 전송하거나, 상기 DHCP 클라이언트(11)가 로컬 망에 있는 것으로 판단하고 해당 로컬 망에 DHCP 요구를 브로트캐스트해 준다.At this time, since the value of the address field giaddr of the DHCP request transmitted by the DHCP client 11 to the DHCP server 12 is set to '0', that is, since the address field giaddr is not specified, Upon receiving the DHCP request, the DHCP server 12 processes the DHCP request and transmits a DHCP response. Then, the DHCP server 12 transmits the dynamically allocated IP address to the DHCP client 11 again. It transmits a DHCP response to a network address or a hardware address, or determines that the DHCP client 11 is in a local network and broadcasts a DHCP request to the local network.

여기서, 어드레스 필드(giaddr)는 그대로 '0'으로 세팅되어 있으므로, DHCP 응답을 수신한 DHCP 클라이언트(11)는 게이트웨이 값을 얻을 수 없어, 즉 게이트웨이의 부재로 외부 망과 통신을 수행할 수 없다.Here, since the address field giaddr is set to '0' as it is, the DHCP client 11 which receives the DHCP response cannot obtain the gateway value, that is, cannot communicate with the external network in the absence of the gateway.

두 번째로, 릴레이 에이전트가 있는 경우의 DHCP 인터네트워킹 시스템의 구성을 살펴보면, 도 2에 도시된 바와 같이, DHCP 클라이언트(13)와, 릴레이 에이전트(14)와, DHCP 서버(15)로 이루어져 있다.Second, referring to the configuration of the DHCP internetworking system in the presence of a relay agent, as shown in FIG. 2, the DHCP client 13, the relay agent 14, and the DHCP server 15 are configured.

그리고, 도 2에 도시된 바와 같이 구성된 DHCP 인터네트워킹 시스템의 동작을 살펴보면, DHCP 클라이언트(13)가 DHCP 요구에 어드레스 필드의 값을 '0'으로 세팅하여 릴레이 에이전트(14)로 전송한다.Referring to the operation of the DHCP internetworking system configured as shown in FIG. 2, the DHCP client 13 sets the value of the address field to '0' in the DHCP request and transmits it to the relay agent 14.

이에, 상기 릴레이 에이전트(14)는 상기 게이트웨이의 부재로 클라이언트(13)로부터 수신받은 DHCP 요구의 어드레스 필드(giaddr)를 자신의 IP 어드레스로 세팅하여 DHCP 서버(15)로 포워딩(Forwarding)해 주면, 이를 수신한 DHCP 서버(15)는 동적으로 IP 어드레스를 할당하여 어드레스 필드(giaddr)에 명시되어 있는 주소로 DHCP 응답을 상기 릴레이 에이전트(14)로 전송해 준다.Accordingly, the relay agent 14 forwards to the DHCP server 15 by setting the address field giaddr of the DHCP request received from the client 13 as its IP address in the absence of the gateway. Upon receiving this, the DHCP server 15 dynamically allocates an IP address and transmits a DHCP response to the relay agent 14 at the address specified in the address field giaddr.

이에 따라, 상기 DHCP 응답을 수신한 릴레이 에이전트(14)는 다시 그대로 상기 DHCP 클라이언트(13)로 포워딩해 주며, 상기 DHCP 클라이언트(13)는 게이트웨이 값까지 부여받음으로써 외부 망과 통신을 수행할 수 있게 된다.Accordingly, the relay agent 14 receiving the DHCP response forwards the DHCP agent 13 to the DHCP client 13 as it is, and the DHCP client 13 receives the gateway value to communicate with the external network. do.

그러나, 종래의 릴레이 에이전트 없이 라우터에 DHCP 서버를 포팅하는 경우에는 DHCP 요구와 DHCP 응답을 통하여 IP 어드레스를 동적으로 할당받은 클라이언트의 게이트웨이 값을 부여하지 못하므로 클라이언트는 외부 망과 인터네트워킹을 수행할 수 없는 문제점이 있었다.However, when a DHCP server is ported to a router without a conventional relay agent, the client cannot perform internetworking with the external network because the gateway value of the client dynamically assigned an IP address cannot be given through the DHCP request and the DHCP response. There was no problem.

전술한 바와 같은 문제점을 해결하기 위한 것으로, 본 발명은 DHCP 서버를 라우터에 적용하는 경우에 RFC 1541에서 제안하고 있는 DHCP에 의해 새로운 IP 어드레스를 클라이언트에 할당할 때 RFC 1541에 정의되어 있지 않은 DHCP 서버와 게이트웨이 값을 부여해 주는 역할을 수행하는 릴레이 에이전트의 두 역할을 해당 라우터에 접목시켜 줌으로써, 해당 클라이언트에게 게이트웨이 값을 동시에 부여시켜 해당 클라이언트가 로컬 망에서 DHCP로 할당받은 IP 어드레스로 외부 망과 인터네트워킹되도록 하는데, 그 목적이 있다.In order to solve the above problems, the present invention provides a DHCP server that is not defined in RFC 1541 when a DHCP server is applied to a router when a new IP address is assigned to a client by DHCP, which is proposed in RFC 1541. By integrating the two roles of the relay agent that plays the role of assigning the gateway and the gateway value to the router, the gateway value is simultaneously given to the client and the client is internetworked with the external network using the IP address assigned by the local network to DHCP. To do that.

도 1은 종래에 릴레이 에이전트(Relay Agent)가 없는 경우의 DHCP(Dynamic Host Configuration Protocol) 인터네트워킹 시스템(Internetworking System)을 나타낸 구성 블록도.1 is a configuration block diagram showing a Dynamic Host Configuration Protocol (DHCP) Internetworking System in the case where there is no conventional Relay Agent.

도 2는 종래에 릴레이 에이전트가 있는 경우의 DHCP 인터네트워킹 시스템을 나타낸 구성 블록도.2 is a configuration block diagram showing a DHCP internetworking system when a relay agent is conventionally present.

도 3은 본 발명의 실시예에 따른 DHCP 인터네트워킹 시스템을 나타낸 구성 블록도.Figure 3 is a block diagram showing a DHCP internetworking system according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 라우터에서 DHCP 서버와 릴레이 에이전트 병합 시스템의 동작 수행 과정을 나타낸 플로우챠트.4 is a flowchart illustrating an operation of a DHCP server and a relay agent merging system in a router according to an embodiment of the present invention.

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

20 : DHCP 클라이언트(Client)20: DHCP Client

30 : 라우터(Router)30: Router

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 라우터에서 DHCP 서버와 릴레이 에이전트 병합 방법은 클라이언트로부터 DHCP 요구 패킷을 수신하여 릴레이 에이전트 모듈에서 해당 DHCP 요구 패킷의 어드레스 필드를 자신에 할당된 IP 어드레스로 세팅하는 과정과; 상기 세팅된 DHCP 요구 패킷을 DHCP 서버 모듈에서 인가받아 동적으로 IP 어드레스를 할당하여 DHCP 응답 패킷을 생성하는 과정과; 상기 DHCP 응답 패킷을 상기 릴레이 에이전트 모듈에서 인가받아 상기 클라이언트로 포워딩하여 게이트웨이 값을 부여하는 과정을 포함하여 이루어진 것을 특징으로 한다.In the router according to the embodiment of the present invention for achieving the above object, a method for merging a DHCP server and a relay agent may be configured to receive a DHCP request packet from a client and assign an address field of the corresponding DHCP request packet to the relay agent module. Setting to an IP address; Receiving the set DHCP request packet from a DHCP server module and dynamically assigning an IP address to generate a DHCP response packet; And receiving the DHCP response packet from the relay agent module and forwarding the DHCP response packet to the client.

다르게는, 본 발명의 실시예에 따른 라우터에서 DHCP 서버와 릴레이 에이전트 병합 방법은 상기 클라이언트에서 상기 릴레이 에이전트 모듈로부터 수신되는 DHCP 응답 패킷에 따라 게이트웨이 값을 할당받아 외부 망과 인터네트워킹을 수행하는 과정을 더 포함하여 이루어진 것을 특징으로 한다. 이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.Alternatively, the method for merging a DHCP server and a relay agent in a router according to an embodiment of the present invention performs a process of performing internetworking with an external network by allocating a gateway value according to a DHCP response packet received from the relay agent module at the client. Characterized in that further comprises. Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 실시예에 따른 DHCP 인터네트워킹 시스템은 도 3에 도시한 바와 같이, DHCP 클라이언트(20)와 라우터(30)로 이루어지는데, 해당 라우터(30)가 DHCP 서버 소프트웨어(Software) 동작을 수행하여 해당 DHCP 클라이언트(20)로부터 DHCP 요구를 수신해서 DHCP 서버 모듈(Module)로 넘겨주기 전에 DHCP 요구의 어드레스 필드(giaddr)를 라우터 어드레스로 세팅한 후에 해당 DHCP 서버 모듈로 플로우(Flow)를 넘겨주며, 이에 해당 DHCP 클라이언트(20)로 송출할 DHCP 응답을 전송하는 경우에 릴레이 에이전트가 존재하는 경우로 간주하여 해당 DHCP 클라이언트로부터 수신받은 DHCP 요구의 어드레스 필드(giaddr)에 명시되어 있는 어드레스로 전송하게 하고 이를 수신한 해당 라우터(30)에서 다시 해당 DHCP 클라이언트(20)로 전송하게 하며, 이에 따라 어드레스를 할당받은 DHCP 클라이언트(20)는 어드레스 필드(giaddr)에 명시된 값, 즉 DHCP 클라이언트(20)와 연결된 라우터(30)를 게이트웨이로 삼아 외부 망과 패킷 전송을 수행하도록 이루어진다.DHCP internetworking system according to an embodiment of the present invention, as shown in Figure 3, consists of a DHCP client 20 and a router 30, the router 30 performs a DHCP server software (Software) operation Before receiving a DHCP request from the DHCP client 20 and passing it to the DHCP server module, the flow field is set to the router address after setting the address field (giaddr) of the DHCP request to the router address. In case of transmitting a DHCP response to be sent to the DHCP client 20, the relay agent is considered to exist and transmitted to the address specified in the address field (giaddr) of the DHCP request received from the DHCP client. Received by the corresponding router 30 to be sent back to the DHCP client 20, according to the DHCP client (address assigned) 20 is configured to perform packet transmission with an external network using a value specified in an address field giaddr, that is, a router 30 connected to the DHCP client 20 as a gateway.

본 발명의 실시예에 따른 라우터에서 DHCP 서버와 릴레이 에이전트 병합 시스템의 동작을 도 4의 플로우챠트를 참고하여 설명하면 다음과 같다.The operation of the DHCP server and the relay agent merging system in the router according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 4 as follows.

먼저, DHCP 클라이언트(20)는 라우터(30)를 DHCP 서버로만 인식하고 DHCP 요구를 전송하기만 하는데, 즉 IP 계층(Layer) 내에 DHCP 요구 패킷의 어드레스 필드(giaddr)의 값을 '0'으로 세팅시켜 전송해 준다.First, the DHCP client 20 only recognizes the router 30 as a DHCP server and transmits a DHCP request, that is, sets the value of the address field giaddr of the DHCP request packet to '0' in the IP layer. Send it.

그리고, 상기 라우터(30)는 상기 DHCP 클라이언트(20)로부터 수신되는 DHCP 요구 패킷을 DHCP 서버 모듈로 넘겨주기 전에 해당 DHCP 요구 패킷의 어드레스 필드(giaddr)의 값을 상기 라우터(30) 자신에 할당된 IP 어드레스로 세팅시켜 주는 모듈, 즉 전송 계층(Transport Layer) 내에 릴레이 에이전트 모듈을 포함하고 있는데, 즉 상기 라우터(30)는 상기 DHCP 클라이언트(20)로부터 DHCP 요구 패킷을 수신하며(단계 S1), 해당 수신한 DHCP 요구 패킷을 해당 릴레이 에이전트 모듈에 인가해 준다.The router 30 assigns the value of the address field giaddr of the DHCP request packet to the router 30 itself before passing the DHCP request packet received from the DHCP client 20 to the DHCP server module. A relay agent module is included in a module configured to set an IP address, that is, a transport layer. That is, the router 30 receives a DHCP request packet from the DHCP client 20 (step S1). Authorizes the received DHCP request packet to the corresponding relay agent module.

이에, 상기 릴레이 에이전트 모듈은 상기 수신한 DHCP 요구 패킷의 어드레스 필드(giaddr)의 값을 상기 라우터(30) 자신에 할당된 IP 어드레스로 세팅한 후(단계 S2), 해당 세팅된 DHCP 요구 패킷을 상기 라우터(30) 내의 DHCP 서버 모듈로 인가해 준다.Accordingly, the relay agent module sets the value of the address field giaddr of the received DHCP request packet to the IP address assigned to the router 30 itself (step S2), and sets the corresponding DHCP request packet. Authorized by the DHCP server module in the router (30).

그러면, 상기 DHCP 서버 모듈에서는 상기 릴레이 에이전트 모듈로부터 수신받은 DHCP 요구 패킷을 처리하는데, 동적으로 IP 어드레스를 할당하여 DHCP 응답 패킷을 생성시켜 해당 어드레스 필드(giaddr)에 명시되어 있는 어드레스, 즉 상기 릴레이 에이전트 모듈로 전송해 준다.Then, the DHCP server module processes the DHCP request packet received from the relay agent module. The DHCP server module dynamically allocates an IP address to generate a DHCP response packet, that is, the address specified in the corresponding address field giaddr, that is, the relay agent. Send it to the module.

다시 말해서, 상기 라우터(30)가 DHCP 응답 패킷을 상기 DHCP 클라이언트(20)에게 전송하려 할 때, 상기 DHCP 클라이언트(20)로부터 DHCP 요구 패킷을 직접 수신한 것이 아니라 상기 릴레이 에이전트 모듈로부터 수신한 것으로 인식함으로써, 상기 동적으로 할당한 IP 어드레스를 다시 상기 DHCP 클라이언트(20)로 전송하기 위해서는 상기 DHCP 응답 패킷을 상기 DHCP 클라이언트(20)의 네트워크 주소나 하드웨어 어드레스로 또는 로컬 망에 브로트캐스트해 주는 것이 아니라, 상기 어드레스 필드(giaddr)에 명시되어 있는 어드레스, 즉 상기 릴레이 에이전트 모듈로 전송해 준다(단계 S3).In other words, when the router 30 attempts to send a DHCP response packet to the DHCP client 20, the router 30 recognizes that the DHCP request packet is received from the relay agent module instead of directly receiving the DHCP request packet from the DHCP client 20. In order to transmit the dynamically allocated IP address to the DHCP client 20 again, the DHCP response packet is not broadcasted to the network address or hardware address of the DHCP client 20 or to the local network. The address specified in the address field giaddr is transmitted to the relay agent module (step S3).

이에 따라, 상기 DHCP 응답 패킷을 수신한 릴레이 에이전트 모듈은 다시 그대로 상기 DHCP 클라이언트(20)로 포워딩해 준다(단계 S4).Accordingly, the relay agent module receiving the DHCP response packet forwards the DHCP agent 20 to the DHCP client 20 as it is (step S4).

결과적으로, 상기 라우터(30)로부터 DHCP 응답 패킷을 수신한 상기 DHCP 클라이언트(20)는 자신의 IP 어드레스 및 필요한 구성 파라미터뿐만 아니라 게이트웨이 값까지 할당받아 로컬 망에서 할당받은 IP 어드레스로 외부 망과 인터네트워킹을 수행할 수 있게 된다.As a result, the DHCP client 20 receiving the DHCP response packet from the router 30 receives the gateway value as well as its own IP address and necessary configuration parameters, and internetworks with the external network using the IP address assigned from the local network. Will be able to perform

이상과 같이, 본 발명에 의해 라우터에 DHCP 서버와 릴레이 에이전트를 병합해 줌으로써, 릴레이 에이전트가 없는 경우에 게이트웨이 값의 부재로 인한 로컬 네트워크에서 IP 어드레스를 할당받은 DHCP 클라이언트가 외부 네트워크와 통신을 수행할 수 있도록 해 준다.As described above, by merging a DHCP server and a relay agent in a router according to the present invention, in the absence of a relay agent, a DHCP client assigned an IP address in a local network due to the absence of a gateway value can communicate with an external network. To help.

Claims (2)

클라이언트로부터 DHCP 요구 패킷을 수신하여 릴레이 에이전트 모듈에서 해당 DHCP 요구 패킷의 어드레스 필드를 자신에 할당된 IP 어드레스로 세팅하는 과정과;Receiving a DHCP request packet from a client and setting, in the relay agent module, an address field of the corresponding DHCP request packet to an IP address assigned thereto; 상기 세팅된 DHCP 요구 패킷을 DHCP 서버 모듈에서 인가받아 동적으로 IP 어드레스를 할당하여 DHCP 응답 패킷을 생성하는 과정과;Receiving the set DHCP request packet from a DHCP server module and dynamically assigning an IP address to generate a DHCP response packet; 상기 DHCP 응답 패킷을 상기 릴레이 에이전트 모듈에서 인가받아 상기 클라이언트로 포워딩하여 게이트웨이 값을 부여하는 과정을 포함하여 이루어진 것을 특징으로 하는 라우터에서 디에이취씨피 서버와 릴레이 에이전트 병합 방법.And receiving the DHCP response packet from the relay agent module and forwarding the DHCP response packet to the client to give a gateway value. 제1항에 있어서,The method of claim 1, 상기 클라이언트에서 상기 릴레이 에이전트 모듈로부터 수신되는 DHCP 응답 패킷에 따라 게이트웨이 값을 할당받아 외부 망과 인터네트워킹을 수행하는 과정을 더 포함하여 이루어진 것을 특징으로 하는 라우터에서 디에이취씨피 서버와 릴레이 에이전트 병합 방법.The method of merging a DC server and a relay agent in a router further comprising the step of performing an internetwork with an external network by receiving a gateway value according to a DHCP response packet received from the relay agent module at the client.
KR1019990046456A 1999-10-25 1999-10-25 Method of Merging DHCP Server with Relay Agent in the Router KR20010038481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990046456A KR20010038481A (en) 1999-10-25 1999-10-25 Method of Merging DHCP Server with Relay Agent in the Router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990046456A KR20010038481A (en) 1999-10-25 1999-10-25 Method of Merging DHCP Server with Relay Agent in the Router

Publications (1)

Publication Number Publication Date
KR20010038481A true KR20010038481A (en) 2001-05-15

Family

ID=19616847

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990046456A KR20010038481A (en) 1999-10-25 1999-10-25 Method of Merging DHCP Server with Relay Agent in the Router

Country Status (1)

Country Link
KR (1) KR20010038481A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100501971B1 (en) * 2001-12-27 2005-07-20 후지제롯쿠스 가부시끼가이샤 Method for assigning setting information for connection to external network
KR100713078B1 (en) * 2005-05-31 2007-04-30 하나로텔레콤 주식회사 System for managing concentratedly a local dhcp server with a hfc subscriber managing sever and method thereof
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
EP2048858A1 (en) * 2007-10-12 2009-04-15 PacketFront Systems AB Configuration of routers for DHCP service requests
US8059558B2 (en) 2007-03-22 2011-11-15 Packetfront International Ab Configuration preprocessor language
US8326108B2 (en) 2006-12-06 2012-12-04 Genexis Holding B.V. Modular network connection equipment
US8437357B2 (en) 2007-05-29 2013-05-07 Packetfront Network Products Ab Method of connecting VLAN systems to other networks via a router
US8891960B2 (en) 2007-10-12 2014-11-18 Packetfront Systems Ab Optical data communications
WO2016202080A1 (en) * 2015-06-15 2016-12-22 中兴通讯股份有限公司 Method and device for acquiring address

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100501971B1 (en) * 2001-12-27 2005-07-20 후지제롯쿠스 가부시끼가이샤 Method for assigning setting information for connection to external network
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
KR100713078B1 (en) * 2005-05-31 2007-04-30 하나로텔레콤 주식회사 System for managing concentratedly a local dhcp server with a hfc subscriber managing sever and method thereof
US8326108B2 (en) 2006-12-06 2012-12-04 Genexis Holding B.V. Modular network connection equipment
US8059558B2 (en) 2007-03-22 2011-11-15 Packetfront International Ab Configuration preprocessor language
US8437357B2 (en) 2007-05-29 2013-05-07 Packetfront Network Products Ab Method of connecting VLAN systems to other networks via a router
EP2048858A1 (en) * 2007-10-12 2009-04-15 PacketFront Systems AB Configuration of routers for DHCP service requests
WO2009047215A1 (en) * 2007-10-12 2009-04-16 Packetfront Systems Ab Configuration of routers for dhcp service requests
US8543674B2 (en) 2007-10-12 2013-09-24 Packetfront Network Products Ab Configuration of routers for DHCP service requests
US8891960B2 (en) 2007-10-12 2014-11-18 Packetfront Systems Ab Optical data communications
WO2016202080A1 (en) * 2015-06-15 2016-12-22 中兴通讯股份有限公司 Method and device for acquiring address

Similar Documents

Publication Publication Date Title
US7272650B2 (en) Communication protocols operable through network address translation (NAT) type devices
JP3574372B2 (en) DNS server, terminal and communication system
US8031716B2 (en) Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US5854901A (en) Method and apparatus for serverless internet protocol address discovery using source address of broadcast or unicast packet
EP1773013B1 (en) Communicating method between IPv4 terminal and IPv6 terminal and IPv4-IPv6 converting apparatus
US8130671B2 (en) Method and system for establishing bidirectional tunnel
US20080304501A1 (en) Tunneling service method and system
US20040153858A1 (en) Direct peer-to-peer transmission protocol between two virtual networks
US20030043781A1 (en) Method and system for dynamically assigning IP addresses in wireless networks
JP2005503075A (en) Addressing method for wireless mobile clients
KR20000062144A (en) Mobile-TCP and method of establishing and maintaining a mobile-TCP connection
US9413590B2 (en) Method for management of a secured transfer session through an address translation device, corresponding server and computer program
JP3344238B2 (en) IPv4-IPv6 communication method and IPv4-IPv6 translation device
KR20010038481A (en) Method of Merging DHCP Server with Relay Agent in the Router
JPH1117726A (en) Connection controller for ip network with built-in dns function
WO2013076995A1 (en) Network system and security device
JP2004128906A (en) Router
GB2403627A (en) Communication through network address translation (nat) devices
JP2011030252A (en) Communication system, communication method, address distribution system, address distribution method, and communication terminal

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid