KR100745727B1 - Method for transmitting a packet in a portable terminal supporting a multiple of network interface - Google Patents

Method for transmitting a packet in a portable terminal supporting a multiple of network interface Download PDF

Info

Publication number
KR100745727B1
KR100745727B1 KR1020060096171A KR20060096171A KR100745727B1 KR 100745727 B1 KR100745727 B1 KR 100745727B1 KR 1020060096171 A KR1020060096171 A KR 1020060096171A KR 20060096171 A KR20060096171 A KR 20060096171A KR 100745727 B1 KR100745727 B1 KR 100745727B1
Authority
KR
South Korea
Prior art keywords
packet
network interface
socket
address
layer
Prior art date
Application number
KR1020060096171A
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 KR1020060096171A priority Critical patent/KR100745727B1/en
Application granted granted Critical
Publication of KR100745727B1 publication Critical patent/KR100745727B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/677Multiple interfaces, e.g. multihomed nodes

Abstract

A packet transmission method of a portable terminal which supports multiple network interfaces is provided to be capable of transmitting packets to a remote node which is not directly connected, through another network interface except a network interface set as a basic path, thus packet transmission can be performed without changing the basic path. When packet transmission is attempted to a network interface, a socket for transmitting packets is generated(S201,S202). If an option of the socket is set and associated with the network interface, 2-layer destination address of the packets is set to the 2-layer address of a basic router(S203-S205). If the packets are transmitted to the 2-layer address of the basic router of the packets by using the socket, the socket is terminated(S206,S207).

Description

다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법{Method for transmitting a packet in a portable terminal supporting a multiple of network interface}Method for transmitting a packet in a portable terminal supporting a multiple of network interface

도 1은 본 발명이 적용되는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송을 위한 네트워크에 대한 일실시예 구성도,1 is a configuration diagram of a network for packet transmission of a mobile terminal supporting a multiple network interface to which the present invention is applied;

도 2는 본 발명에 따른 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법에 대한 일실시예 흐름도.2 is a flowchart illustrating a packet transmission method of a portable terminal supporting multiple network interfaces according to the present invention.

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

100: 휴대 단말기100: mobile terminal

110: 제1 기본 라우터110: first default router

120: 제2 기본 라우터120: second default router

130: 원격노드130: remote node

본 발명은 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법에 관한 것으로, 더욱 상세하게는 다중 네트워크 인터페이스를 지원하는 휴대 단말기에서 기본경로로 설정된 네트워크 인터페이스 외에 다른 네트워크 인터페이스를 통해서 직접 연결되어 있지 않은 원격노드로 패킷을 전송함으로써, 기본경로를 수정하지 않고 패킷 전송을 수행할 수 있도록 하는, 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법에 관한 것이다.The present invention relates to a packet transmission method of a mobile terminal supporting multiple network interfaces. More particularly, the present invention relates to a remote terminal that is not directly connected through another network interface in addition to the network interface set as a default path in a mobile terminal supporting multiple network interfaces. The present invention relates to a packet transmission method of a mobile terminal supporting multiple network interfaces, by which a packet is transmitted to a node so that packet transmission can be performed without modifying the basic path.

휴대 단말기는 네트워크 통신을 하면서 원활한 이동성을 보장하기 위해 다중 네트워크 인터페이스를 가질 수 있다. 즉, 상기 휴대 단말기는 인터넷 환경에서 이동시에 다중 네트워크 인터페이스를 통해서 IP(Internet Protocol) 네트워크에 접근할 수 있다.The portable terminal may have multiple network interfaces to ensure smooth mobility while performing network communication. That is, the mobile terminal can access an Internet Protocol (IP) network through a multiple network interface when moving in an Internet environment.

일반적으로, 상기 휴대 단말기는 패킷 전송을 위한 기본경로로 하나의 네트워크 인터페이스가 설정되면, 기본경로로 설정된 상기 네트워크 인터페이스를 통해서 패킷들을 전송한다. 이때, 상기 휴대 단말기의 어떤 응용 프로그램들은 기본경로로 설정된 네트워크 인터페이스가 아닌 다른 네트워크 인터페이스를 통해서 원격노드와 통신하려는 경우가 있다. 즉, 상기 휴대 단말기의 응용 프로그램은 커널의 라우팅 테이블을 룩업(lookup)한 결과인 출력 네트워크 인터페이스를 통해서 패킷을 전송하지 않고, 자신이 지정한 특정 네트워크 인터페이스를 통해서 패킷을 전송하는 경우이다.In general, when one network interface is set as a default path for packet transmission, the portable terminal transmits packets through the network interface set as the default path. At this time, some application programs of the portable terminal may communicate with the remote node through a network interface other than the network interface set as the default path. That is, the application program of the portable terminal does not transmit the packet through the output network interface that is the result of looking up the routing table of the kernel, but transmits the packet through the specific network interface designated by the portable terminal.

상기와 같은 경우에, 휴대 단말기는 기본경로로 설정된 제1 네트워크 인터페이스가 아닌 제2 네트워크 인터페이스로 패킷을 전송하기 위해 기본경로를 제2 네트워크 인터페이스로 수정해야 한다. In this case, the portable terminal should modify the default path to the second network interface in order to transmit the packet to the second network interface instead of the first network interface set as the default path.

이를 피하기 위해, 상기 휴대 단말기는 POSIX(Portable Operating System Interfacefor Computer Environment)에 정의되어 있는 소켓 옵션(socket option)인 "SO_DONTROUTE" 옵션을 이용하는 방식이 있다. 여기서, 상기 "SO_DONTROUTE" 옵션은 패킷을 전송할 때 운영체제 내부의 라우팅테이블을 룩업하지 않고, 곧바로 연관되어 있는(즉, 바인드 함수로 설정된) 네트워크 인터페이스를 통해 패킷을 전송할 수 있도록 하는 옵션이다.In order to avoid this, the portable terminal uses a "SO_DONTROUTE" option, which is a socket option defined in the Portable Operating System Interface for Computer Environment (POSIX). In this case, the "SO_DONTROUTE" option is an option for transmitting a packet through a network interface that is directly connected (ie, set as a bind function) without looking up the routing table inside the operating system when transmitting the packet.

상기와 같이 소켓 옵션을 이용하는 방식은 패킷을 전송할 목적지 단말기가 직접 연결된 네트워크(directly connected network)에 있는 경우일 경우에는 처리할 수 있지만, 패킷을 전송할 목적지 단말기가 직접 연결된 네트워크가 아닌 경우(예를 들어, 라우터 너머 원격노드 등)에는 기본경로를 재설정해야만 하는 단점이 있다.As described above, the method using the socket option can be handled when the destination terminal to which the packet is to be transmitted is in a directly connected network. However, when the destination terminal to which the packet is to be transmitted is not a directly connected network (for example, , Remote nodes beyond routers, etc.) have the disadvantage of having to reset the default path.

따라서, 종래의 방식은 기본경로로 설정된 네트워크 인터페이스가 아닌 다른 네트워크 인터페이스를 통해 원격노드에 패킷을 전송할 필요성이 더욱 부각된다.Therefore, the conventional scheme further emphasizes the necessity of transmitting a packet to a remote node through a network interface other than the network interface set as the default path.

본 발명은 상기와 같은 문제점을 해결하고 상기와 같은 요구에 부응하기 위 하여 제안된 것으로, 다중 네트워크 인터페이스를 지원하는 휴대 단말기에서 기본경로로 설정된 네트워크 인터페이스 외에 다른 네트워크 인터페이스를 통해서 직접 연결되어 있지 않은 원격노드로 패킷을 전송함으로써, 기본경로를 수정하지 않고 패킷 전송을 수행할 수 있도록 하는, 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems and to meet the above requirements, and is not directly connected through a network interface other than the network interface set as the default path in a mobile terminal supporting multiple network interfaces. It is an object of the present invention to provide a packet transmission method of a mobile terminal supporting multiple network interfaces, by which a packet is transmitted to a node so that packet transmission can be performed without modifying the default path.

본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 더욱 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기의 목적을 달성하기 위한 본 발명은, 기본경로가 아닌 네트워크 인터페이스 및 기본 라우터를 이용하여 원격노드로 패킷을 전송하는 휴대 단말기의 패킷 전송방법에 있어서, 상기 네트워크 인터페이스로 패킷전송이 시도되면, 패킷을 전송하기 위한 소켓을 생성하는 제1 단계; 상기 소켓의 옵션을 설정하여 상기 네트워크 인터페이스와 연관시키면, 상기 패킷의 2계층 목적지 주소를 상기 기본 라우터의 2계층 주소로 설정하는 제2 단계; 및 상기 소켓을 이용하여 패킷의 상기 기본 라우터의 2계층 주소로 패킷을 전송하면, 상기 소켓을 종료하는 제3 단계를 포함한다.In order to achieve the above object, the present invention provides a packet transmission method of a mobile terminal for transmitting a packet to a remote node using a network interface and a default router other than the default path. Creating a socket for transmitting a message; Setting a socket option and associating it with the network interface, setting a second layer destination address of the packet as a second layer address of the default router; And terminating the socket if the packet is transmitted to the layer 2 address of the basic router of the packet by using the socket.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명이 적용되는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송을 위한 네트워크에 대한 일실시예 구성도이다.1 is a configuration diagram of a network for packet transmission of a portable terminal supporting a multi-network interface to which the present invention is applied.

도 1에 도시된 바와 같이, 본 발명이 적용되는 네트워크는, 휴대 단말기(100), 제1 기본 라우터(110), 제2 기본 라우터(120), 원격노드(130)를 포함한다.As shown in FIG. 1, a network to which the present invention is applied includes a mobile terminal 100, a first basic router 110, a second basic router 120, and a remote node 130.

휴대 단말기(100)는 응용프로그램(101), 소켓 계층(102), IP 계층(103), 라우팅 테이블(104), 제1 네트워크 인터페이스(105), 제2 네트워크 인터페이스(106)를 이용하여 원격노드(130)에게 패킷을 전송한다.The mobile terminal 100 uses the application 101, the socket layer 102, the IP layer 103, the routing table 104, the first network interface 105, and the second network interface 106. Send a packet to 130.

또한, 휴대 단말기(100)는 다중 네트워크 인터페이스를 지원하는데, 여기서는 편의상 제1 네트워크 인터페이스(105)와 제2 네트워크 인터페이스(106)에 대하여 설명하기로 한다. 이때, 상기 휴대 단말기(100)는 제1 네트워크 인터페이스(105)의 기본 라우터인 제1 기본 라우터(110)와 유선 또는 무선으로 연결되고, 제2 네트워크 인터페이스(106)의 기본 라우터인 제2 기본 라우터(120)와 유선 또는 무선으로 연결된다. 이를 통해, 상기 제1 기본 라우터(110) 또는 상기 제2 기본 라우터(120)는 IP 네트워크를 통해 다른 곳에 있는 노드들 즉, 원격노드(130)와 패킷통신을 수행한다.In addition, the portable terminal 100 supports multiple network interfaces. For convenience, the first network interface 105 and the second network interface 106 will be described. In this case, the mobile terminal 100 is connected to the first basic router 110, which is the basic router of the first network interface 105, by wire or wirelessly, and the second basic router which is the basic router of the second network interface 106. The wire is connected to the wire 120 or wirelessly. Through this, the first basic router 110 or the second basic router 120 performs packet communication with other nodes, that is, the remote node 130, through the IP network.

한편, 상기 휴대 단말기(100)는 자신의 운영체제의 라우팅 테이블(104)에서 제1 네트워크 인터페이스(105)를 기본경로로 설정하여 패킷을 전송한다. 이때, 상기 휴대 단말기(100)의 응용프로그램(101)은 기본경로로 설정된 제1 네트워크 인터페이스(105)가 아닌 제2 네트워크 인터페이스(106)를 통해 패킷을 전송하려고 시도할 수 있다.Meanwhile, the portable terminal 100 transmits a packet by setting the first network interface 105 as the default path in the routing table 104 of its operating system. In this case, the application program 101 of the portable terminal 100 may attempt to transmit a packet through the second network interface 106 instead of the first network interface 105 set as the default path.

상기와 같은 경우에, 상기 휴대 단말기(100)는 기본경로로 설정되어 있는 제1 네트워크 인터페이스(105)가 아닌 제2 네트워크 인터페이스(106)를 통해 제2 기본 라우터(120)로 패킷을 전송하고, 상기 제2 기본 라우터(120)에서 통상의 인터넷 프로토콜 라우팅을 통해 패킷이 최종 목적지인 원격노드(130)까지 전송될 수 있도록 한다.In this case, the mobile terminal 100 transmits the packet to the second basic router 120 through the second network interface 106 rather than the first network interface 105 set as the default path. The second basic router 120 allows the packet to be transmitted to the remote node 130 which is the final destination through normal Internet protocol routing.

이에 대하여 구체적으로 설명하면, 상기 휴대 단말기(100)는 기본경로가 아닌 제2 네트워크 인터페이스(106) 및 제2 기본 라우터(120)가 직접 연결된 네트워크에 존재하기 때문에, 제2 네트워크 인터페이스(106)를 통해 제2 기본 라우터(120)로 패킷을 전송하려면 상기 제2 기본 라우터(120)의 2계층 주소만 알면 된다. 즉, 상기 휴대 단말기(100)는 제2 기본 라우터(120)의 2계층 주소를 운영체제 내부에 있는 동적 호스트 설정 프로토콜(Dynamic Host Configuration Protocol: DHCP), 주소 결정 프로토콜(Address Resolution Protocol: ARP), 이웃 탐색 프로토 콜(Neighbor Discovery Protocol: NDP) 등의 테이블에 의해 확인할 수 있다. 이에 대한 자세한 설명은 당업자라면 쉽게 이해할 수 있으므로 생략한다. Specifically, since the mobile terminal 100 exists in a network to which the second network interface 106 and the second basic router 120 are directly connected rather than the default path, the portable terminal 100 may be configured as the second network interface 106. In order to transmit a packet to the second basic router 120, only the second layer address of the second basic router 120 needs to be known. That is, the mobile terminal 100 uses the second layer address of the second basic router 120 to set a dynamic host configuration protocol (DHCP), an address resolution protocol (ARP), and a neighbor in the operating system. This can be confirmed by a table such as a neighbor discovery protocol (NDP). Detailed description thereof will be omitted since those skilled in the art can easily understand.

이와 같이, 상기 휴대 단말기(100)는 기본경로로 설정되어 있지 않은 제2 네트워크 인터페이스(106)를 통해 직접 연결되어 있지 않은 네트워크에 존재하는 원격노드(130)로 패킷을 전송하기 위해, 3계층 패킷의 목적지 주소를 원격노드(130)의 주소로 설정하고 2계층 패킷의 목적지 주소를 제2 기본 라우터(120)의 2계층 주소로 설정한다.As described above, the portable terminal 100 transmits the packet to the remote node 130 existing in the network not directly connected through the second network interface 106 which is not set as the default path. Set the destination address of the remote node 130 to the address of the remote node 130 and set the destination address of the layer 2 packet to the layer 2 address of the second basic router 120.

도 2는 본 발명에 따른 다중 네트워크 인터페이스를 지원하는 휴대 단말기(100)의 패킷 전송방법에 대한 일실시예 흐름도이다.2 is a flowchart illustrating a packet transmission method of a portable terminal 100 supporting multiple network interfaces according to the present invention.

도 2에 도시된 바와 같이, 상기 휴대 단말기(100)의 응용프로그램(101)에서 기본경로인 제1 네트워크 인터페이스(105)가 아닌 제2 네트워크 인터페이스(106)로 패킷전송을 시도하는 경우에(S201), 먼저 패킷을 전송할 때 사용될 적절한 소켓을 생성하여 소켓옵션인 "SO_DONTROUTE" 옵션을 설정한다(S202, S203). 전술한 바와 같이, 상기 휴대 단말기(100)는 소켓옵션인 "SO_DONTROUTE" 옵션을 설정함으로써 표준 인터넷 프로토콜의 라우팅 테이블 룩업을 하지 않기 위함이다.As shown in FIG. 2, when an application 101 of the portable terminal 100 attempts to transmit a packet to the second network interface 106 instead of the first network interface 105 which is the default path (S201). First, an appropriate socket to be used when transmitting a packet is created and a socket option "SO_DONTROUTE" option is set (S202 and S203). As described above, the portable terminal 100 does not look up the routing table of the standard Internet protocol by setting the socket option "SO_DONTROUTE" option.

이후, 상기 휴대 단말기(100)는 패킷을 전송하려는 제2 네트워크 인터페이스(106)와 생성된 소켓을 연관시킨다(S204). 이를 통해, 상기 휴대 단말기(100)의 운영체제는 패킷을 전달할 출력 네트워크 인터페이스를 확인할 수 있다. 여기서는, 상기 휴대 단말기(100)의 운영체제는 패킷을 제2 네트워크 인터페이스(106)를 통해 제2 기본 라우터(120)로 전달할 수 있게 된다.Thereafter, the mobile terminal 100 associates the generated socket with the second network interface 106 to transmit the packet (S204). Through this, the operating system of the portable terminal 100 can identify the output network interface to deliver the packet. In this case, the operating system of the portable terminal 100 may transmit the packet to the second basic router 120 through the second network interface 106.

이후, 상기 휴대 단말기(100)는 기본경로인 제1 네트워크 인터페이스(105)가 아닌 제2 네트워크 인터페이스(106)를 통해 제2 기본 라우터(120)까지 패킷을 전송하기 위해, 패킷의 2계층 목적지 주소[즉, 원격노드(130)의 2계층 주소]를 제2 기본 라우터(120)의 2계층 주소로 운영체제의 테이블을 설정한다(S205). 여기서, 상기 운영체제의 테이블은 IPv4인 경우에 주소 결정 프로토콜(ARP) 테이블이고, IPv6인 경우에 이웃 탐색 프로토콜(NDP) 테이블이다. 이때, 상기 휴대 단말기(100)는 패킷의 3계층 목적지 주소를 원격노드(130)의 주소로 설정한다.Thereafter, the mobile terminal 100 transmits the packet to the second basic router 120 through the second network interface 106 instead of the first network interface 105 which is the default path, and thus, the second layer destination address of the packet. The table of the operating system is set as the [layer 2 address of the remote node 130] to the layer 2 address of the second basic router 120 (S205). Herein, the table of the operating system is an address resolution protocol (ARP) table in the case of IPv4, and a neighbor discovery protocol (NDP) table in the case of IPv6. At this time, the portable terminal 100 sets the third layer destination address of the packet as the address of the remote node 130.

부가적으로, 상기 휴대 단말기(100)의 응용프로그램(101)은 운영체제의 테이블에 설정되는 경우와 달리 직접 2계층 프레임까지 생성하여 전송할 수도 있다. 이때, 상기 응용프로그램(101)은 패킷의 2계층 목적지 주소를 제2 기본 라우터(120)의 주소로 설정한다.In addition, unlike the case where the application program 101 of the portable terminal 100 is set in the table of the operating system, up to two layer frames may be directly generated and transmitted. In this case, the application program 101 sets the second layer destination address of the packet as the address of the second basic router 120.

그런 후, 상기 휴대 단말기(100)는 생성된 소켓을 이용하여 패킷을 전송하는데, 운영체제의 테이블에 설정된 패킷의 2계층 목적지 주소인 제2 기본 라우터(120)의 주소를 이용하여 제2 기본 라우터(120)까지 패킷을 전송한다(S206).Thereafter, the mobile terminal 100 transmits the packet using the generated socket. The mobile terminal 100 transmits a packet using a second default router (2) using an address of the second default router 120, which is a layer 2 destination address of the packet set in the table of the operating system. The packet is transmitted up to 120 (S206).

이후, 상기 휴대 단말기(100)는 소켓을 종료한다(S207). 이때, 상기 제2 기본 라우터(120)는 표준 인터넷 프로토콜의 라우팅 절차에 따라 패킷을 원격노드(130)로 전송한다.Thereafter, the portable terminal 100 ends the socket (S207). At this time, the second basic router 120 transmits the packet to the remote node 130 according to the routing procedure of the standard Internet protocol.

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디 스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

상기와 같은 본 발명은 기본경로로 설정된 네트워크 인터페이스가 아닌 다른 네트워크 인터페이스를 통해 원격노드에 패킷을 전송할 수 있는 효과가 있다.As described above, the present invention has an effect of transmitting a packet to a remote node through a network interface other than the network interface set as the default path.

Claims (5)

기본경로가 아닌 네트워크 인터페이스 및 기본 라우터를 이용하여 원격노드로 패킷을 전송하는 휴대 단말기의 패킷 전송방법에 있어서,In the packet transmission method of a mobile terminal for transmitting a packet to a remote node using a network interface and a default router other than the default path, 상기 네트워크 인터페이스로 패킷전송이 시도되면, 패킷을 전송하기 위한 소켓을 생성하는 제1 단계;A first step of creating a socket for transmitting a packet when packet transmission is attempted to the network interface; 상기 소켓의 옵션을 설정하여 상기 네트워크 인터페이스와 연관시키면, 상기 패킷의 2계층 목적지 주소를 상기 기본 라우터의 2계층 주소로 설정하는 제2 단계; 및Setting a socket option and associating it with the network interface, setting a second layer destination address of the packet as a second layer address of the default router; And 상기 소켓을 이용하여 패킷의 상기 기본 라우터의 2계층 주소로 패킷을 전송하면, 상기 소켓을 종료하는 제3 단계Terminating the socket when the packet is transmitted to the layer 2 address of the basic router of the packet by using the socket; 를 포함하는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법.Packet transmission method of a mobile terminal supporting a multi-network interface comprising a. 제1 항에 있어서,According to claim 1, 상기 제1 단계 이후에,After the first step, 상기 패킷의 3계층 목적지 주소를 상기 원격노드의 주소로 설정하는 단계Setting the third layer destination address of the packet to the address of the remote node 를 더 포함하는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법.Packet transmission method of a mobile terminal supporting a multiple network interface further comprising. 제1 항에 있어서,According to claim 1, 상기 제1 단계 이후에,After the first step, 상기 패킷을 2계층 프레임을 생성하여 패킷의 2계층 목적지 주소를 상기 기본 라우터의 주소로 설정하는 단계Generating a layer 2 frame of the packet to set a layer 2 destination address of the packet as the address of the default router; 를 더 포함하는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법.Packet transmission method of a mobile terminal supporting a multiple network interface further comprising. 제1 항에 있어서,According to claim 1, 상기 제1 단계에서,In the first step, 상기 소켓을 소켓옵션 "SO_DONTROUTE" 옵션으로 사용하는 것을 특징으로 하는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법.The method of claim 1, wherein the socket is used as the socket option "SO_DONTROUTE" option. 제1 항에 있어서,According to claim 1, 상기 제2 단계에서,In the second step, 상기 패킷의 주소설정이 IPv4인 경우에 주소 결정 프로토콜 테이블을 설정하고 IPv6인 경우에 이웃 탐색 프로토콜 테이블을 설정하는 것을 특징으로 하는 다중 네트워크 인터페이스를 지원하는 휴대 단말기의 패킷 전송방법.And setting an address resolution protocol table when the address of the packet is IPv4, and setting a neighbor search protocol table when the packet is IPv6.
KR1020060096171A 2006-09-29 2006-09-29 Method for transmitting a packet in a portable terminal supporting a multiple of network interface KR100745727B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060096171A KR100745727B1 (en) 2006-09-29 2006-09-29 Method for transmitting a packet in a portable terminal supporting a multiple of network interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060096171A KR100745727B1 (en) 2006-09-29 2006-09-29 Method for transmitting a packet in a portable terminal supporting a multiple of network interface

Publications (1)

Publication Number Publication Date
KR100745727B1 true KR100745727B1 (en) 2007-08-03

Family

ID=38601779

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060096171A KR100745727B1 (en) 2006-09-29 2006-09-29 Method for transmitting a packet in a portable terminal supporting a multiple of network interface

Country Status (1)

Country Link
KR (1) KR100745727B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992568A (en) * 2021-09-23 2022-01-28 北京连山科技股份有限公司 Multilink communication system method and system for mixed forwarding of layer 2 and layer 3 services

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060070246A (en) * 2004-12-20 2006-06-23 한국전자통신연구원 Heterogeneous network interworking method for a node having multiple network interfaces

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060070246A (en) * 2004-12-20 2006-06-23 한국전자통신연구원 Heterogeneous network interworking method for a node having multiple network interfaces

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
공개번호 10-2006-0070246

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992568A (en) * 2021-09-23 2022-01-28 北京连山科技股份有限公司 Multilink communication system method and system for mixed forwarding of layer 2 and layer 3 services
CN113992568B (en) * 2021-09-23 2022-06-14 北京连山科技股份有限公司 Multilink communication system method and system for mixed forwarding of layer 2 and layer 3 services

Similar Documents

Publication Publication Date Title
US9258699B2 (en) Method for route transmission based on single IPv6 address prefix, and wireless device
JP5335886B2 (en) Method and apparatus for communicating data packets between local networks
EP1807980B1 (en) Maintaining secrecy of assigned unique local addresses for ipv6 nodes within a prescribed site during access of a wide area network
US7639686B2 (en) Access network clusterhead for providing local mobility management of a roaming IPv4 node
KR101785760B1 (en) Method and network element for enhancing ds-lite with private ipv4 reachability
Atkinson et al. ILNP: mobility, multi-homing, localised addressing and security through naming
US9467376B2 (en) Method and device for sending internet protocol packets
JP6542993B2 (en) Method and gateway for obtaining a route based on a request
WO2010108431A1 (en) Method for realizing ipv6 host visting ipv4 host, method for obtaining ipv6 address prefix and translation device
WO2010139194A1 (en) Method and device of host with ipv4 application for performing communication
JP2005503075A (en) Addressing method for wireless mobile clients
JP2006148902A (en) IPv4-IPv6 CONVERSION SYSTEM USING DUAL STACK CONVERSION MECHANISM AND ITS METHOD
CN101848247A (en) Method for implementing access of IPv6 host to IPv4 host, method for acquiring IPv6 address prefix and conversion device
US8194683B2 (en) Teredo connectivity between clients behind symmetric NATs
WO2012083657A1 (en) Packet processing method, system and customer premises equipment
US20140032782A1 (en) Method and apparatus for route selection of host in multihoming site
JP6386166B2 (en) Translation method and apparatus between IPv4 and IPv6
TW201414253A (en) Network address translation system and method
US7693091B2 (en) Teredo connectivity between clients behind symmetric NATs
WO2014156143A1 (en) Home gateway device and packet forwarding method
JP2008545310A (en) Data routing in computer equipment
JP3646936B2 (en) IPv4 management method and management apparatus in IPv6 wireless LAN environment
KR100745727B1 (en) Method for transmitting a packet in a portable terminal supporting a multiple of network interface
WO2015139397A1 (en) Nat64 resource acquisition method and acquisition/distribution apparatus
Isaac Comparative Analysis of IPV4 and IPV6

Legal Events

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

Payment date: 20100701

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee