[go: up one dir, main page]

KR100520040B1 - Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server - Google Patents

Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server Download PDF

Info

Publication number
KR100520040B1
KR100520040B1 KR10-2003-0011893A KR20030011893A KR100520040B1 KR 100520040 B1 KR100520040 B1 KR 100520040B1 KR 20030011893 A KR20030011893 A KR 20030011893A KR 100520040 B1 KR100520040 B1 KR 100520040B1
Authority
KR
South Korea
Prior art keywords
address
subnet
dhcp server
mobile node
current
Prior art date
Application number
KR10-2003-0011893A
Other languages
Korean (ko)
Other versions
KR20040076509A (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-2003-0011893A priority Critical patent/KR100520040B1/en
Publication of KR20040076509A publication Critical patent/KR20040076509A/en
Application granted granted Critical
Publication of KR100520040B1 publication Critical patent/KR100520040B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/04Registration at HLR or HSS [Home Subscriber Server]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

본 발명은, 특정 이동 노드가 무선으로 접속하는 무선랜 AP와, DHCP 서버를 구비한 특정 서브넷, 및 HA를 포함하는 이동 IP 네트워크에서 상기 특정 이동 노드가 속한 현재 서브넷이 이전 서브넷과 다른지를 상기 DHCP 서버의 IP 주소를 확인하여 알아내는 방법으로서, 상기 특정 이동 노드가 접속하는 AP의 MAC 주소의 변화를 감시하는 제1 단계와, 상기 AP의 MAC 주소가 변경되었을 때, 현재 서브넷에 FA가 없을 경우, 상기 현재 서브넷의 DHCP 서버의 IP 주소를 확인하여, 상기 현재 서브넷의 DHCP 서버의 IP 주소와 이전 DHCP 서버의 IP 주소가 다를 경우, 서브넷이 변경되었다고 판단하는 제2 단계와, 서브넷이 변경되었다고 판단하면, 상기 현재 서브넷의 DHCP 서버로부터 IP 주소를 할당받는 제3 단계와, 상기 할당받은 IP 주소를 상기 HA에 등록하는 제4 단계를 구비한다.The present invention relates to a wireless LAN AP to which a specific mobile node wirelessly connects, a specific subnet provided with a DHCP server, and a current subnet to which the specific mobile node belongs in a mobile IP network including HA differs from the previous subnet. A method of identifying and checking an IP address of a server, the method comprising: a first step of monitoring a change in a MAC address of an AP to which a specific mobile node accesses; and when there is no FA in the current subnet when the MAC address of the AP is changed Checking the IP address of the DHCP server of the current subnet, and if the IP address of the DHCP server of the current subnet and the IP address of the previous DHCP server are different, determining that the subnet has been changed, and determining that the subnet has been changed And a third step of assigning an IP address from a DHCP server of the current subnet, and a fourth step of registering the assigned IP address with the HA.

Description

이동 IP 네트워크에서 DHCP 서버를 이용하여 서브넷 변경을 확인하는 방법{Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server}Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server}

본 발명은 이동 IP(Internet Protocol) 네트워크에서 DHCP 서버(Dynamic Host Configuration Protocol server)를 이용하여 서브넷(subnet) 변경을 확인하는 방법에 관한 것으로, 특히 FA(Foreign Agent)가 없는 서브넷에서 이동 노드가 DHCP 서버의 IP 주소를 확인하여 서브넷이 변경되었는지를 확인하는 방법에 관한 것이다.The present invention relates to a method for checking a subnet change using a Dynamic Host Configuration Protocol (DHCP) server in a mobile Internet Protocol (IP) network. In particular, a mobile node may be configured to have a DHCP node in a subnet without a FA (Foreign Agent). It's about how to check if a subnet has changed by checking the server's IP address.

IETF(Internet Engineering Task Force)에서 제공하는 RFC(Request for Comments) 2002 문서에 기술된 바와 같이, 이동 IP 네트워크는 이동 노드(mobile node), HA(Home Agent)와 더불어 FA를 기본 구성으로 한다. HA는 전체 이동 IP 네트워크에서 1개, FA는 서브넷당 1개씩의 구성이 기본 구성이다.As described in the Request for Comments (RFC) 2002 document provided by the Internet Engineering Task Force (IETF), a mobile IP network is based on a FA with a mobile node and a home agent (HA). The default configuration is one HA for the entire mobile IP network and one for each FA.

도 1은 종래의 이동 IP 네트워크에서 이동 노드가 현재 서브넷을 인식하고 위치 등록하는 절차를 나타낸 도면이다.동 도면에 있어서, 이동 노드(1)는 초기 접속 또는 서브넷이 변경되었을 때에 원격지의 타겟 노드와 통신을 하기 위해서 자신의 현재 위치를 HA(3)에 등록하는 위치등록절차를 수행하여야 한다.1 is a diagram illustrating a procedure in which a mobile node recognizes a current subnet and registers a location in a conventional mobile IP network. In the same diagram, a mobile node 1 is connected to a target node at a remote location when an initial connection or a subnet is changed. In order to communicate, the location registration procedure for registering its current location with the HA (3) must be performed.

종래의 이동 IP 네트워크에서 이동 노드(1)는 서브넷이 변경되었는지를 FA(2)의 에이전트 선전 메시지(agent advertisement message) 정보로부터 알아낸다. 이동 노드(1)는 에이전트 선전 메시지를 획득하기 위해 에이전트 선전 메시지를 요구하는 에이전트 솔리서테이션 메시지(agent solicitation message)를 FA(2)로 전송(S11)하여, FA(2)로부터 에이전트 선전 메시지를 제공받는다(S12). 에이전트 선전 메시지에는 FA(2)의 IP 주소가 들어 있다. 이동 노드(1)는 FA(2)로부터 제공받은 에이전트 선전 메시지로부터 현재위치정보인 FA(2)의 IP 주소를 파악하고, FA(2)의 IP 주소와 자체 저장된 HA(3)의 주소(또는, 서브넷이 변경된 경우에는 이전 서브넷에서의 FA의 IP 주소)를 비교하여, 서브넷이 변경되었는지를 확인한다. 서브넷이 변경되었다면 등록 절차를 수행한다(S13).In the conventional mobile IP network, the mobile node 1 finds out from the agent advertisement message information of the FA 2 whether the subnet has changed. The mobile node 1 sends (S11) an agent solicitation message requesting the agent propagation message to the FA 2 in order to obtain the agent propagation message, and sends the agent propagation message from the FA 2. It is provided (S12). The agent advertisement message contains the IP address of the FA (2). The mobile node 1 grasps the IP address of the FA 2 which is the current location information from the agent propagation message provided from the FA 2, and the IP address of the FA 2 and the address of the self-stored HA 3 (or If the subnet is changed, check whether the subnet has been changed by comparing the IP address of FA in the previous subnet. If the subnet is changed, the registration process is performed (S13).

삭제delete

등록 절차는 이동 노드의 현재 위치 주소를 HA(3)에 등록하는 절차를 말한다. 이동 노드(1)의 현재 위치 주소는 FA(2)의 IP 주소를 이용하는 CoA(Care of Address) 방법과 DHCP 서버로부터 할당받은 이동 노드(1)의 IP 주소를 이용하는 Co-located CoA 방법 중 하나를 사용한다. 즉, CoA 방법에서는 이동 노드는 FA(2)의 IP 주소를 HA(3)에 등록하고, Co-CoA 방법에서는 이동 노드(1)가 DHCP 서버로부터 할당받은 이동 노드(1)의 IP 주소를 HA(3)에 등록한다.The registration procedure refers to a procedure of registering the current location address of the mobile node with the HA (3). The current location address of the mobile node 1 is one of a Care of Address (CoA) method using the IP address of the FA (2) and a Co-located CoA method using the IP address of the mobile node (1) assigned from a DHCP server. use. That is, in the CoA method, the mobile node registers the IP address of the FA (2) to the HA (3), and in the Co-CoA method, the mobile node 1 registers the IP address of the mobile node (1) assigned by the DHCP server to the HA Register in (3).

여기서 위치 등록 방법에 있어 FA(2)의 IP 주소를 이용한 CoA 방법을 사용한다고 하면, 이동 노드(1)는 위치등록 요구 메시지에 FA(2)의 IP 주소를 실어 FA(2)를 통해 HA(3)에 전달한다(S14, S15).HA(3)는 수신된 이동 노드(1)의 위치 정보로 자체 저장된 이동노드 위치관리 테이블을 업데이트시킨다(S16).HA(3)는 이동 노드(1)의 현재 위치 주소를 등록시킨 후, 위치등록 완료 사실을 알리는 응답 메시지를 이동 노드(1)로 FA(2)를 통해 전달한다(S17, S18).이 후, 이동 노드(1)가 FA(2)로부터 제공되는 응답 메시지를 수신하면 위치 등록 절차는 끝난다.In this case, if the CoA method using the IP address of the FA 2 is used in the location registration method, the mobile node 1 carries the IP address of the FA 2 in the location registration request message and transmits the HA through the FA (2). (3) (S14, S15). The HA (3) updates the self-stored mobile node location management table with the received location information of the mobile node (1) (S16). The HA (3) updates the mobile node (1). After registering the current location address of), a response message informing that the location registration is completed is transmitted to the mobile node 1 through the FA 2 (S17, S18). Then, the mobile node 1 receives the FA ( The location registration procedure ends when the response message provided from 2) is received.

상술한 바와 같이 위치등록 절차가 끝나면, 이동 노드(1)는 도 2에 도시된 바와 같이 원격지에 있는 타겟 노드(4)와 패킷 전송이 가능해진다.도 2는 종래의 이동 IP 네트워크에서 데이터 통신을 나타낸 도면으로, 이동 노드(1)가 제1 서브넷(sub1)에서 제2 서브넷(sub2)으로 이동함에 따라 상기 도 1에 도시된 과정을 수행한 후의 데이터 통신을 나타낸 것이다.After the location registration procedure as described above, the mobile node 1 is able to transmit packets with the target node 4 located at a remote location as shown in FIG. 2. FIG. 2 illustrates data communication in a conventional mobile IP network. As shown in FIG. 1, data communication is performed after the mobile node 1 performs the process illustrated in FIG. 1 as the mobile node 1 moves from the first subnet sub1 to the second subnet sub2.

먼저, 이동 노드(1)에서 타겟 노드(4)로 전송되는 패킷에 있어서, IP 소스 주소로서 이동 노드(1)의 홈 네트워크 주소(HA(3)가 있는 서브넷에 속한 IP 주소)가 기록되고, IP 타겟 주소로서 타겟 노드(4)의 주소가 기록됨에 따라 해당 패킷이 이동 노드(1)에서 타겟 노드(4)로 인터넷을 통해 바로 전송된다.First, in the packet transmitted from the mobile node 1 to the target node 4, the home network address of the mobile node 1 (IP address belonging to the subnet where the HA 3 is located) is recorded as an IP source address, As the address of the target node 4 is recorded as the IP target address, the corresponding packet is transmitted directly from the mobile node 1 to the target node 4 via the Internet.

반면, 타겟 노드(4)에서 이동 노드(1)로 전달되는 패킷에 있어서, IP 소스 주소로서 타겟 노드(4)의 IP 주소가 기록되고, IP 타겟 주소로서 이동 노드(1)의 홈 네트워크 주소가 기록됨에 따라 해당 패킷이 HA(3)에 도착된 후, HA(3)의 위치 관리 테이블에 기록된 이동 노드(1)의 CoA 주소로 터널링(Tunneling)되어 전달된다. 이때, 상기 COA 주소는 FA(2)의 IP 주소이므로, 그 해당 패킷은 FA(2)로 터널링된 후, FA(2)에서 디-터널링(de-tunneling)되어 이동 노드(1)로 전달된다.On the other hand, in the packet transmitted from the target node 4 to the mobile node 1, the IP address of the target node 4 is recorded as the IP source address, and the home network address of the mobile node 1 is recorded as the IP target address. As recorded, the packet arrives at the HA 3, and is then tunneled to the CoA address of the mobile node 1 recorded in the location management table of the HA 3. In this case, since the COA address is an IP address of the FA 2, the corresponding packet is tunneled to the FA 2, and then de-tunneled from the FA 2 to the mobile node 1. .

상술한 바와 같이, 종래의 이동 IP 네트워크는 FA의 IP 주소를 이용하여 서브넷 변경을 확인하여 위치 등록 절차를 수행한다.As described above, the conventional mobile IP network checks the subnet change using the IP address of the FA and performs the location registration procedure.

그러나, 이와 같은 종래의 이동 IP 네트워크는 FA의 에이전트 선전 메시지로부터 서브넷 변경을 확인하여야 하기 때문에, 서브넷마다 FA를 설치해야 한다. 한편, 인터넷에 다수의 서브넷이 각기 접속되어 있고, 그 각 서브넷마다 이미 DHCP 서버가 설치되어 있다. 반면, 이동 IP 네트워크가 널리 구축되지 않아서 FA가 설치된 서브넷은 매우 작다.However, such a conventional mobile IP network has to check the subnet change from the agent advertisement message of the FA, and therefore, a FA must be installed for each subnet. On the other hand, many subnets are connected to the Internet, and DHCP servers are already installed in each subnet. On the other hand, because the mobile IP network is not widely established, the subnet where the FA is installed is very small.

따라서, 종래의 이동 IP 네트워크 방법에서는 각 서브넷마다 FA를 설치해야 하기 때문에, 그 FA 설치에 따른 비용이 많이 소요되고 이미 설치된 DHCP 서버를 효율적으로 이용하지 못하는 문제점이 있다.Therefore, in the conventional mobile IP network method, since each FA needs to be installed in each subnet, there is a problem in that the FA is expensive and the DHCP server that is already installed cannot be efficiently used.

본 발명은 상술한 종래 기술의 문제점을 해결하기 위하여 안출한 것으로, FA가 없는 서브넷에 있어서, 이동 노드가 DHCP 서버 주소를 확인하여 서브넷 변경을 확인하고, 서브넷이 변경되었다면 DHCP 서버로부터 IP 주소를 할당받아 할당받은 IP 주소를 HA에 등록하는 데 그 목적이 있다.이와 같은 목적을 달성하기 위한 본 발명은, 특정 이동 노드가 무선으로 접속하는 무선랜(Wireless LAN) AP(Access Point)와, DHCP 서버를 구비한 특정 서브넷, 및 HA를 포함하는 이동 IP 네트워크에서 상기 특정 이동 노드가 속한 현재 서브넷이 이전 서브넷과 다른지를 상기 DHCP 서버의 IP 주소를 확인하여 알아내는 방법으로서, 상기 특정 이동 노드가 접속하는 AP의 MAC(Media Access Control) 주소의 변화를 감시하는 제1 단계와, 상기 AP의 MAC 주소가 변경되었을 때, 현재 서브넷에 FA가 없을 경우 상기 현재 서브넷의 DHCP 서버의 주소를 확인하여 상기 현재 서브넷의 DHCP 서버의 IP 주소와 이전 DHCP 서버의 IP 주소(이전까지 접속하고 있던 서브넷의 DHCP 서버의 IP 주소)를 비교하여 상기 현재 서브넷의 DHCP 서버의 IP 주소와 상기 이전 DHCP 서버의 IP 주소가 다를 경우, 서브넷이 변경되었다고 판단하는 제2 단계와, 서브넷이 변경되었다고 판단하면, 상기 현재 서브넷의 DHCP 서버로부터 IP 주소를 할당받는 제3 단계와, 상기 할당받은 IP 주소를 상기 HA에 등록하는 제4 단계를 구비한다.The present invention has been made to solve the above-mentioned problems of the prior art, in a subnet without FA, the mobile node checks the DHCP server address to confirm the subnet change, if the subnet is changed, assigns an IP address from the DHCP server An object of the present invention is to register a received IP address in the HA. The present invention provides a wireless LAN (Access Point) and a DHCP server to which a specific mobile node wirelessly connects. A method for determining whether a current subnet to which a specific mobile node belongs to is different from a previous subnet in a mobile IP network including a specific subnet and HA, wherein the specific mobile node accesses the IP address of the DHCP server. A first step of monitoring a change in an AP's MAC (Media Access Control) address, and when there is no FA in the current subnet when the AP's MAC address is changed Check the address of the DHCP server of the current subnet and compare the IP address of the DHCP server of the current subnet with the IP address of the previous DHCP server (the IP address of the DHCP server of the previously connected subnet). A second step of determining that the subnet has changed when the IP address of the IP address is different from that of the previous DHCP server, and a third step of receiving an IP address from the DHCP server of the current subnet when determining that the subnet has been changed; And a fourth step of registering the assigned IP address with the HA.

삭제delete

삭제delete

이하에서 상술한 본 발명의 실시예를 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다. 이때, 본 발명이 적용되는 서브넷에는 FA가 없다.Hereinafter, exemplary embodiments of the present invention described above will be described in detail with reference to the accompanying drawings. At this time, there is no FA in the subnet to which the present invention is applied.

삭제delete

도 3은 본 발명의 실시예에 따른 이동 노드가 현재 서브넷을 인식하는 과정을 나타낸 도면이다.3 is a diagram illustrating a process of recognizing a current subnet by a mobile node according to an embodiment of the present invention.

동 도면에 있어서, 사용자가 이동 노드(10)의 전원을 온(S301)시키면, 이동 노드(10)는 자신이 위치한 현재 서브넷의 정보를 확인하기 위해 FA의 에이전트 선전 메시지를 요청하는 에이전트 솔리서테이션 메시지와 DHCP 서버(20)를 찾기 위한 DHCPDISCOVER 메시지를 주변으로 방송한다(S302, S303). 이때, 상기 이동 노드(10)가 에이전트 솔리서테이션 메시지를 방송하는 것은 주변에 FA가 존재하는지를 확인하기 위해서이기도 하다. 만약, 이동 노드(10) 주변에 FA가 존재하면, 그 FA는 에이전트 솔리서테이션 메시지에 대한 응답으로 에이전트 선전 메시지를 방송한다. 반면, 본 발명은 FA가 존재하지 않는 서브넷에 대한 것이므로, FA가 존재하지 않는다고 가정한다. 따라서, 상기 이동 노드(10)가 방송한 에이전트 솔리서테이션 메시지의 수신처가 없기 때문에, 그 솔리서테이션 메시지는 사라지게 되고, DHCPDISCOVER 메시지는 DHCP 서버(20)에 수신된다.이에, DHCP 서버(20)는 DHCPDISCOVER 메시지에 대한 응답으로 DHCPOFFER 메시지를 이동 노드(10)로 전송한다(S304). 이때, DHCPOFFER 메시지에는 DHCP 서버(20)의 IP 주소 정보가 포함되어 있다.In the same figure, when the user turns on the mobile node 10 (S301), the mobile node 10 requests agent solicitation message of the FA to check the information of the current subnet in which the mobile node 10 is located. A message and a DHCPDISCOVER message for searching for a DHCP server 20 are broadcasted around (S302 and S303). At this time, the mobile node 10 broadcasts the agent solicitation message to check whether there is an FA in the vicinity. If there is a FA around the mobile node 10, the FA broadcasts the agent advertisement message in response to the agent solicitation message. On the other hand, the present invention assumes that no FA exists because it is for a subnet where no FA exists. Therefore, since there is no destination of the agent solvation message broadcasted by the mobile node 10, the solicitation message disappears, and the DHCPDISCOVER message is received by the DHCP server 20. The DHCP server 20 In response to the DHCPDISCOVER message, sends a DHCPOFFER message to the mobile node 10 (S304). At this time, the DHCPOFFER message includes the IP address information of the DHCP server 20.

삭제delete

삭제delete

삭제delete

이동 노드(10)는 DHCP 서버(20)로부터 전송된 DHCPOFFER 메시지를 수신하고, 수신된 DHCPOFFER 메시지에 포함된 DHCP 서버(20)의 IP 주소를 확인(S305)한 후, IP 주소 할당을 요구하는 신호를 DHCP 서버(20)로 전송한다(S306).DHCP 서버(20)는 이동 노드(10)로부터 전송된 IP 주소 할당 요구 메시지에 따라 이동 노드(10)에 IP 주소를 할당한다(S307).The mobile node 10 receives the DHCPOFFER message transmitted from the DHCP server 20, checks the IP address of the DHCP server 20 included in the received DHCPOFFER message (S305), and then requests a request for IP address allocation. The DHCP server 20 allocates an IP address to the mobile node 10 according to the IP address allocation request message transmitted from the mobile node 10 (S307).

이동 노드(10)는 DHCP 서버(20)로부터 할당받은 자신의 IP 주소를 위치 등록 요구 메시지에 실어 HA(30)로 전송한다(S308, S309).HA(30)는 이동 노드(10)로부터 전송된 위치등록 요구 메시지에 따라 자신이 관리하는 주소관리테이블을 업데이트시켜, 이동 노드(10)의 현재 위치 주소를 등록시킨다(S310).The mobile node 10 transmits its own IP address assigned from the DHCP server 20 to the HA 30 in a location registration request message (S308, S309). The HA 30 transmits from the mobile node 10. The address management table managed by the user is updated according to the received location registration request message, and the current location address of the mobile node 10 is registered (S310).

HA(30)는 현재위치등록 사실을 이동 노드(10)에게 응답메시지로 전송하여, 이동 노드(10)가 자신의 현재위치등록 사실을 확인할 수 있도록 한다(S311).The HA 30 transmits the current location registration fact to the mobile node 10 as a response message, so that the mobile node 10 can confirm its current location registration fact (S311).

이와 같이, 이동 노드(10)의 현재위치가 HA(30)에 등록됨으로서 이동 노드(10)는 자신이 접속된 서브넷에서 타겟 노드와 패킷 교환을 수행할 수 있다.As such, since the current location of the mobile node 10 is registered in the HA 30, the mobile node 10 may perform packet exchange with the target node in the subnet to which the mobile node 10 is connected.

도 4는 본 발명의 실시예에 따른 핸드오프된 이동 노드가 새로운 서브넷을 인식하는 과정을 나타낸 도면이다.4 is a diagram illustrating a process of recognizing a new subnet by a handoff mobile node according to an embodiment of the present invention.

동 도면에 있어서, 이동 노드(10)는 자신이 접속 중인 무선랜 AP의 MAC 주소 변경 여부를 감시하여, 자신이 접속 중인 AP가 달라지는지 여부를 감시한다(S401). 동일 서브넷 안에 무선랜 AP가 여러 개 존재하는 경우에는 무선랜 AP를 달리하여 접속하여도 서브넷이 변경되지 않는다. 하지만 접속하는 무선랜 AP가 변경되지 않으면서 서브넷이 변경될 수는 없다. 따라서 이동 노드(10)는 접속하는 AP가 달라졌을 때 서브넷이 변경되었는지를 확인한다.AP의 MAC 주소는 AP마다 서로 다르다. 또한, AP는 자신의 존재를 알리는 신호 즉, 비콘(beacon) 신호를 주기적으로 방송하는데, 그 비콘 신호에는 자신의 MAC 주소 정보가 포함되어 있다.In the figure, the mobile node 10 monitors whether or not the MAC address of the WLAN AP to which it is connected changes the AP to which it is connected (S401). If there are multiple WLAN APs in the same subnet, the subnet does not change even if the WLAN APs are connected differently. However, the subnet cannot be changed without changing the access point of the WLAN AP. Accordingly, the mobile node 10 checks whether the subnet is changed when the accessing AP is changed. The MAC address of the AP is different for each AP. In addition, the AP periodically broadcasts a signal indicating its presence, that is, a beacon signal, which includes its MAC address information.

삭제delete

이동 노드(10)는 상기 과정(S401)을 수행하여 AP의 MAC 주소가 변경되었다고 판단되면, 서브넷이 변경되었는지 확인하는 다음의 절차를 수행한다. FA(2)를 찾기 위한 에이전트 솔리서테이션 메시지 및 DHCP 서버(20)를 찾기 위한 DHCPDISCOVER 메시지를 각기 방송한다(S402, S403). 이때, 이동 노드(10)가 위치하는 서브넷에 FA(2)가 존재하면, 이동 노드(10)는 FA(2)로부터 에이전트 솔리서테이션 메시지에 대한 응답으로 에이전트 선전 메시지를 전송받고, FA가 존재하는 종래의 이동 IP 네트워크에서와 동일한 동작을 수행하여, 자신의 위치등록 및 타겟 노드와의 패킷 교환을 수행한다. 한편, 본 발명은 이동 노드(10)가 위치하는 서브넷에 FA(2)가 존재하지 않는 경우를 전제로 한다.If the mobile node 10 determines that the MAC address of the AP has been changed by performing the step S401, the mobile node 10 performs the following procedure of checking whether the subnet has been changed. The agent solution message for finding the FA 2 and the DHCPDISCOVER message for finding the DHCP server 20 are respectively broadcasted (S402 and S403). At this time, if the FA (2) is present in the subnet where the mobile node 10 is located, the mobile node 10 receives the agent propagation message in response to the agent solution message from the FA (2), the FA exists By performing the same operation as in the conventional mobile IP network, it performs its own location registration and packet exchange with the target node. Meanwhile, the present invention is based on the premise that the FA 2 does not exist in the subnet where the mobile node 10 is located.

삭제delete

즉, 이동 노드(10)가 위치하는 서브넷에 FA(2)가 존재하지 않으면, 이동 노드(10)는 DHCP 서버(20)로부터 DHCPDISCOVER 메시지의 응답 신호로서 DHCPOFFER 메시지를 전송받고, 그 DHCPOFFER 메시지에 포함된 DHCP 서버(20)의 IP 주소를 확인한다(S404, S405).That is, if the FA 2 does not exist in the subnet where the mobile node 10 is located, the mobile node 10 receives a DHCPOFFER message from the DHCP server 20 as a response signal of the DHCPDISCOVER message, and includes it in the DHCPOFFER message. Confirm the IP address of the DHCP server 20 (S404, S405).

이동 노드(10)는 확인한 DHCP 서버(20)의 IP 주소와 저장된 DHCP 서버의 IP 주소를 비교하여, 자신이 새로운 서브넷에 진입하였는지 여부를 판단한다(S406). 상기 이동 노드(10)에 저장된 DHCP 서버의 IP 주소는 이전까지 접속하고 있었던 서브넷의 DHCP 서버의 IP 주소이다.이동 노드(10)는 상기 과정(S406)을 통해 확인한 DHCP 서버(20)의 IP 주소와 저장된 DHCP 서버의 IP 주소가 같으면 동일 서브넷에 있다고 판단하고, 다르면 새로운 서브넷에 진입하였다고 판단한다(S407).The mobile node 10 compares the checked IP address of the DHCP server 20 with the IP address of the stored DHCP server, and determines whether the mobile node 10 enters a new subnet (S406). The IP address of the DHCP server stored in the mobile node 10 is the IP address of the DHCP server of the subnet that was previously connected. The mobile node 10 is the IP address of the DHCP server 20 confirmed through the process (S406). If and the IP address of the stored DHCP server is the same, it is determined that the same subnet, if different, it is determined that the new subnet entered (S407).

이동 노드(10)는 상기 판단(S407)에서, 자신의 현재 위치가 동일 서브넷에 있으면 현재위치등록을 하지 않지만, 자신의 현재 위치가 새로운 서브넷에 진입한 것이라고 판단하면 이전 DHCP 서버로부터 할당받은 IP 주소가 쓸모가 없게 되어버렸으므로, 새로운 DHCP 서버(20)로부터 새로운 IP 주소를 할당받기를 요구하는 신호를 DHCP 서버(20)로 전송한다(S408).The mobile node 10 does not register the current location if its current location is in the same subnet in step S407, but if it determines that its current location has entered a new subnet, the IP address assigned from the previous DHCP server. Has become obsolete, it transmits a signal to the DHCP server 20 requesting to be allocated a new IP address from the new DHCP server 20 (S408).

DHCP 서버(20)는 이동 노드(10)로부터 수신된 IP 주소 할당 요구 신호에 따라 이동 노드(10)에게 IP 주소를 할당한다(S409).The DHCP server 20 allocates an IP address to the mobile node 10 according to the IP address allocation request signal received from the mobile node 10 (S409).

이동 노드(10)는 DHCP 서버(20)로부터 IP 주소를 할당받으면, 할당받은 IP 주소 즉, Co-located COA를 등록요구(Registration Request) 메시지에 실어서 HA(30)로 전송한다(S410).HA(30)는 등록요구 메시지에 포함된 Co-located CoA로서 이동노드 위치관리 테이블을 갱신시켜, 이동 노드(20)의 새로운 현재 위치가 갱신되어 등록되도록 한다(S411).HA(30)는 현재위치등록과정을 마치면 응답 메시지를 이동 노드(10)로 전송한다(S412).When the mobile node 10 receives an IP address from the DHCP server 20, the mobile node 10 transmits the allocated IP address, that is, the co-located COA, to the HA 30 in a registration request message (S410). The HA 30 updates the mobile node location management table as the Co-located CoA included in the registration request message, so that the new current location of the mobile node 20 is updated and registered (S411). After completing the location registration process, a response message is transmitted to the mobile node 10 (S412).

이동 노드(10)는 HA(30)로부터 응답 메시지를 수신하면, 자신의 현재 위치가 등록되었음을 확인하게 되고, 타겟 노드와의 패킷 교환을 할 수 있게 된다. 상기 이동 노드(10)와 타겟 노드가 서로 통신하는 과정은 종래의 C0-located COA 방법을 사용하는 이동 IP 네트워크와 동일하다.도 5는 본 발명의 실시예에 따른 DHCP 서버로부터 IP 주소를 할당받아, 할당받은 IP 주소를 HA에 등록후, 데이터 패킷을 전송하는 것을 나타낸 도면이다.동 도면에 있어서, 이동 노드(10)에서 전송된 패킷은 타겟 노드로 바로 전송되고, 타겟 노드에서 전송된 패킷은 HA(30)에 전달된 후, HA(30)의 이동노드 위치관리테이블의 정보에 따라 바로 이동 노드(10)로 터널링된다. 이동 노드(10)로 터널링된 패킷은 이동 노드(10)에 의해 디-터널링된다.When the mobile node 10 receives the response message from the HA 30, the mobile node 10 confirms that its current location is registered, and can exchange packets with the target node. The process of communication between the mobile node 10 and the target node is the same as the mobile IP network using the conventional C0-located COA method. FIG. 5 is assigned an IP address from a DHCP server according to an embodiment of the present invention. In this figure, the packet transmitted from the mobile node 10 is transmitted directly to the target node, and the packet transmitted from the target node is transmitted to the target node. After being delivered to the HA 30, it is tunneled directly to the mobile node 10 according to the information of the mobile node location management table of the HA 30. Packets tunneled to the mobile node 10 are de-tunneled by the mobile node 10.

이상과 같이 설명한 본 발명의 실시예는 무선랜을 일예로 설명한 것이다. 만약, 본 발명의 실시예가 유선랜에 적용된다면, 본 발명은 무선랜에서 AP의 MAC 주소가 변경되는 것을 판단하여 이동 노드의 핸드오프를 판단하는 것과 같이, 유선랜 카드의 활성상태를 감시하는 것으로 이동 노드의 핸드오프를 판단한다.The embodiment of the present invention described above has described the WLAN as an example. If the embodiment of the present invention is applied to a wired LAN, the present invention monitors the active state of a wired LAN card, such as determining the handoff of the mobile node by determining that the MAC address of the AP is changed in the WLAN. To judge the handoff.

여기서, 유선랜의 경우에 서브넷이 변경되기 위해서는 유선랜 케이블을 뽑았다가 다시 꽂아야 하는데, 이때 랜카드가 비활성되었다가 다시 활성화된다.Here, in the case of the wired LAN, in order to change the subnet, the wired LAN cable must be unplugged and plugged back in. At this time, the LAN card is inactivated and then activated again.

이상에서 본 발명에 대한 기술사상을 첨부도면과 함께 서술하였지만 이는 본 발명의 바람직한 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술분야의 통상의 지식을 가진 자라면 누구나 본 발명의 기술사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.The technical spirit of the present invention has been described above with reference to the accompanying drawings, but this is by way of example only and not intended to limit the present invention. In addition, it is obvious that any person skilled in the art can make various modifications and imitations without departing from the scope of the technical idea of the present invention.

상술한 바와 같이 본 발명은 FA가 없는 서브넷에 있어서, 이동 노드는 DHCP 서버를 이용하여 서브넷 변경을 확인하고, DHCP 서버로부터 IP 주소를 할당받는다. 따라서, 이미 DHCP 서버가 설치된 서브넷에는 FA를 별도로 설치할 필요가 없기 때문에, 전체적인 이동 IP 네트워크의 설치 비용이 절감되면서도 이동 IP 통신 서비스를 용이하게 제공할 수 있는 효과가 있다.As described above, in the present invention, in a subnet without FA, the mobile node confirms the subnet change by using a DHCP server and receives an IP address from the DHCP server. Therefore, since the FA does not need to be separately installed in the subnet where the DHCP server is already installed, it is possible to easily provide the mobile IP communication service while reducing the overall installation cost of the mobile IP network.

도 1은 종래의 이동 IP 네트워크에서 이동 노드가 현재 서브넷을 인식하고 위치 등록하는 절차를 나타낸 도면,1 is a diagram illustrating a procedure for a mobile node to recognize a current subnet and register a location in a conventional mobile IP network;

도 2는 종래의 이동 IP 네트워크에서 데이터 통신을 나타낸 도면,2 is a diagram illustrating data communication in a conventional mobile IP network;

도 3은 본 발명의 실시예에 따른 이동 노드가 현재 서브넷을 인식하는 과정을 나타낸 도면,3 is a diagram illustrating a process of recognizing a current subnet by a mobile node according to an embodiment of the present invention;

도 4는 본 발명의 실시예에 따른 핸드오프된 이동 노드가 새로운 서브넷을 인식하는 과정을 나타낸 도면,4 is a diagram illustrating a process of recognizing a new subnet by a handoff mobile node according to an embodiment of the present invention;

도 5는 본 발명의 실시예에 따른 DHCP 서버로부터 IP 주소를 할당받아, 할당받은 IP 주소를 HA에 등록 후, 데이터 패킷을 전송하는 것을 나타낸 도면.5 is a diagram illustrating receiving an IP address from a DHCP server according to an embodiment of the present invention, registering the assigned IP address with the HA, and then transmitting a data packet.

Claims (4)

특정 이동 노드가 무선으로 접속하는 무선랜 AP와, DHCP 서버를 구비한 특정 서브넷, 및 HA를 포함하는 이동 IP 네트워크에서 상기 특정 이동 노드가 속한 현재 서브넷이 이전 서브넷과 다른지를 상기 DHCP 서버의 IP 주소를 확인하여 알아내는 방법으로서,In a mobile IP network including a WLAN AP to which a specific mobile node wirelessly connects, a specific subnet provided with a DHCP server, and HA, an IP address of the DHCP server whether the current subnet to which the specific mobile node belongs is different from the previous subnet. As a way to find out, 상기 특정 이동 노드가 접속하는 AP의 MAC 주소의 변화를 감시하는 제1 단계와,A first step of monitoring a change in a MAC address of an AP to which the specific mobile node accesses; 상기 AP의 MAC 주소가 변경되었을 때, 현재 서브넷에 FA가 없을 경우, 상기 현재 서브넷의 DHCP 서버의 IP 주소를 확인하여, 상기 현재 서브넷의 DHCP 서버의 IP 주소와 이전 DHCP 서버의 IP 주소가 다를 경우, 서브넷이 변경되었다고 판단하는 제2 단계와,When the MAC address of the AP is changed, if there is no FA in the current subnet, check the IP address of the DHCP server of the current subnet, if the IP address of the DHCP server of the current subnet and the IP address of the previous DHCP server is different , The second step of determining that the subnet has changed, 서브넷이 변경되었다고 판단하면, 상기 현재 서브넷의 DHCP 서버로부터 IP 주소를 할당받는 제3 단계와,If it is determined that the subnet has been changed, a third step of assigning an IP address from a DHCP server of the current subnet; 상기 할당받은 IP 주소를 상기 HA에 등록하는 제4 단계A fourth step of registering the allocated IP address with the HA 를 포함하는 이동 IP 네트워크에서 DHCP 서버를 이용하여 서브넷 변경을 확인하는 방법.How to check the subnet change using a DHCP server in a mobile IP network comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제2 단계의 현재 서브넷의 DHCP 서버의 IP 주소를 확인 절차는, 상기 특정 이동 노드가 DHCPDISCOVER 메시지를 방송하는 단계와,The checking of the IP address of the DHCP server of the current subnet of the second step may include: broadcasting, by the specific mobile node, a DHCPDISCOVER message; 상기 특정 이동 노드가 상기 현재 서브넷의 DHCP 서버로부터 상기 DHCPDISCOVER 메시지의 응답 메시지인 DHCPOFFER 메시지를 수신하는 단계와,Receiving, by the specific mobile node, a DHCPOFFER message which is a response message of the DHCPDISCOVER message from a DHCP server of the current subnet; 상기 특정 이동 노드가 상기 DHCPOFFER 메시지에 포함된 상기 현재 서브넷의 DHCP 서버의 IP 주소를 파악하는 단계Determining, by the specific mobile node, the IP address of the DHCP server of the current subnet included in the DHCPOFFER message. 를 포함하는 이동 IP 네트워크에서 DHCP 서버를 이용하여 서브넷 변경을 확인하는 방법.How to check the subnet change using a DHCP server in a mobile IP network comprising a. 컴퓨터에,On your computer, 특정 이동 노드가 무선으로 접속하는 무선랜 AP와, DHCP 서버를 구비한 특정 서브넷, 및 HA를 포함하는 이동 IP 네트워크에서 상기 특정 이동 노드가 속한 현재 서브넷이 이전 서브넷과 다른지를 상기 DHCP 서버의 IP 주소를 확인하여 알아내는 방법으로서,In a mobile IP network including a WLAN AP to which a specific mobile node wirelessly connects, a specific subnet provided with a DHCP server, and HA, an IP address of the DHCP server whether the current subnet to which the specific mobile node belongs is different from the previous subnet. As a way to find out, 상기 특정 이동 노드가 접속하는 AP의 MAC 주소의 변화를 감시하는 제1 단계와,A first step of monitoring a change in a MAC address of an AP to which the specific mobile node accesses; 상기 AP의 MAC 주소가 변경되었을 때, 현재 서브넷에 FA가 없을 경우, 상기 현재 서브넷의 DHCP 서버의 IP 주소를 확인하여, 상기 현재 서브넷의 DHCP 서버의 IP 주소와 이전 DHCP 서버의 IP 주소가 다를 경우, 서브넷이 변경되었다고 판단하는 제2 단계와,When the MAC address of the AP is changed, if there is no FA in the current subnet, check the IP address of the DHCP server of the current subnet, if the IP address of the DHCP server of the current subnet and the IP address of the previous DHCP server is different , The second step of determining that the subnet has changed, 서브넷이 변경되었다고 판단하면, 상기 현재 서브넷의 DHCP 서버로부터 IP 주소를 할당받는 제3 단계와,If it is determined that the subnet has been changed, a third step of assigning an IP address from a DHCP server of the current subnet; 상기 할당받은 IP 주소를 상기 HA에 등록하는 제4 단계A fourth step of registering the allocated IP address with the HA 를 실행시킬 수 있는 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium that contains a program that can execute a program. 삭제delete
KR10-2003-0011893A 2003-02-26 2003-02-26 Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server KR100520040B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0011893A KR100520040B1 (en) 2003-02-26 2003-02-26 Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0011893A KR100520040B1 (en) 2003-02-26 2003-02-26 Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server

Publications (2)

Publication Number Publication Date
KR20040076509A KR20040076509A (en) 2004-09-01
KR100520040B1 true KR100520040B1 (en) 2005-10-11

Family

ID=37362689

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0011893A KR100520040B1 (en) 2003-02-26 2003-02-26 Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server

Country Status (1)

Country Link
KR (1) KR100520040B1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694045B1 (en) * 2003-10-23 2007-03-12 삼성전자주식회사 A handover method, a handover apparatus, and an information storage medium storing the handover method in a DHCCP4 environment
KR100636168B1 (en) 2004-09-03 2006-10-19 삼성전자주식회사 Method and apparatus for obtaining IP address in DHCCP environment
KR100679009B1 (en) * 2005-09-10 2007-02-05 삼성전자주식회사 Method and device for dynamically allocating Internet protocol addresses in a wireless network
KR100735265B1 (en) 2005-09-14 2007-07-03 삼성전자주식회사 Method and system for configuring IP address in wireless communication system
KR100657514B1 (en) * 2005-11-24 2006-12-14 한국전자통신연구원 Subnet Handover Method for DHC Service Users in Mobile Internet System
KR100739807B1 (en) * 2006-02-06 2007-07-13 삼성전자주식회사 Method and apparatus for retrieving and obtaining handover information using DHCCP
KR100806197B1 (en) * 2006-05-17 2008-02-22 에스케이 텔레콤주식회사 Method and system for updating information of digital photo frame device using MAC address
CN101325798B (en) * 2007-06-15 2011-08-10 中兴通讯股份有限公司 Method for selecting mobile management mode in wireless network
JP5264161B2 (en) * 2007-12-21 2013-08-14 キヤノン株式会社 Information processing apparatus, device, control method for information processing apparatus, and computer program
US20130023280A1 (en) * 2011-07-20 2013-01-24 Qualcomm Incorporated Wireless Device Secure Tracking
FR3095314B1 (en) * 2019-04-16 2021-03-12 Psa Automobiles Sa Method and device for vehicle communication in an ad hoc type wireless network

Also Published As

Publication number Publication date
KR20040076509A (en) 2004-09-01

Similar Documents

Publication Publication Date Title
RU2297107C2 (en) Method and system for generating access terminal ip address and for transferring messages to generate ip addresses in ip system
JP3183224B2 (en) Communication control method for multiple network terminals and apparatus therefor
US8412198B2 (en) Method and system for configuring IP address in a wireless communication system
US6434132B1 (en) Wireless LAN for reestablishing wireless links between hosts according to monitored desired and undesired signals
KR100520040B1 (en) Method for detecting the change of the subnet in a mobile IP network through checking the IP address of the DHCP server
US7289471B2 (en) Mobile router, position management server, mobile network management system, and mobile network management method
KR100710530B1 (en) Method for configuration and registration of internet protocol address in a wireless mobile communication system with a connection oriented radio link
US8000299B2 (en) Method and apparatus for providing and obtaining information regarding local agent in wireless network
KR20080026318A (en) Method and device for setting internet protocol address
JP4638483B2 (en) Method and apparatus for obtaining server information in a wireless network
US20040190534A1 (en) Method, apparatus and system for ensuring reliable access to a roaming mobile node
KR101513887B1 (en) Method and apparatus for discovering location of information server and method and apparatus for receiving handover information using the location of information server
KR100509920B1 (en) Method and system for mobile ip assignment in wireless lan
KR100568474B1 (en) Method and apparatus for providing improved mobile IP for efficient network configuration
JP7380878B2 (en) Address setting system, address setting method, address setting management device and program
US7920574B2 (en) Method for transmitting packet from correspondent node to mobile node
KR20100084773A (en) System and method for authorizing in wireless communication system
KR101204798B1 (en) Method for internet protocol address configuration, and information server
KR101209249B1 (en) Method for internet protocol address configuration, and information server
KR101204797B1 (en) Method for Internet Protocol address configuration, and information server
KR101204796B1 (en) Method for Internet Protocol address configuration, and information server
KR101209250B1 (en) Method for internet protocol address configuration, and information server
KR101209251B1 (en) Method for internet protocol address configuration, and information server
KR20120079993A (en) System for registering mobile ip using time information synchronization and method
KR100960794B1 (en) Apparatus and method for identifying rogue access point in wireless internet access environment

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20030226

PA0201 Request for examination
PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20050407

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20050630

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20050930

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20051004

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee