KR100941118B1 - Apparatus having layer 3 switching function - Google Patents

Apparatus having layer 3 switching function Download PDF

Info

Publication number
KR100941118B1
KR100941118B1 KR1020070098711A KR20070098711A KR100941118B1 KR 100941118 B1 KR100941118 B1 KR 100941118B1 KR 1020070098711 A KR1020070098711 A KR 1020070098711A KR 20070098711 A KR20070098711 A KR 20070098711A KR 100941118 B1 KR100941118 B1 KR 100941118B1
Authority
KR
South Korea
Prior art keywords
address
packet
entry
router
forwarding table
Prior art date
Application number
KR1020070098711A
Other languages
Korean (ko)
Other versions
KR20090033607A (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 KR1020070098711A priority Critical patent/KR100941118B1/en
Publication of KR20090033607A publication Critical patent/KR20090033607A/en
Application granted granted Critical
Publication of KR100941118B1 publication Critical patent/KR100941118B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • H04L45/748Address table lookup; Address filtering using longest matching prefix
    • 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/5084Providing for device mobility

Landscapes

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

Abstract

본 발명은 3계층 스위칭 기능을 구비한 장치에 관한 것으로, 이 장치는 패킷의 수신 루트를 검출하는 검출부; 및 상기 수신 루트가 기등록 루트와 다르면, 상기 수신 루트를 등록하는 등록부를 포함한다. 본 발명에 따르면, 동작성, 효율성, 경제성, 사업성 면에서 유리하게 단말의 이동성을 지원하는 3계층 스위칭을 수행할 수 있다.The present invention relates to an apparatus having a three-layer switching function, the apparatus comprising: a detector for detecting a reception route of a packet; And a registration unit for registering the reception route if the reception route is different from the previously registered route. According to the present invention, it is possible to perform three-layer switching to support the mobility of the terminal in terms of operability, efficiency, economics, and business.

포워딩, 라우팅, 이동성, 포워딩 테이블 Forwarding, routing, mobility, forwarding table

Description

3계층 스위칭 기능을 구비한 장치 {apparatus having layer 3 switching function}Device with three-layer switching function {apparatus having layer 3 switching function}

도 1a 내지 도 1e는 본 발명의 개념을 설명하기 위한 도면이다.1A to 1E are views for explaining the concept of the present invention.

도 2는 본 발명의 일실시예에 따른 3계층 스위칭 기능을 구비한 장치를 나타내는 블록도이다.2 is a block diagram illustrating an apparatus having a three-layer switching function according to an embodiment of the present invention.

본 발명은 3계층(layer 3) 스위칭 기술에 관한 것으로, 보다 상세하게는 효율적으로 단말의 이동성을 지원할 수 있는 3계층 스위칭 기능을 구비한 장치에 관한 것이다.The present invention relates to a three-layer (layer 3) switching technology, and more particularly to a device having a three-layer switching function that can efficiently support the mobility of the terminal.

3계층 스위칭은 한 네트워크로부터 수신되는 패킷을 최종 목적지까지의 도달을 위해 OSI(Open Systems Interconnection)의 3계층 상에서 다음 단계의 해당 네트워크(즉, 다음 홉)로 포워딩(전달)하는 것을 의미한다. 3계층 스위칭 기능을 구비한 장치의 예로는, 3계층 스위치, 라우터, 이더넷-수동 광 가입자망(Ethernet - Passive Optical Network : E-PON)의 광망 모듈(optical network unit : ONU) 등을 들 수 있다. 본 명세서에서는 3계층 스위칭 기능을 구비한 장치를 편의상, 라우터 라고 표현하여 설명하고자 한다.Layer 3 switching means forwarding (delivering) a packet from one network to the next network (i.e. next hop) on the third layer of Open Systems Interconnection (OSI) to reach its final destination. Examples of devices having a three-layer switching function include a three-layer switch, a router, and an optical network unit (ONU) of an Ethernet-Passive Optical Network (E-PON). . In the present specification, a device having a three-layer switching function will be described as a router for convenience.

라우터가 3계층 스위칭을 수행하기 위해서는, 각 네트워크에 도달하는 경로에 대한 정보, 그 경로의 메트릭(예컨대, 홉수, 비용 등) 등과 같은 라우팅 정보를 사전에 획득해야 한다. 이러한 라우팅 정보를 획득하는 방법으로는, 관리자가 직접 입력하는 정적(static) 라우팅 방법과 라우터 간에 자신이 아는 라우팅 정보를 서로 교환하는 라우팅 프로토콜을 통하여 획득하는 동적(dynamic) 라우팅 방법이 있다. 라우팅 프로토콜의 예로는, 라우팅 정보 프로토콜(Routing Information Protocol : RIP), 최단 경로 우선(Open Shortest Path First : OSPF) 프로토콜, 경계 경로 프로토콜(Border Gateway Protocol : BGP) 등이 있다. In order for a router to perform three-layer switching, routing information such as information about a route reaching each network, a metric (eg, hop count, cost, etc.) of the route must be obtained in advance. As a method of acquiring such routing information, there is a static routing method directly input by an administrator and a dynamic routing method obtained through a routing protocol for exchanging routing information known between routers. Examples of routing protocols include Routing Information Protocol (RIP), Open Shortest Path First (OSPF) protocol, and Border Gateway Protocol (BGP).

라우터는 상술한 방법으로 획득되는 라우팅 정보를 엔트리(entry)로서 포함하는 RIB를 구축하고, 이러한 RIB의 엔트리들 중에서, 메트릭 면에서 최적인 엔트리를 추출하여 FIB를 구축한다. 즉, RIB에서 유효 적절하다고 선택된 루트(route)만이 엔트리로서 FIB에 포함되는 것이다. 구체적으로, FIB에는 각 네트워크 주소(네트워크의 IP 주소)와 라우터의 해당 출력 포트 및 다음 홉의 라우터 정보 등이 묶인 엔트리들이 포함된다.The router constructs a RIB including the routing information obtained by the above-described method as an entry, and extracts an optimal entry in terms of metrics from among the entries of the RIB to construct the FIB. That is, only routes selected as valid and valid in the RIB are included in the FIB as entries. Specifically, the FIB includes entries that bind each network address (the IP address of the network), the corresponding output port of the router, and router information of the next hop.

이러한 FIB는 스위칭에 직접 이용되기도 하지만, 보다 신속한 검색을 위해 FIB의 엔트리를 기초로 최장 프리픽스 매칭(longest prefix matching : 이하, LPM) 테이블을 구축한 후, LPM 테이블을 기초로, 스위칭이 수행되기도 한다. 본 명세서에서는 FIB, LPM 테이블을 포괄하여 포워딩 테이블이라 칭한다.Such FIB may be directly used for switching, but after a longest prefix matching (LPM) table is established based on the entry of the FIB for faster retrieval, switching may be performed based on the LPM table. . In the present specification, the FIB and LPM tables are collectively referred to as a forwarding table.

포워딩 테이블을 이용한 스위칭에는 일반적으로 LPM 알고리즘이 사용되는데, 이 알고리즘에 따르면, 라우터는 포워딩 테이블의 엔트리들 중, 수신 패킷의 목적 주소(destination address)의 상위 비트 순으로 가장 많이 일치하는 네트워크 주소를 가진 엔트리를 선택하여 다음 홉을 결정한다.In general, the LPM algorithm is used for switching using the forwarding table. According to the algorithm, the router has a network address that most matches among the entries in the forwarding table in the order of the upper bits of the destination address of the received packet. Select the entry to determine the next hop.

한편, 단말이 최초로 연결된 제1 네트워크(또는 제1 서브넷)에서 제2 네트워크(또는 제2 서브넷)로 이동한 후에, 패킷을 송신하는 경우, 패킷이 원하는 수신처에 도달할 수 없는 상황 또는 비효율적인 루트로 수신처에 도달하게 되는 상황이 발생한다. On the other hand, when a terminal transmits a packet after moving from the first network (or first subnet) to the second network (or second subnet) connected for the first time, a situation in which the packet cannot reach a desired destination or an inefficient route The situation arises that the destination is reached.

전자의 상황은 제2 네트워크(또는 제2 서브넷)의 라우터가 상기 단말로부터 수신되는 패킷의 루트가 포워딩 테이블의 루트와 다른 것을 감지하고, 패킷을 폐기하는 경우에 발생된다. 이러한 기능을 역 경로 필터링(reverse path filtering)이라 불리는데, 라우터는 등록된 루트와 다른 루트로 수신되는 패킷을 denial of service 공격의 일종으로 보고 폐기하는 것이다.The former situation occurs when the router of the second network (or second subnet) detects that the route of the packet received from the terminal is different from the route of the forwarding table, and discards the packet. This function is called reverse path filtering. A router sees a packet received by a route different from the registered route as a kind of denial of service attack and discards it.

후자의 상황은 단말의 이동성을 지원하기 위한 터널링 기법이 적용될 때에 발생된다. 터널링의 경우, 단말 이동 후에 송신된 패킷은 최초 연결 지점에 최적화된 경로와 터널링 경로를 순차적으로 거쳐야 하기 때문에, 최적 경로가 아니라 우회적인 경로를 거치게 되어 비효율적인 루트를 사용하게 되는 것이다. 또한, 각 라우터는 이러한 터널링 기법을 지원하기 위해, CoA(Care of Address)- binding, 인캡슐레이션, 디캡슐레이션 등과 같은 추가적인 동작을 수행해야 하므로, 이러한 터널링 기법은 라우터에게 복잡도나 부하 면에서 커다란 부담이 되고, 네트워크를 구 축하는 사업자에게도 경제적, 사업적으로 커다란 부담으로 작용된다.The latter situation occurs when a tunneling technique is applied to support the mobility of the terminal. In the case of tunneling, the packet transmitted after the terminal movement must go through the optimized path and the tunneling path sequentially, and thus use the inefficient route because it passes through the bypass path instead of the optimal path. In addition, each router must perform additional operations such as care of address (CoA) -binding, encapsulation, and decapsulation to support such tunneling schemes. It is a burden, and it is a great economic and business burden for the operators who build the network.

따라서, 이러한 문제점을 해결하기 위해, 동작성, 효율성, 경제성, 사업성 면에서 유리하게 단말의 이동성을 지원하는 3계층 스위칭 방안이 요구된다.Therefore, in order to solve this problem, there is a need for a three-layer switching scheme that supports the mobility of the terminal in terms of operability, efficiency, economics, and business.

본 발명이 이루고자 하는 기술적 과제는, 효율적으로 단말의 이동성을 지원할 수 있는 3계층 스위칭 기능을 구비한 장치를 제공하는 데 있다.An object of the present invention is to provide a device having a three-layer switching function that can efficiently support the mobility of the terminal.

상기의 기술적 과제를 이루기 위해 본 발명의 제1 측면은 패킷의 수신 루트를 검출하는 검출부; 및 상기 수신 루트가 기등록 루트와 다르면, 상기 수신 루트를 등록하는 등록부를 포함하는 3계층 스위칭 기능을 구비한 장치를 제공한다.In order to achieve the above technical problem, a first aspect of the present invention provides a detection unit for detecting a reception route of a packet; And a registration unit for registering the reception route when the reception route is different from the previously registered route.

상기의 기술적 과제를 이루기 위해 본 발명의 제2 측면은 각 기등록 루트가 저장되는 저장부; 및 패킷의 수신 루트가 상기 저장부에 저장된 루트와 다르더라도, 패킷 포워딩을 수행하는 포워딩부를 포함하는 3계층 스위칭 기능을 구비한 장치를 제공한다.In order to achieve the above technical problem, a second aspect of the present invention includes a storage unit for storing each registered route; And a forwarding unit that performs packet forwarding even if the packet receiving route is different from the route stored in the storage unit.

이하, 상기 기술적 과제를 해결하기 위한 본 발명의 실시예들이 첨부된 도면을 참조하여 설명된다. Hereinafter, embodiments of the present invention for solving the above technical problem are described with reference to the accompanying drawings.

본 발명은 단말에서 송신된 업 로드 패킷의 소스 주소를 기반으로 다운로드 패킷이 가야할 경로를 라우터로 하여금 학습하도록 하는 방안을 사용한다. 보다 구 체적으로, 본 발명은 2계층 스위치(또는 브릿지)에서의 MAC(Medium Access Control) 주소 학습(learning)을 라우터의 3계층 스위칭에 적용한 방식으로서, 라우터는 수신 패킷의 목적(destination) IP 주소를 보고, 포워딩 테이블을 조회하여, 포워딩을 수행하되(포워딩 프로시져), 이와 더불어 수신 패킷의 소스(source) IP 주소와, 소스 2계층 주소 및 수신된 포트로 정해지는 루트가 LPM 관점에서 매칭되는 포워딩 테이블 엔트리의 루트와 다른 경우, 수신 패킷의 소스(source) IP 주소와, 소스 2계층 주소 및 수신된 포트에 해당하는 정보를 엔트리로서, 포워딩 테이블에 등록한다(학습 프로시져). 여기서, 이더넷 통신인 경우, 소스 2계층 주소는 소스 MAC 주소에 해당한다. 바람직하게, 라우터는 이러한 방법으로 포워딩 테이블에 등록된 엔트리가 소정 기간 사용되지 않는 경우라면, 해당 엔트리를 정해진 에이징(aging) 절차에 따라 포워딩 테이블로부터 삭제한다.The present invention uses a scheme for the router to learn the path that the download packet should go based on the source address of the upload packet transmitted from the terminal. More specifically, the present invention is a method in which medium access control (MAC) address learning in a two-layer switch (or bridge) is applied to three-layer switching of a router, and the router is a destination IP address of a received packet. And forwarding by querying the forwarding table (forwarding procedure), and forwarding where the source IP address of the received packet, the source 2 layer address, and the route determined by the received port are matched from the LPM perspective. If different from the root of the table entry, information corresponding to the source IP address of the received packet, the source layer 2 address, and the received port is registered as an entry in the forwarding table (learning procedure). Here, in case of Ethernet communication, the source layer 2 address corresponds to the source MAC address. Preferably, the router deletes the entry from the forwarding table according to a predetermined aging procedure if the entry registered in the forwarding table is not used for a predetermined period in this manner.

도 1a 내지 도 1e는 본 발명의 개념을 설명하기 위한 도면으로서, 도 1a는 단말(즉, 모바일 호스트)이 네트워크(또는 서브넷)에 최초 연결후의 패킷 전달 과정(일반적인 패킷 전달 과정)을 설명하기 위한 도면이며, 도 1b는 단말의 이동에 따라 포워딩 테이블이 관리되는 과정을 설명하기 위한 도면이며, 도 1c는 도 1b의 포워딩 테이블의 관리를 통하여, 서버에서 단말로 패킷이 올바르게 전달되는 과정을 설명하기 위한 도면이며, 도 1d는 단말이 재차 이동함에 따라, 포워딩 테이블이 관리되는 과정을 설명하기 위한 도면이며, 도 1e는 도 1b에서 추가 등록된 포워딩 테이블 엔트리가 에이징 절차에 따라 삭제되는 과정을 설명하기 위한 도면이다.1A to 1E are diagrams for explaining a concept of the present invention, and FIG. 1A is a diagram for describing a packet forwarding process (general packet forwarding process) after a terminal (ie, a mobile host) is initially connected to a network (or subnet). 1B is a diagram illustrating a process of managing a forwarding table according to the movement of a terminal, and FIG. 1C is a diagram illustrating a process of correctly delivering a packet from a server to a terminal through management of the forwarding table of FIG. 1B. 1D is a diagram for describing a process of managing a forwarding table as the terminal moves again, and FIG. 1E is a diagram for explaining a process of deleting a forwarding table entry additionally registered in FIG. 1B according to an aging procedure. It is for the drawing.

먼저, 도 1a를 설명하면 다음과 같다.First, referring to FIG. 1A is as follows.

도 1a 에는, 네트워크 A, 네트워크 B, 네트워크 C, 네트워크 S로 이루어진 네트워크 환경이 도시되어 있는데, 이러한 네트워크 환경은 복수의 네트워크로 이루어지는 인터네트워크 환경일 수도 있고, 복수의 서브넷으로 이루어지는 네트워크 환경일 수도 있다. 후자의 경우, 네트워크 A, B, C, S가 각 서브넷에 해당한다. 본 발명은 전자의 네트워크 환경 및 후자의 네트워크 환경 모두 적용 가능하지만, 보안 면에서 후자의 네트워크 환경에 적용하는 것이 보다 바람직하다.In FIG. 1A, a network environment consisting of network A, network B, network C, and network S is shown. The network environment may be an internetwork environment consisting of a plurality of networks or a network environment consisting of a plurality of subnets. . In the latter case, networks A, B, C, and S correspond to each subnet. Although the present invention is applicable to both the former network environment and the latter network environment, it is more preferable to apply to the latter network environment in terms of security.

도 1a에서 각 라우터(Ra, Rb, Rc, Rn, Rs)는 획득된 정적/동적 라우팅 정보 또는 RIB를 이용하여 도 1a에 도시된 포워딩 테이블을 구축하고, 포워딩 테이블에 따라 패킷 포워딩을 수행한다. 도 1a에서 단말이 네트워크 A에 최초로 연결된 경우에 해당하기 때문에, 단말에서 서버로 보내는 패킷은 각 포워딩 테이블에 따라, 라우터(Ra), 라우터(Rn), 라우터(Rs)를 거쳐 서버로 전달되게 되며, 서버에서 단말로 보내는 패킷은 각 포워딩 테이블에 따라, 라우터(Rs), 라우터(Rn), 라우터(Ra)를 거쳐 단말에 도달할 수 있다. 즉, 도 1a와 같이 이동하기 이전의 단말은 기존의 방식대로 서버와 패킷을 송수신할 수 있게 되며, 단말이 이동하지 않았으므로 라우터에 의한 학습 과정이 수행되지는 않는다.In FIG. 1A, each router Ra, Rb, Rc, Rn, and Rs constructs a forwarding table shown in FIG. 1A using the obtained static / dynamic routing information or RIB, and performs packet forwarding according to the forwarding table. In FIG. 1A, since the terminal is connected to the network A for the first time, the packet transmitted from the terminal to the server is transmitted to the server through the router Ra, the router Rn, and the router Rs according to each forwarding table. The packet transmitted from the server to the terminal may reach the terminal through the router Rs, the router Rn, and the router Ra according to each forwarding table. That is, as shown in FIG. 1A, the terminal before the mobile station can transmit and receive a packet with the server according to the conventional method. Since the mobile station does not move, the learning process by the router is not performed.

도 1b를 설명하면 다음과 같다. 도 1a에 도시된 바와 같이 네트워크 A 하에 있던 단말이, 이동하여 네트워크 B하에 있는 경우가 도 1b에 해당한다.1B is as follows. As illustrated in FIG. 1A, a terminal under network A moves and is under network B, which corresponds to FIG. 1B.

이렇게 이동한 단말이 서버로 향하는 패킷을 송신한 경우, 라우터(Rb)는 역 경로 필터링을 수행하지 않고 수신 패킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉을 라우터(Rn)로 결정한 후, 수신 패킷을 포워딩한다. 이와 더불어, 라우터(Rb)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블 엔트리(192.168.2.0/24 nexthop Rn)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다름을 감지하여, 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트에 해당하는 정보를 포워딩 테이블에 엔트리로서 추가 등록한다. 도 1b에서 라우터(Rb)의 포워딩 테이블의 엔트리들 중 밑줄친 엔트리가 상술한 방법으로 추가 등록된 엔트리이다.When the mobile station transmits a packet destined for the server, the router Rb does not perform reverse path filtering, looks up the destination IP address of the received packet, looks up the forwarding table, and determines the next hop as the router Rn. , Forward the received packet. In addition, the router (Rb) is the root of the forwarding table entry (192.168.2.0/24 nexthop Rn) matching the source IP address of the received packet in LPM perspective, the source IP address of the received packet, the receiving layer 2 address, and the received Detecting the route determined as the port is different, the information corresponding to the source IP address of the received packet, the receiving layer 2 address, and the received port is additionally registered as an entry in the forwarding table. In FIG. 1B, an underlined entry among the entries of the forwarding table of the router Rb is an entry registered additionally by the above-described method.

이러한 과정으로 패킷이 라우터(Rn)에 전달되게 되고, 라우터(Rn)는 마찬 가지의 과정을 수행한다. 즉, 라우터(Rn)는 역 경로 필터링을 수행하지 않고 수신 패킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉을 라우터(Rs)로 결정한 후, 수신 패킷을 포워딩한다. 이와 더불어, 라우터(Rn)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블 엔트리(192.168.2.0/24 nexthop Ra)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다름을 감지하여, 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트에 해당하는 정보를 포워딩 테이블에 엔트리로서 추가 등록한다. 도 1b에서 라우터(Rn)의 포워딩 테이블의 엔트리들 중 밑줄친 엔트리가 상술한 방법으로 추가 등록된 엔트리이다.In this process, the packet is delivered to the router Rn, and the router Rn performs the same process. That is, the router Rn looks at the destination IP address of the received packet without performing reverse path filtering, queries the forwarding table, determines the next hop as the router Rs, and then forwards the received packet. In addition, the router Rn is configured to determine that the root of the forwarding table entry (192.168.2.0/24 nexthop Ra) that matches the source IP address of the received packet in terms of LPM is the source IP address of the received packet, the receive layer 2 address, and the received packet. Detecting the route determined as the port is different, additional information corresponding to the source IP address of the received packet, the receiving layer 2 address, and the received port is further registered as an entry in the forwarding table. In FIG. 1B, an underlined entry among the entries of the forwarding table of the router Rn is an entry registered additionally by the above-described method.

이러한 과정으로 패킷이 라우터(Rs)에 전달되게 되고, 라우터(Rs)는 마찬 가지의 과정을 수행한다. 즉, 라우터(Rs)는 역 경로 필터링을 수행하지 않고 수신 패 킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉이 로컬 네트워크임을 판단한 후, 수신 패킷을 로컬 네트워크 내의 서버에 전달한다. 이와 더불어, 라우터(Rs)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블 엔트리(192.168.2.0/24 nexthop Rn)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다른지를 확인하는데, 이 경우, 두 루트가 동일하므로 포워딩 테이블의 추가 등록이 이루어지지 않는다.In this process, the packet is delivered to the router Rs, and the router Rs performs the same process. That is, the router Rs does not perform reverse path filtering, looks up the destination IP address of the received packet, looks up the forwarding table, determines that the next hop is the local network, and then forwards the received packet to a server in the local network. In addition, the router (Rs) is configured such that the root of the forwarding table entry (192.168.2.0/24 nexthop Rn) matching the source IP address of the received packet from the LPM point of view is the source IP address of the received packet, the receiving layer 2 address, and the received packet. Check whether the route defined as the port is different. In this case, since the two routes are the same, additional registration of the forwarding table is not made.

도 1c를 설명하면 다음과 같다. 도 1c는 도 1b에 도시된 바와 마찬가지로 단말이 네트워크 B 하에 있는 경우, 서버에서 단말로 패킷을 송신하는 경우를 설명하기 위한 도면이다.1C is as follows. FIG. 1C is a diagram for describing a case in which a packet is transmitted from a server to a terminal when the terminal is under the network B as shown in FIG. 1B.

서버에서 단말로 패킷을 송신하는 경우, 각 라우터(Rs, Rn, Rb)는 도 1b에서 설명한 바와 같이 관리되는 포워딩 테이블을 통해 패킷을 단말로 최적 경로로 전달할 수 있게 된다. 도 1c에서, 라우터(Rs)는 수신 패킷의 목적 IP 주소를 보고, 포워딩 테이블 엔트리 {192.168.2.0/24 nexthop Rn}와 매칭됨을 판단한 후, 라우터(Rn)에게 패킷을 전달한다. 라우터(Rn)는 수신 패킷의 목적 IP 주소를 보고, 추가 등록된 포워딩 테이블 엔트리 {192.168.2.1/32 nexthop Rb}와 매칭됨을 판단한 후, 라우터(Rb)에게 패킷을 전달한다. 만약,본 발명과는 달리 추가 등록되지 않았다면, 라우터(Rn)은 LPM 매칭되는 포워딩 엔트리 {192.168.2.0/nexthop Ra}에 따라 패킷을 라우터(Ra)에게 잘못 전달하게 되는 것이다. 라우터(Rb)는 수신 패킷의 목적 IP 주소를 보고, 추가 등록된 포워딩 테이블 엔트리 {192.168.2.1/32 connected}와 매칭됨을 판단한 후, 로컬 네트워크 내에 있는 단말에게 패킷을 전달한다.When transmitting a packet from the server to the terminal, each router (Rs, Rn, Rb) is able to deliver the packet to the terminal in the optimal path through the managed forwarding table as described in Figure 1b. In FIG. 1C, the router Rs looks at the destination IP address of the received packet, determines that it matches the forwarding table entry {192.168.2.0/24 nexthop Rn}, and forwards the packet to the router Rn. The router Rn looks at the destination IP address of the received packet, determines that it matches the additionally registered forwarding table entry {192.168.2.1/32 nexthop Rb}, and then delivers the packet to the router Rb. Unlike the present invention, if not additionally registered, the router Rn incorrectly forwards the packet to the router Ra according to the LPM matching forwarding entry {192.168.2.0/nexthop Ra}. The router Rb looks at the destination IP address of the received packet, determines that it matches the additionally registered forwarding table entry {192.168.2.1/32 connected}, and then delivers the packet to the terminal in the local network.

도 1d를 설명하면 다음과 같다. 도 1c에 도시된 바와 같이 네트워크 B 하에 있던 단말이, 이동하여 네트워크 C 하에 있는 경우가 도 1d에 해당한다.1D is as follows. As shown in FIG. 1C, the UE under the network B moves and is under the network C, as illustrated in FIG. 1D.

이렇게 이동한 단말이 서버로 향하는 패킷을 송신한 경우, 라우터(Rc)는 역 경로 필터링을 수행하지 않고 수신 패킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉을 라우터(Rn)로 결정한 후, 수신 패킷을 포워딩한다. 이와 더불어, 라우터(Rc)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블 엔트리(192.168.2.0/24 nexthop Rn)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다름을 감지하여, 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트에 해당하는 정보를 포워딩 테이블에 엔트리로서 추가 등록한다. 도 1d에서 라우터(Rc)의 포워딩 테이블의 엔트리들 중 밑줄친 엔트리가 상술한 방법으로 추가 등록된 엔트리이다.When the mobile station transmits a packet destined for the server, the router Rc does not perform reverse path filtering, looks up the destination IP address of the received packet, looks up the forwarding table, and determines the next hop as the router Rn. , Forward the received packet. In addition, the router (Rc) is configured such that the root of the forwarding table entry (192.168.2.0/24 nexthop Rn) that matches the source IP address of the received packet from the LPM point of view is the source IP address of the received packet, the receiving layer 2 address, and the received packet. Detecting the route determined as the port is different, additional information corresponding to the source IP address of the received packet, the receiving layer 2 address, and the received port is further registered as an entry in the forwarding table. In FIG. 1D, an underlined entry among the entries of the forwarding table of the router Rc is an entry additionally registered by the above-described method.

이러한 과정으로 패킷이 라우터(Rn)에 전달되게 되고, 라우터(Rn)는 마찬 가지의 과정을 수행한다. 즉, 라우터(Rn)는 역 경로 필터링을 수행하지 않고 수신 패킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉을 라우터(Rs)로 결정한 후, 수신 패킷을 포워딩한다. 이와 더불어, 라우터(Rn)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 기존의(즉, 도 1c에서 추가 등록된) 포워딩 테이블 엔트리(192.168.2.1/32 nexthop Rb)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다름을 감지하여, 도 1c에서 추가 등록된 포워딩 테이블 엔트리(192.168.2.1/32 nexthop Rb)를 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트에 해당하는 정보를 포워딩 테이블에 엔트리로서 대체 등록한다. 도 1d에서 라우터(Rn)의 포워딩 테이블의 엔트리들 중 밑줄 친 엔트리가 상술한 방법으로 추가 등록된 엔트리이다.In this process, the packet is delivered to the router Rn, and the router Rn performs the same process. That is, the router Rn looks at the destination IP address of the received packet without performing reverse path filtering, queries the forwarding table, determines the next hop as the router Rs, and then forwards the received packet. In addition, the router (Rn) is the root of the existing forwarding table entry (192.168.2.1/32 nexthop Rb) that matches the source IP address of the received packet in terms of LPM in the LPM perspective of the received packet. Detecting the difference between the source IP address, the receiving layer 2 address, and the route determined by the received port, the forwarding table entry (192.168.2.1/32 nexthop Rb) additionally registered in FIG. 1C is received. The information corresponding to the layer 2 address and the received port is alternately registered as an entry in the forwarding table. In FIG. 1D, an underlined entry among the entries of the forwarding table of the router Rn is an entry registered additionally by the above-described method.

이러한 과정으로 패킷이 라우터(Rs)에 전달되게 되고, 라우터(Rs)는 마찬 가지의 과정을 수행한다. 즉, 라우터(Rs)는 역 경로 필터링을 수행하지 않고 수신 패킷의 목적 IP 주소를 보고 포워딩 테이블을 조회하여, 다음 홉이 로컬 네트워크임을 판단한 후, 수신 패킷을 로컬 네트워크 내의 서버에 전달한다. 이와 더불어, 라우터(Rs)는 수신 패킷의 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블 엔트리(192.168.2.0/24 nexthop Rn)의 루트가 수신 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 정해지는 루트가 다른지를 확인하는데, 이 경우, 두 루트가 동일하므로 포워딩 테이블의 추가 등록이 이루어지지 않는다.In this process, the packet is delivered to the router Rs, and the router Rs performs the same process. That is, the router Rs does not perform reverse path filtering, looks up the destination IP address of the received packet, looks up the forwarding table, determines that the next hop is the local network, and then delivers the received packet to a server in the local network. In addition, the router (Rs) is configured such that the root of the forwarding table entry (192.168.2.0/24 nexthop Rn) matching the source IP address of the received packet from the LPM point of view is the source IP address of the received packet, the receiving layer 2 address, and the received packet. Check whether the route defined as the port is different. In this case, since the two routes are the same, additional registration of the forwarding table is not made.

한편, 도 1b에서 추가 등록된 라우터(Rb)의 포워딩 테이블 엔트리(192.168.2.1/32 connected)는 단말이 네트워크 C로의 이동으로 인해, 사용되어지지 않게 되는데, 그 결과, 에이징 절차에 따라 삭제된다.Meanwhile, in FIG. 1B, the forwarding table entry 192.168.2.1/32 connected of the additionally registered router Rb is not used due to the mobile station moving to network C. As a result, the forwarding table entry 192.168.2.1/32 connected is deleted according to the aging procedure.

도 1e를 설명하면 다음과 같다. 도 1e는 도 1d에 도시된 바와 마찬가지로 단말이 네트워크 C 하에 있는 경우, 서버에서 단말로 패킷을 송신하는 경우를 설명하기 위한 도면이다. 1E is as follows. FIG. 1E is a diagram for describing a case in which a packet is transmitted from a server to a terminal when the terminal is under network C, as shown in FIG. 1D.

도 1c에서 설명한 마찬가지의 원리로, 서버에서 단말로 패킷을 송신하는 경우, 각 라우터(Rs, Rn, Rc)는 도 1d에서 설명한 바와 같이 관리되는 포워딩 테이블을 통해 패킷을 단말로 최적 경로로 전달할 수 있게 된다.In the same principle as described with reference to FIG. 1C, when a server transmits a packet to a terminal, each router (Rs, Rn, Rc) may deliver the packet to the terminal through the managed forwarding table as described in FIG. 1D in the optimal path. Will be.

한편, 도 1e에서, 라우터(Rs)는 수신 패킷의 목적 IP 주소를 보고, 포워딩 테이블 엔트리 {192.168.2.0/24 nexthop Rn}와 매칭됨을 판단한 후, 라우터(Rn)에게 패킷을 전달한다. 라우터(Rn)는 수신 패킷의 목적 IP 주소를 보고, 추가 등록된 포워딩 테이블 엔트리 {192.168.2.1/32 nexthop Rb}와 매칭됨을 판단한 후, 라우터(Rb)에게 패킷을 전달한다. 만약,본 발명과는 달리 추가 등록되지 않았다면, 라우터(Rn)은 LPM 매칭되는 포워딩 엔트리 {192.168.2.0/nexthop Ra}에 따라 패킷을 라우터(Ra)에게 잘못 전달하게 되는 것이다. 라우터(Rb)는 수신 패킷의 목적 IP 주소를 보고, 추가 등록된 포워딩 테이블 엔트리 {192.168.2.1/32 connected}와 매칭됨을 판단한 후, 로컬 네트워크 내에 있는 단말에게 패킷을 전달한다.Meanwhile, in FIG. 1E, the router Rs looks at the destination IP address of the received packet, determines that it matches the forwarding table entry {192.168.2.0/24 nexthop Rn}, and then delivers the packet to the router Rn. The router Rn looks at the destination IP address of the received packet, determines that it matches the additionally registered forwarding table entry {192.168.2.1/32 nexthop Rb}, and then delivers the packet to the router Rb. Unlike the present invention, if not additionally registered, the router Rn incorrectly forwards the packet to the router Ra according to the LPM matching forwarding entry {192.168.2.0/nexthop Ra}. The router Rb looks at the destination IP address of the received packet, determines that it matches the additionally registered forwarding table entry {192.168.2.1/32 connected}, and then delivers the packet to the terminal in the local network.

한편, 도 1b에서 추가 등록된 라우터(Rb)의 포워딩 테이블 엔트리(192.168.2.1/32 connected)는 단말이 네트워크 C로의 이동으로 인해, 사용되어지지 않아, 도 1e에 도시된 바와 같이, 라우터(Rb)의 포워딩 테이블에서 삭제된다.Meanwhile, the forwarding table entry 192.168.2.1/32 connected of the additionally registered router Rb in FIG. 1B is not used because the terminal moves to the network C, and as shown in FIG. 1E, the router Rb Deleted from the forwarding table.

도 2는 본 발명의 일실시예에 따른 3계층 스위칭 기능을 구비한 장치를 나타내는 블록도로서, 포트(200, 202), 처리부(210), 하드웨어 주소 테이블(220), 및 포워딩 테이블(230)을 포함하여 이루어진다. 여기서, RIB 등은 발명의 원리를 간단히 설명하기 위해 도 2에 도시하지 않는 점, 도 2에 도시된 바와는 달리 처리부(210)가 링크 프로토콜 컨트롤러, 네트워크 프로토콜 컨트롤러 등으로 분류/구현될 수 있으므로 본 발명의 범주는 하드웨어 구현에 따라 도 2에 도시된 실시예에 국한되지 않는 점 등은 이 분야에 종사하는 자라면 충분히 이해할 수 있다.FIG. 2 is a block diagram illustrating an apparatus having a three-layer switching function according to an embodiment of the present invention, wherein the ports 200 and 202, the processing unit 210, the hardware address table 220, and the forwarding table 230 are illustrated. It is made, including. Here, RIB and the like are not shown in FIG. 2 for the purpose of briefly explaining the principles of the invention. Unlike in FIG. 2, the processing unit 210 may be classified / implemented as a link protocol controller, a network protocol controller, or the like. The scope of the present invention is not limited to the embodiment shown in FIG. 2 according to the hardware implementation, and those skilled in the art can fully understand.

패킷은 포트(200 또는 202)로/로부터 입력/출력된다.Packets are input / output to / from port 200 or 202.

처리부(210)는 해당 포트(200 또는 202)로부터 수신된 패킷의 다음 홉 및 출력 포트(200 또는 202)를 결정한 후, 상기 결정된 다음 홉으로 전송하기 위한 계층 처리를 수행한 후, 상기 결정된 출력 포트(200 또는 202)로 출력하는 방식으로 패킷 포워딩을 수행한다.The processor 210 determines the next hop and the output port 200 or 202 of the packet received from the corresponding port 200 or 202, and then performs hierarchical processing to transmit the determined next hop, and then determines the determined output port. Packet forwarding is performed by outputting to 200 or 202.

하드웨어 주소 테이블(220)는 ARP(Address Resolution Protocol) 캐쉬(cache) 등의 형태로 처리부(210)에 의해 관리되며, 하드웨어 주소 테이블(220)에는 각 포트(200, 202)에 연결된 로컬 네트워크(로컬 서브넷) 내의 IP 노드(즉, IP 호스트 및 라우터)의 2계층 주소(예컨대, MAC 주소), IP 주소 등이 등록/저장된다.The hardware address table 220 is managed by the processing unit 210 in the form of an Address Resolution Protocol (ARP) cache and the like, and the hardware address table 220 includes a local network (local) connected to each of the ports 200 and 202. Layer 2 addresses (eg, MAC addresses), IP addresses, etc. of IP nodes (ie, IP hosts and routers) within the subnet are registered / stored.

포워딩 테이블(230)은 RIB(미도시)를 기반으로 처리부(210)에 의해 관리되며, 포워딩 테이블(230)에는 도 1a 내지 도 1e에 도시된 바와 같이 네트워크 주소(IP 주소), 다음 홉 정보(예컨대, 다음 홉 라우터의 IP 주소) 등으로 이루어지는 루트가 등록/저장된다.The forwarding table 230 is managed by the processor 210 based on the RIB (not shown). The forwarding table 230 includes a network address (IP address) and next hop information (as shown in FIGS. 1A to 1E). For example, a route consisting of the next hop router IP address) or the like is registered / stored.

도 2를 참조하면, 처리부(210)는 검출부(212), 등록부(214), 및 포워딩부(216)를 포함하여 이루어진다.Referring to FIG. 2, the processor 210 includes a detector 212, a register 214, and a forwarding unit 216.

검출부(212)는 수신 패킷의 수신 루트를 검출한다. 일례로, 수신 루트는 수신 패킷의 소스 IP 주소, 소스 2계층 주소, 및 수신된 포트(200 또는 202)를 기초로, 정해진다.The detection unit 212 detects a reception route of the received packet. In one example, the receive route is determined based on the source IP address, source layer 2 address, and received port 200 or 202 of the received packet.

등록부(214)는 검출된 수신 루트와 포워딩 테이블(230)에 등록된 루트가 서로 다르면, 패킷을 송신한 단말(이하, 송신 단말)이 네트워크 간의 이동을 수행한 것으로 판단하여 수신 루트를 등록한다. 일례로, 등록부(214)는 소스 IP 주소, 소스 2계층 주소, 및 수신된 포트(200 또는 202)로 정해지는 루트(즉, 검출된 루트)가 소스 IP 주소와 LPM 관점에서 매칭되는 포워딩 테이블(230)의 엔트리의 루트와 다른 경우, 단말이 이동한 것으로 판단하고, 수신 패킷의 소스 IP 주소, 소스 2계층 주소, 및 수신된 포트(200 또는 202)에 해당하는 정보를 엔트리로서 포워딩 테이블(230)에 반영한다. 일례로, 검출된 수신 루트와 기등록 루트가 다른 경우, 등록부(214)는 패킷의 소스 IP 주소에 매칭되는 기등록 루트의 IP 주소가 소스 IP 주소와 다르면 수신 루트를 추가 등록하고, 패킷의 소스 IP 주소에 매칭되는 기등록 루트의 IP 주소가 소스 IP 주소와 동일하면 상기 매칭되는 기등록 루트 대신에 수신 루트를 대체 등록한다.If the detected reception route and the route registered in the forwarding table 230 are different from each other, the registration unit 214 determines that the terminal that transmits the packet (hereinafter, referred to as a transmission terminal) has moved between networks and registers the reception route. In one example, the register 214 may include a forwarding table in which a source IP address, a source two-layer address, and a route defined by the received port 200 or 202 (that is, a detected route) are matched in terms of the source IP address and the LPM. If it is different from the root of the entry of 230, it is determined that the terminal has moved, and the information corresponding to the source IP address, the source layer 2 address, and the received port 200 or 202 of the received packet is forwarded as the entry table 230. To reflect). For example, if the detected reception route and the pre-registered route are different, the registration unit 214 further registers the reception route if the IP address of the pre-registered route matching the source IP address of the packet is different from the source IP address, and the source of the packet. If the IP address of the registered route matching the IP address is the same as the source IP address, the receiving route is registered instead of the matching registered route.

한편, 등록부(214)는 포워딩 테이블(230)의 효율적 운용을 위해, 등록된 수신 루트가 소정 기간 사용되지 않는 경우, 상기 등록된 수신 루트를 삭제한다.Meanwhile, the registration unit 214 deletes the registered reception route when the registered reception route is not used for a predetermined period for efficient operation of the forwarding table 230.

포워딩부(216)는 수신 패킷의 소스 IP 주소에 매칭되는 포워딩 테이블(230) 엔트리를 찾아, 다읍 홉 및 출력 포트(200 또는 202)을 결정한 후, 상기 결정된 다 음 홉으로 패킷이 전달되기 위한 처리를 수행하여 상기 결정된 출력 포트(200 또는 202)를 통하여 패킷을 출력한다. 보다 구체적인 일례로, 매칭되는 포워딩 테이블(230) 엔트리가 도 1a 내지 도 1e에 도시된 connected인 경우, 포워딩부(216)는 패킷의 목적 IP 주소로 하드웨어 주소 테이블(220)을 조회한 후, 2계층 주소를 포함한 2계층 헤더를 패킷에 추가하여 해당 출력 포트(200 또는 202)에 제공한다. 또한, 다른 구체적인 일례로, 매칭되는 포워딩 테이블(230) 엔트리가 도 1a 내지 도 1e에 도시된 192.168.2.0/24 nexthop Rn인 경우, 포워딩부(216)는 다음 홉에 대한 정보(Rn의 IP 주소)에 대응되는 2계층 주소를 하드웨어 주소 테이블(220)로부터 획득한 후, 2계층 주소를 포함한 2계층 헤더를 패킷에 추가하여 해당 출력 포트(200 또는 202)에 제공한다.The forwarding unit 216 finds a forwarding table 230 entry matching the source IP address of the received packet, determines the next hop and the output port 200 or 202, and then processes the packet to be forwarded to the determined next hop. To output a packet through the determined output port 200 or 202. As a more specific example, when the matching forwarding table 230 entry is connected shown in FIGS. 1A to 1E, the forwarding unit 216 inquires the hardware address table 220 with the destination IP address of the packet, and then 2 A layer 2 header containing the layer address is added to the packet and provided to the corresponding output port 200 or 202. In another specific example, when the matching forwarding table 230 entry is 192.168.2.0/24 nexthop Rn illustrated in FIGS. 1A to 1E, the forwarding unit 216 may provide information about the next hop (the IP address of Rn). After obtaining the second layer address corresponding to the second layer address from the hardware address table 220, a second layer header including the second layer address is added to the packet and provided to the corresponding output port 200 or 202.

바람직하게, 포워딩부(236)는 수신 패킷의 소스 IP 주소, 소스 2계층 주소, 및 수신된 포트로 정해지는 루트가 소스 IP 주소에 LPM 관점에서 매칭되는 포워딩 테이블(230) 엔트리의 루트와 다르더라도, 수신 패킷을 폐기(discard)하지 않고, 패킷 포워딩을 수행한다.Preferably, the forwarding unit 236, even if the route determined by the source IP address, source layer 2 address, and the received port of the received packet is different from the route of the forwarding table 230 entry that matches the source IP address in terms of LPM The packet forwarding is performed without discarding the received packet.

한편, 도 2에 도시된 바와는 달리, 본 발명에 따른 3계층 스위칭 기능을 구비한 장치는 저장부(미도시)를 별도로 구비하여, 포워딩 테이블(230)을 기존의 운용 방식대로 관리하되, 저장부에는 본 발명의 학습 과정에서 얻어지는 루트(즉, 엔트리)를 추가 등록 및 대체 등록되도록, 저장부를 관리하는 실시예도 가능하다. 이러한 실시예에 따르면, 등록부(214)는 송신 단말의 네트워크 간의 이동이 감지되면, 수신 패킷의 소스 IP 주소, 소스 2계층 주소, 및 수신된 포트에 해당하는 정보 를 저장부에 저장하며, 포워딩부(216)는 포워딩 테이블(230)보다 저장부를 우선적으로 조회하여 패킷 포워딩을 수행한다.On the other hand, unlike shown in Figure 2, the device with a three-layer switching function according to the present invention is provided with a separate storage unit (not shown), to manage the forwarding table 230 according to the existing operation method, but In the embodiment, an embodiment of managing the storage unit may be configured to additionally register and substitute a route (that is, an entry) obtained in the learning process of the present invention. According to this embodiment, the registration unit 214, when the movement between the network of the transmitting terminal is detected, stores the information corresponding to the source IP address, source layer 2 address, and the received port of the received packet in the storage unit, the forwarding unit In operation 216, the storage unit is inquired prior to the forwarding table 230, and packet forwarding is performed.

이러한 본원 발명인 방법 및 장치는 이해를 돕기 위하여 도면에 도시된 실시예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 당해 분야에서 통상적 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위에 의해 정해져야 할 것이다.Such a method and apparatus of the present invention have been described with reference to the embodiments shown in the drawings for clarity, but these are merely exemplary, and various modifications and equivalent other embodiments are possible to those skilled in the art. Will understand. Therefore, the true technical protection scope of the present invention will be defined by the appended claims.

본 발명에 따르면, 3계층 스위칭 기능을 구비한 장치에서 효율적으로 단말의 이동성을 지원할 수 있다. 터널링 방식은 그 복잡성으로 인해, 하드웨어 적인 구현이 어렵지만, 본 발명에 따른 방식은 ASIC으로 구현 가능할 정도로 단순하며, 우수한 패킷 처리 성능을 얻을 수 있다. 더불어, 단말의 이동성을 지원하는 라우터의 저가화를 가능하게 하며, 경로가 최적화되므로 망의 효율성도 높일 수 있다.According to the present invention, a device having a three-layer switching function can efficiently support mobility of a terminal. Although the tunneling method is difficult to implement in hardware due to its complexity, the method according to the present invention is simple enough to be implemented in an ASIC, and excellent packet processing performance can be obtained. In addition, it is possible to lower the cost of the router supporting the mobility of the terminal, and the efficiency of the network can be improved because the path is optimized.

Claims (8)

포워딩 테이블의 엔트리들 중에서, 수신된 패킷의 목적 IP 주소와 최장 프리픽스 매칭되는 엔트리에 해당하는 다음 홉으로 상기 수신된 패킷을 포워딩하는 포워딩부;A forwarding unit, among the entries of a forwarding table, to forward the received packet to a next hop corresponding to an entry matching a longest prefix with a destination IP address of the received packet; 상기 수신된 패킷의 수신 루트 - 상기 패킷의 소스 IP 주소, 수신 2계층 주소, 및 수신된 포트로 결정됨 - 를 검출하는 검출부; 및A detection unit that detects a reception route of the received packet, which is determined by a source IP address, a reception layer 2 address, and a reception port of the packet; And 상기 포워딩 테이블의 엔트리들 중에서 상기 패킷의 소스 IP 주소와 최장 프리픽스 매칭되는 엔트리를 검출하되,Detecting an entry in the forwarding table that matches the longest prefix with the source IP address of the packet, 상기 검출된 엔트리로 정해지는 루트가 상기 검출된 수신 루트와 다르고 상기 검출된 엔트리에 포함된 IP 주소가 상기 패킷의 소스 IP 주소와 다르면, 상기 수신 루트에 해당하는 엔트리를 상기 포워딩 테이블에 추가 등록하고,If the route defined as the detected entry is different from the detected receiving route and the IP address included in the detected entry is different from the source IP address of the packet, an entry corresponding to the receiving route is additionally registered in the forwarding table. , 상기 검출된 엔트리로 정해지는 루트가 상기 검출된 수신 루트와 다르고, 상기 검출된 엔트리에 포함된 IP 주소가 상기 패킷의 소스 IP 주소와 동일하면, 상기 검출된 엔트리를 상기 수신 루트에 해당하는 엔트리로 상기 포워딩 테이블에 대체 등록하는 등록부를 포함하는 것을 특징으로 하는 OSI(Open Systems Interconnection) 3계층 스위칭 기능을 구비한 장치.If the route determined by the detected entry is different from the detected receiving route, and the IP address included in the detected entry is the same as the source IP address of the packet, the detected entry is replaced with an entry corresponding to the receiving route. And a registration unit configured to alternately register in the forwarding table. 삭제delete 삭제delete 삭제delete 제1항에 있어서, 상기 등록부는The method of claim 1, wherein the registration unit 상기 추가 등록되거나 대체 등록된 엔트리가 미리 설정된 기간 동안 사용되지 않는 경우, 상기 추가되거나 대체 등록된 엔트리를 삭제하는 것을 특징으로 하는 OSI(Open Systems Interconnection) 3계층 스위칭 기능을 구비한 장치.And when the additionally registered or alternately registered entry is not used for a preset period of time, deleting the additionally or alternately registered entry. 삭제delete 삭제delete 삭제delete
KR1020070098711A 2007-10-01 2007-10-01 Apparatus having layer 3 switching function KR100941118B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070098711A KR100941118B1 (en) 2007-10-01 2007-10-01 Apparatus having layer 3 switching function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070098711A KR100941118B1 (en) 2007-10-01 2007-10-01 Apparatus having layer 3 switching function

Publications (2)

Publication Number Publication Date
KR20090033607A KR20090033607A (en) 2009-04-06
KR100941118B1 true KR100941118B1 (en) 2010-02-10

Family

ID=40759820

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070098711A KR100941118B1 (en) 2007-10-01 2007-10-01 Apparatus having layer 3 switching function

Country Status (1)

Country Link
KR (1) KR100941118B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225907A1 (en) 2002-06-04 2003-12-04 Ram Krishnan Forwarding traffic in a network using a single forwarding table that includes forwarding information related to a plurality of logical networks
US20060153193A1 (en) 2005-01-07 2006-07-13 In-Ho Kim Network routing control method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030225907A1 (en) 2002-06-04 2003-12-04 Ram Krishnan Forwarding traffic in a network using a single forwarding table that includes forwarding information related to a plurality of logical networks
US20060153193A1 (en) 2005-01-07 2006-07-13 In-Ho Kim Network routing control method and apparatus

Also Published As

Publication number Publication date
KR20090033607A (en) 2009-04-06

Similar Documents

Publication Publication Date Title
US8792388B2 (en) Network system, controller, method and program
US8065434B2 (en) Method and device for maintaining routes
KR101340495B1 (en) Implementation method and system of virtual private network
US9628377B2 (en) Method for link failure detection and session transfer to a lively link in the multihoming environment of ID/locator split-based networks
US9391887B2 (en) Mapping server, network system, packet forwarding method and program
US9407493B2 (en) System and apparatus for router advertisement options for configuring networks to support multi-homed next hop routes
Rentschler et al. The parallel redundancy protocol for industrial IP networks
JP2013504959A (en) Method and system for realizing virtual private network
CN110535768B (en) Multicast data transmission method and related equipment
RU2007109068A (en) WAYS AND DEVICES FOR SUPPORTING VPN WITH MOBILITY MANAGEMENT
CN104601475A (en) Router port based packet transmitting method and device
EP2619953A1 (en) A control apparatus, a communication system, a communication method and a recording medium having recorded thereon a communication program
CN103117930B (en) The detection method of static routing configuration and device
Jayakumar et al. A comparative study on RIP and OSPF protocols
US20160182370A1 (en) Probe Routing in a Network
WO2007031006A1 (en) A virtual switching method which could be routed
US10715431B2 (en) Methods and apparatuses for routing data packets in a network topology
CN101552714B (en) Method and device for realizing traffic engineering in multi-home and multi-address space network
KR100941118B1 (en) Apparatus having layer 3 switching function
JP2013078087A (en) Vpn termination device, communication system, packet forwarding method, and program
JP4357310B2 (en) Communication method and communication apparatus for simultaneous connection to a plurality of networks
KR100552518B1 (en) The apparatus for implementation of ECMP in Network Processor
Lara et al. Cut-through switching options in a mobilityfirst network with openflow
JP5768600B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, PACKET TRANSFER METHOD, AND PROGRAM
Urabayashi et al. Node-failure robustness of inter-layer 3 networking with ID/Locator separation architecture

Legal Events

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

Payment date: 20121226

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140129

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160201

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180201

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20190201

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20200130

Year of fee payment: 11