KR101016035B1 - Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers - Google Patents

Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers Download PDF

Info

Publication number
KR101016035B1
KR101016035B1 KR1020100082393A KR20100082393A KR101016035B1 KR 101016035 B1 KR101016035 B1 KR 101016035B1 KR 1020100082393 A KR1020100082393 A KR 1020100082393A KR 20100082393 A KR20100082393 A KR 20100082393A KR 101016035 B1 KR101016035 B1 KR 101016035B1
Authority
KR
South Korea
Prior art keywords
port
router
vrid
vlan
master
Prior art date
Application number
KR1020100082393A
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 KR1020100082393A priority Critical patent/KR101016035B1/en
Application granted granted Critical
Publication of KR101016035B1 publication Critical patent/KR101016035B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Abstract

PURPOSE: A method for implementing a fault-tolerant network using VRRP(Virtual Router Redundancy Protocol) is provided to independently apply a duplication of router with equipment. CONSTITUTION: A 1-1 port of a first router(10) comprises a first VRID(Virtual Route Identifier) and a first VLAN(Virtual Local Area Network). A 1-2 port of the first router comprises a second VRID and a second VLAN. The 1-1 port and the 1-2 port are set as a master. A 2-1 port of a second router(20) comprises the first VRID and the first VLAN. The 2-2 port of the second router comprises the second VRID and the second VLAN. The 2-1 port and 2-2 port are set as the backup.

Description

VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크 및 라우터의 이중화 구현 방법{Fault-tolerant network using VRRP and implementing fault-tolerance of network and routers}Fault-tolerant network using VRRP and implementing fault-tolerance of network and routers}

본 발명은 네트워크 장치의 이중화에 관한 것으로 보다 상세하게는 VRRP를 이용한 라우터의 이중화에 관한 것이다.The present invention relates to duplication of network devices, and more particularly to duplication of routers using VRRP.

VRRP(Virtual Router Redundancy Protocol)란 근거리 통신망 상에서 정적으로 설정된 기본 라우터를 사용할 때, 하나 이상의 백업 라우터를 가질 수 있는 방법을 제공하는 표준 프로토콜이다.VRRP (Virtual Router Redundancy Protocol) is a standard protocol that provides a way to have more than one backup router when using a statically configured default router on a local area network.

도 1은 기존에 VRRP를 이용하여 라우터의 이중화가 구현된 네트워크를 나타낸다. 1 illustrates a network in which router duplication is conventionally implemented using VRRP.

도 1에서 네트워크는 라우터 1(1), 라우터 2(2), 스위치(3)가 근거리 네트워크(LAN)으로 연결되어 있다. 라우터 1(1), 라우터 2(2) 중 하나는 마스터 라우터이고, 다른 하나는 백업 라우터이다. 마스터 라우터와 백업 라우터는 실제로는 서로 다른 별도의 IP 주소와 MAC 주소르 가지지만, 동일한 가상 IP 주소와 가상 MAC 주소가 설정된다. 스위치(3)에 연결된 호스트(미도시)에서는 디폴트 라우터, 즉 게이트웨이의 IP 주소를 상기 가상 IP 주소와 동일하게 설정하여 장애 발생 이전에는 마스터 라우터를 이용하여 패킷을 전송한다. 마스터 라우터에 장애가 발생한 경우 백업 라우터가 장애 발생을 감지하고 그 이후에는 마스터 라우터의 역할을 대신하여 호스트들의 디폴트 라우터로 동작하게 된다.In FIG. 1, router 1 (1), router 2 (2), and switch 3 are connected to a local area network (LAN). One of Router 1 (1) and Router 2 (2) is the master router, and the other is the backup router. The master and backup routers actually have separate IP addresses and MAC addresses, but the same virtual IP address and virtual MAC address are set. The host (not shown) connected to the switch 3 sets the IP address of the default router, that is, the gateway, to be the same as the virtual IP address, and transmits the packet using the master router before a failure occurs. If the master router fails, the backup router detects the failure and then acts as the default router for the hosts in place of the master router.

즉, 도시된 바와 같이 두 라우터의 가상 IP 주소를 10.10.10.3으로 동일하게 하고, 가상 MAC 주소도 00:00:5E:00:10:00으로 동일하게 한다. 결과적으로 두 라우터의 ARP 주소는 10.10.10.3 00:00:5E:00:10:00으로 동일하므로 라우터 1(1)에서 라우터 2(2)로 디폴트 게이트웨이가 전환되더라도 통신에는 문제가 없게 된다.That is, as shown, the virtual IP addresses of the two routers are equal to 10.10.10.3, and the virtual MAC addresses are equal to 00: 00: 5E: 00: 10: 00. As a result, the ARP address of the two routers is the same as 10.10.10.3 00: 00: 5E: 00: 10: 00, so there is no problem in communication even if the default gateway is switched from router 1 (1) to router 2 (2).

VRRP에 따르면, 마스터 라우터는 자신이 마스터 라우터임을 백업 라우터에게 주기적으로 광고(Advertisement)한다. 광고 메시지으 목적지 주소는 멀티캐스트 형태로, LAN에 위치하는 네트워크 요소들이 수신할 수 있도록 한다. 초기에 마스터 라우터와 백업 라우터의 구분은 우선 순위(priority)에 의하여 결정할 수 있는데, 높은 우선 순위 값을 가진 라우터가 마스터 라우터가 된다. 즉 우선 순위 값이 다른 라우터들에 비해 높으면 마스터 상태가 되고 낮으면 백업 상태가 된다. 백업 라우터는 마스터 라우터가 송신한 광고 메시지로부터 마스터 라우터가 다운되었는지 판단할 수 있는데, 만일 일정 시간 광고 메시지를 수신하지 못하면 마스터 라우터가 다운된 것으로 간주하고 마스터 라우터의 역할을 대신한다.According to VRRP, the master router periodically advertises to the backup router that it is the master router. The destination address in the advertisement message is multicast, allowing network elements located on the LAN to receive it. Initially, the separation between the master router and the backup router can be determined by priority. The router having the highest priority value becomes the master router. In other words, if the priority value is higher than other routers, it becomes a master state, and if it is low, it is a backup state. The backup router may determine whether the master router is down from the advertisement message sent by the master router. If the advertisement router does not receive the advertisement message for a certain time, the backup router assumes that the master router is down and takes the role of the master router.

상기된 기존의 라우터 이중화 구조에 의하면, 마스터 라우터에 여러 링크가 연결되어 있을 때 어느 하나의 링크가 페일(fail)이 난 경우에 마스터 라우터에 장애가 발생된 것으로 판단되어 마스터 라우터가 백업 상태로 전환되고 백업 라우터가 마스터 상태로 전환된다. 이렇게 되면 하나의 링크에 문제가 생긴 것임에도 라우터가 통째로 마스터와 백업이 전환되어 이와 연동하는 장비의 인터페이스가 전환되는 비효율성이 있다.According to the conventional router duplication structure described above, when one link fails when multiple links are connected to the master router, it is determined that the master router has failed and the master router is switched to a backup state. The backup router goes into the master state. In this case, even though one link has a problem, the router has an inefficiency in switching the interface between the master and the backup device.

따라서 본 발명이 이루고자 하는 기술적 과제는 라우터에 연결된 일부 링크가 페일이 난 경우에 라우터와 연동하는 장비들 간에 이중화가 독립적으로 적용되는, VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크 및 VRRP를 이용하여 라우터의 이중화를 구현하는 방법을 제공하는 데 있다.Therefore, the technical problem to be achieved by the present invention is to use the network and VRRP that implements the redundancy of the router using VRRP, in which redundancy is independently applied between devices interworking with the router when some links connected to the router fail. To provide a way to implement router redundancy.

상기 기술적 과제를 해결하기 위하여 본 발명에 따른, VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크는, 제1-1 포트와 제1-2 포트를 가지는 제1 라우터로서, 상기 제1-1 포트는 제1 VRID와 제1 VLAN으로 설정되고, 상기 제1-2 포트는 제2 VRID와 제2 VLAN으로 설정되며, 상기 제1-1 포트 및 상기 제1-2 포트가 마스터로 설정되는 제1 라우터; 및 제2-1 포트 및 제2-2 포트를 가지는 제2 라우터로서, 상기 제2-1 포트는 상기 제1 VRID와 상기 제1 VLAN으로 설정되고, 상기 제2-2 포트는 상기 제2 VRID와 상기 제2 VLAN으로 설정되고, 상기 제2-1 포트 및 상기 제2-2 포트가 백업으로 설정되는 제2 라우터를 포함하는 것을 특징으로 한다.In order to solve the above technical problem, a network implementing redundancy of a router using VRRP according to the present invention is a first router having a 1-1 port and a 1-2 port. A first router configured with a first VRID and a first VLAN, the first port 1-2 with a second VRID, and a second VLAN set with the first port 1-1 and the port 1-2 configured as a master ; And a second router having a 2-1 port and a 2-2 port, wherein the 2-1 port is set to the first VRID and the first VLAN, and the second-2 port is the second VRID. And a second router configured as the second VLAN, and wherein the second-1 port and the second-2 port are set as backup.

일 실시예에서, 상기 제1 라우터는 제1-3 포트를 더 가지고, 상기 제2 라우터는 제2-3 포트를 더 가지며, 상기 제1-3 포트와 상기 제2-3 포트는 서로 연결된다.In one embodiment, the first router further has a first-3 port, the second router further has a second-3 port, and the first-3 port and the second-3 port are connected to each other. .

일 실시예에서, 상기 제1-1 포트에 연결된 링크가 페일인 경우에, 상기 제2-1 포트가 마스터로 전환되고 상기 제1-1 포트가 백업으로 전환된다.In one embodiment, if the link connected to the 1-1st port is a fail, the 2-1st port is switched to the master and the 1-1st port is switched to backup.

일 실시예에서, 상기 제2-1 포트가 마스터로 전환되면, 상기 제2 라우터는 상기 제2-1 포트로 유입되는 패킷을 상기 제2-3 포트를 통하여 상기 제1 라우터로 전달한다.In one embodiment, when the second-1 port is switched to the master, the second router forwards the packet flowing into the second-1 port to the first router through the second-3 port.

일 실시예에서, 상기 제1-1 포트가 백업으로 전환되면, 상기 제1 라우터는 상기 제1-1 포트로 출력할 패킷을 상기 제1-3 포트를 통하여 상기 제2 라우터로 전달한다.In one embodiment, when the first-first port is switched to a backup, the first router forwards a packet to be output to the first-first port to the second router through the first-third port.

일 실시예에서, 액세스 제어 목록(ACL)을 이용하여, 상기 제2-1 포트로 유입되는 패킷이 상기 제2-3 포트를 통하여 출력되도록 하거나, 또는 상기 제1-1 포트로 출력할 패킷을 상기 제1-3 포트를 통하여 출력되도록 한다.In one embodiment, an access control list (ACL) is used to allow packets flowing into the port 2-1 to be output through the port 2-3 or to output packets to the port 1-1. Output through the 1-3 port.

상기 기술적 과제를 해결하기 위하여 본 발명에 따른, VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크는, 적어도 두 개의 포트를 가지는 제1 라우터로서, 상기 두 개의 포트는 서로 다른 VRID와 VLAN ID로 설정되고, 각각 마스터로 설정되는 제1 라우터; 및 적어도 두 개의 포트를 가지는 제2 라우터로서, 상기 두 개의 포트 중 하나는 상기 제1 라우터의 어느 하나의 포트와 동일한 VRID와 VLAN ID로 설정되고, 상기 두 개의 포트 중 다른 하나는 상기 제1 라우터의 다른 하나의 포트와 동일한 VRID와 VLAN ID로 설정되고, 상기 두 개의 포트는 각각 백업으로 설정되는 제2 라우터를 포함하는 것을 특징으로 한다.In order to solve the above technical problem, a network implementing redundancy of a router using VRRP according to the present invention is a first router having at least two ports, and the two ports are set to different VRIDs and VLAN IDs. A first router configured as a master, respectively; And a second router having at least two ports, wherein one of the two ports is set to the same VRID and VLAN ID as any one port of the first router, and the other one of the two ports is the first router. It is set to the same VRID and VLAN ID as the other port of the, characterized in that each of the two ports includes a second router is set as a backup.

일 실시예에서, 상기 제1 라우터 및 상기 제2 라우터는 각각 하나의 포트를 더 가지고, 이 두 포트는 서로 연결된다.In one embodiment, the first router and the second router each have one more port, and the two ports are connected to each other.

일 실시예에서, 상기 제1 라우터의 어느 하나의 포트에 연결된 링크가 페일인 경우에, 해당 포트와 동일한 VRID와 VLAN ID로 설정된 상기 제2 라우터의 어느 하나의 포트가 마스터로 전환되고 상기 해당 포트가 백업으로 전환된다.In one embodiment, when the link connected to any one port of the first router is a fail, any one port of the second router set to the same VRID and VLAN ID as the corresponding port is switched to the master and the corresponding port Is switched to backup.

일 실시예에서, 상기 제2 라우터의 어느 하나의 포트가 마스터로 전환되면, 상기 제2 라우터는 상기 마스터로 전환된 포트로 유입되는 패킷을 상기 더 가지는 포트를 통하여 상기 제1 라우터로 전달한다.In one embodiment, when any one port of the second router is switched to the master, the second router forwards the packet flowing into the port switched to the master to the first router through the further port.

일 실시예에서, 상기 제1 라우터의 상기 해당 포트가 백업으로 전환되면, 상기 제1 라우터는 상기 해당 포트로 출력할 패킷을 상기 더 가지는 포트를 통하여 상기 제2 라우터로 전달한다.In one embodiment, when the corresponding port of the first router is switched to a backup, the first router forwards a packet to be output to the corresponding port to the second router through the further port.

일 실시예에서, 액세스 제어 목록(ACL)을 이용하여, 제2 라우터에서 상기 마스터로 전환된 포트로 유입되는 패킷이 상기 더 가지는 포트를 통하여 출력되도록 하거나, 또는 상기 제1 라우터에서 상기 해당 포트로 출력할 패킷을 상기 더 가지는 포트를 통하여 출력되도록 한다.In one embodiment, using an access control list (ACL), a packet flowing from a second router to the master port is output through the further port, or from the first router to the corresponding port. The packet to be output is output through the port having the further.

상기 기술적 과제를 해결하기 위하여 본 발명에 따른, VRRP를 이용하여 라우터의 이중화를 구현하는 방법은, 제1-1 포트와 제1-2 포트를 가지는 제1 라우터를 설정하는 단계로서, 상기 제1-1 포트는 제1 VRID와 제1 VLAN으로 설정하고, 상기 제1-2 포트는 제2 VRID와 제2 VLAN으로 설정하며, 상기 제1-1 포트 및 상기 제1-2 포트를 마스터로 설정하는 단계; 및 제2-1 포트 및 제2-2 포트를 가지는 제2 라우터를 설정하는 단계로서, 상기 제2-1 포트는 상기 제1 VRID와 상기 제1 VLAN으로 설정하고, 상기 제2-2 포트는 상기 제2 VRID와 상기 제2 VLAN으로 설정하고, 상기 제2-1 포트 및 상기 제2-2 포트를 백업으로 설정하는 단계를 포함하는 것을 특징으로 한다.In order to solve the above technical problem, a method of implementing redundancy of a router using VRRP according to the present invention comprises the steps of: setting a first router having a 1-1 port and a 1-2 port; Port -1 is set to the first VRID and the first VLAN, port 1-2 is set to the second VRID and the second VLAN, and port 1-1 and port 1-2 are set to the master. Making; And setting a second router having a 2-1 port and a 2-2 port, wherein the 2-1 port is set to the first VRID and the first VLAN, and the 2-2 port is And setting the second VRID and the second VLAN, and setting the second-1 port and the second-2 port as a backup.

일 실시예에서, 상기 제1 라우터는 제1-3 포트를 더 가지고, 상기 제2 라우터는 제2-3 포트를 더 가지며, 상기 제1-3 포트와 상기 제2-3 포트는 서로 연결되고, 상기 이중화 구현 방법은, 상기 제1-1 포트에 연결된 링크가 페일인 경우에 상기 제2-1 포트가 마스터로 전환되면, 상기 제2-1 포트로 유입되는 패킷이 상기 제2-3 포트를 통하여 출력되도록 상기 제2 라우터를 설정하는 단계를 더 포함한다.In one embodiment, the first router further has a first-3 port, the second router further has a second-3 port, the first-3 port and the second-3 port are connected to each other In the redundant implementation method, when the 2-1 port is switched to the master when the link connected to the 1-1 port is a fail, the packet flowing into the 2-1 port is transmitted to the 2-3 port. Setting the second router to be output through the.

일 실시예에서, 상기 이중화 구현 방법은, 상기 제1-1 포트에 연결된 링크가 페일인 경우에 상기 제1-1 포트가 백업으로 전환되면 상기 제1-1 포트로 출력할 패킷이 상기 제1-3 포트를 통하여 출력되도록 상기 제1 라우터를 설정하는 단계를 더 포함한다.In an embodiment, the method for implementing redundancy may include outputting a packet to be output to the first-first port when the first-first port is switched to backup when the link connected to the first-first port is failed. Configuring the first router to be output through a port -3.

일 실시예에서, 상기 제2 라우터에서 상기 패킷이 상기 제2-3 포트를 통하여 출력되도록 하는 설정 또는 상기 제1 라우터에서 상기 패킷이 상기 제1-3 포트를 통하여 출력되도록 하는 설정은 액세스 제어 목록(ACL)을 이용하여 설정한다.In one embodiment, the setting to output the packet through the second-3 port at the second router or the setting to output the packet through the port 1-3 at the first router is an access control list. Set using (ACL).

상술한 본 발명은, 라우터에 연결된 일부 링크가 페일이 난 경우에 라우터와 연동하는 장비들 간에 이중화가 독립적으로 적용되는, VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크 및 VRRP를 이용하여 라우터의 이중화를 구현하는 방법을 제공한다.In the above-described present invention, redundancy of a router using VRRP and a network implementing redundancy of a router using VRRP, where redundancy is independently applied between devices interworking with the router when some links connected to the router fail. Provides a way to implement it.

도 1은 기존에 VRRP를 이용하여 라우터의 이중화가 구현된 네트워크를 나타낸다.
도 2는 본 발명의 일 실시예에 따른, VRRP를 이용하여 라우터의 이중화를 구현한 네트워크의 구조이다.
도 3a 내지 3c는 제1 라우터(10) 및 제2 라우터(20)의 설정을 나타내는 명령이다.
도 4는 제1 라우터(10)와 제2 라우터(20)의 각 포트의 설정을 도식화한 도면이다.
도 5는 정상 상태에서 제1 디바이스(50)로부터 제2 디바이스(60)로 패킷이 전달되는 모습을 나타낸다.
도 6은 제1 라우터(10)의 제1-1 포트에 연결된 링크가 페일인 경우의 패킷 흐름의 일 예를 나타낸다.
도 7은 도 6의 경우 제1 라우터(10)와 제2 라우터(20)에서 각 포트를 통한 패킷의 흐름을 도식화한 도면이다.
도 8은 제1 라우터(10)의 제1-1 포트에 연결된 링크가 페일인 경우의 패킷 흐름의 다른 예를 나타낸다.
도 9는 도 8의 경우 제1 라우터(10)와 제2 라우터(20)에서 각 포트를 통한 패킷의 흐름을 도식화한 도면이다.
1 illustrates a network in which router duplication is conventionally implemented using VRRP.
2 is a diagram of a network implementing router redundancy using VRRP according to an embodiment of the present invention.
3A to 3C are commands showing the settings of the first router 10 and the second router 20.
4 is a diagram illustrating the setting of each port of the first router 10 and the second router 20.
5 shows a state in which a packet is transferred from the first device 50 to the second device 60 in the normal state.
6 illustrates an example of a packet flow when a link connected to a 1-1 port of the first router 10 is a fail.
FIG. 7 is a diagram illustrating a packet flow through each port in the first router 10 and the second router 20 in FIG. 6.
8 shows another example of packet flow when a link connected to a 1-1 port of the first router 10 is a fail.
FIG. 9 is a diagram illustrating the flow of packets through each port in the first router 10 and the second router 20 in FIG. 8.

이하에서는 도면을 참조하여 본 발명의 바람직한 실시예들을 상세히 설명한다. 이하 설명 및 첨부된 도면들에서 실질적으로 동일한 구성요소들은 각각 동일한 부호들로 나타냄으로써 중복 설명을 생략하기로 한다. 또한 본 발명을 설명함에 있어 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그에 대한 상세한 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the accompanying drawings, substantially the same components are denoted by the same reference numerals, and redundant description will be omitted. In addition, in the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 2는 본 발명의 일 실시예에 따른, VRRP를 이용하여 라우터의 이중화를 구현한 네트워크의 구조이다.2 is a diagram of a network implementing router redundancy using VRRP according to an embodiment of the present invention.

도 2에서 네트워크는 제1 라우터(10), 제2 라우터(20), 제1 및 제2 스위치(30, 40), 제1 및 제2 디바이스(50, 60)을 포함하여 이루어진다.In FIG. 2, the network comprises a first router 10, a second router 20, first and second switches 30 and 40, and first and second devices 50 and 60.

네트워크는 예를 들어 두 개의 가상 LAN으로 구분되며, 이를 각각 Network A, B로 표시하였다. Network A에는 제1 라우터(10), 제2 라우터(20) 각각의 한 포트와 제1 스위치(30) 및 제1 디바이스(60)가 연결된다. 마찬가지로, Network B에는 제1 라우터(10), 제2 라우터(20) 각각의 다른 한 포트와 제2 스위치(40) 및 제2 디바이스(60)가 연결된다.For example, the network is divided into two virtual LANs, which are represented as Network A and B, respectively. One port of each of the first router 10 and the second router 20, the first switch 30, and the first device 60 are connected to Network A. Similarly, another port of each of the first router 10 and the second router 20, the second switch 40, and the second device 60 are connected to Network B.

본 실시예에 의하면, 도시된 바와 같이 제1 라우터(10)(제2 라우터(20)도 마찬가지이다)의 각 포트는 서로 다른 가상 LAN에 연결되므로, 각 포트마다 서로 다른 VLAN ID가 설정된다. 또한, 서로 다른 VLAN ID가 설정된 각 포트에는 서로 다른 VRID(virtual route identifier)가 설정된다. VRID는 라우터 그룹 식별자로서, VRID가 같은 노드의 그룹으로 가상 라우터가 구성된다. 본 실시예에서는 각 포트마다 서로 다른 VRID를 설정함으로써 포트 별로 가상 라우터가 구성된다. According to this embodiment, each port of the first router 10 (the same applies to the second router 20) is connected to different virtual LANs as shown, so that different VLAN IDs are set for each port. In addition, different virtual route identifiers (VRIDs) are set for each port having different VLAN IDs. The VRID is a router group identifier, and the virtual router is configured as a group of nodes having the same VRID. In this embodiment, a virtual router is configured for each port by setting different VRIDs for each port.

구체적으로 설명하면 다음과 같다.Specifically, it is as follows.

편의상 제1 라우터(10)의 포트 e1/0, e1/1, e1/2를 각각 제1-1 포트, 제1-2 포트, 제1-3 포트라 하고, 제2 라우터(20)의 포트 e1/0, e1/1, e1/2를 각각 제2-1 포트, 제2-2 포트, 제2-3 포트라 명명한다. For convenience, ports e1 / 0, e1 / 1, and e1 / 2 of the first router 10 are referred to as 1-1 port, 1-2 port, and 1-3 port, respectively, and port e1 of the second router 20 is shown. / 0, e1 / 1, and e1 / 2 are referred to as 2-1 port, 2-2 port, and 2-3 port, respectively.

제1 라우터(10)의 제1-1 포트와 제2 라우터(20)의 제2-1 포트는 Network A의 VLAN ID인 '1'로 설정하고 VRID는 '10'으로 설정한다. 제1 라우터(10)의 제1-2 포트와 제2 라우터(20)의 제2-2 포트는 Network B의 VLAN ID인 '2'로 설정하고 VRID는 '12'로 설정한다. 그리고 제1 라우터(10)의 제1-1 포트와 제1-2 포트는 마스터로 설정하고, 제2 라우터(20)의 제2-1 포트와 제2-2 포트는 백업으로 설정한다. 그리고 제1 라우터(10)의 제1-3 포트와 제2 라우터(20)의 제2-3 포트는 트렁크 포트로서 서로 연결된다. The first-first port of the first router 10 and the second-first port of the second router 20 are set to '1', which is the VLAN ID of Network A, and the VRID is set to '10'. Ports 1-2 of the first router 10 and port 2-2 of the second router 20 are set to '2' which is the VLAN ID of Network B, and the VRID is set to '12'. The first-first port and the first-second port of the first router 10 are set as masters, and the second-first and second-second ports of the second router 20 are set as backups. The 1-3 port of the first router 10 and the 2-3 port of the second router 20 are connected to each other as trunk ports.

도 3a 내지 3c는 제1 라우터(10) 및 제2 라우터(20)의 설정을 나타내는 명령이다. SW2는 제1 라우터(10)를 SW3는 제2 라우터(20)를 의미한다.3A to 3C are commands showing the settings of the first router 10 and the second router 20. SW2 means the first router 10 and SW3 means the second router 20.

도 3a는 제1 라우터(10) 및 제2 라우터(20)의 각 포트의 VLAN ID 설정을 나타내는 명령이다. 제1 라우터(10)의 제1-1 포트는 VLAN 1으로, 제1-2 포트는 VLAN 2로 설정되고 제2 라우터(20)의 제2-1 포트는 VLAN 1로, 제2-2 포트는 VLAN 2로 설정한다.3A is a command illustrating VLAN ID setting of each port of the first router 10 and the second router 20. Port 1-1 of the first router 10 is set to VLAN 1, port 1-2 is set to VLAN 2, port 2-1 of the second router 20 is set to VLAN 1, port 2-2, and the like. Is set to VLAN 2.

도 3b는 제1 라우터(10)의 제1-1 포트, 제1-2 포트의 가상 ip와 VRID를 설정하고 마스터로 설정하는 명령을 나타낸다. 제1-1 포트의 가상 ip를 10.10.10.10으로 설정하고 VRID를 10으로 설정하고, 우선 순위(priority)를 제2 라우터(20)의 우선 순위 95(도 2c)보다 높은 105로 설정함으로써 마스터로 설정한다. 제1-2 포트의 가상 ip를 10.10.12.12로 설정하고 VRID를 12로 설정하고, 우선 순위(priority)를 제2 라우터(20)의 우선 순위 95(도 2c)보다 높은 105로 설정함으로써 마스터로 설정한다.3B illustrates a command for setting a virtual ip and a VRID of the first-first port and the first-second port of the first router 10 and setting it as a master. Set the virtual ip of the 1-1st port to 10.10.10.10 and set the VRID to 10, and set the priority to 105 higher than the priority 95 of the second router 20 (FIG. 2C). Set it. Set the virtual ip of port 1-2 to 10.10.12.12, set the VRID to 12, and set the priority to 105 higher than the priority 95 of the second router 20 (FIG. 2C). Set it.

도 3c는 제2 라우터(10)의 제2-1 포트, 제2-2 포트의 가상 ip와 VRID를 설정하고 백업으로 설정하는 명령을 나타낸다. 제2-1 포트의 가상 ip를 10.10.10.10으로 설정하고 VRID를 10으로 설정하고, 우선 순위(priority)를 제1 라우터(10)의 105(도 2b)보다 낮은 95로 설정함으로써 백업으로 설정한다. 가상 ip와 VRID는 제1 라우터(10)의 제1-1 포트와 같다. 제2-2 포트의 가상 ip를 10.10.12.12로 설정하고 VRID를 12로 설정하고, 우선 순위(priority)를 제1 라우터(10)의 105(도 2b)보다 낮은 95로 설정함으로써 백업으로 설정한다. 가상 ip와 VRID는 제1 라우터(10)의 제1-2 포트와 같다.FIG. 3C illustrates a command for setting virtual ip and VRID of 2-1 port and 2-2 port of the second router 10 and setting them as backup. The virtual ip of port 2-1 is set to 10.10.10.10, the VRID is set to 10, and the priority is set to backup by setting the priority to 95 which is lower than 105 (FIG. 2B) of the first router 10. . The virtual ip and the VRID are the same as the first-first port of the first router 10. The virtual ip of port 2-2 is set to 10.10.12.12, the VRID is set to 12, and the priority is set to backup by setting the priority to 95 which is lower than 105 (FIG. 2B) of the first router 10. . The virtual ip and the VRID are the same as the port 1-2 of the first router 10.

도 4는 제1 라우터(10)와 제2 라우터(20)의 각 포트의 설정을 도식화한 도면이다. 최초 설정시에 제1 라우터(10)의 제1-1 포트와 제1-2 포트는 마스터 상태이므로 광고 메시지를 송신하는 상태(sending)이며, 제2 라우터(20)의 제2-1 포트제2-2 포트는 백업 상태이므로 광고 메시지를 수신하는 상태(listening)이다. 4 is a diagram illustrating the setting of each port of the first router 10 and the second router 20. At the time of initial setting, since the first-first port and the first-second port of the first router 10 are master states, the advertisement message is sent, and the second-1st port of the second router 20 is sent. Port 2-2 is a backup state, so it is listening for advertising messages.

도 5는 정상 상태에서 제1 디바이스(50)로부터 제2 디바이스(60)로 패킷이 전달되는 모습을 나타낸다. 제1 라우터(10)의 제1-1 포트에서 제2 라우터(20)의 제2-1 포트로 VRID 10에 해당하는 광고 메시지가 네트워크 A를 통하여 주기적으로 전달되며, 제1 라우터(10)의 제1-2 포트에서 제2 라우터(20)의 제2-2 포트로 VRID 12에 해당하는 광고 메시지가 네트워크 B를 통하여 주기적으로 전달된다. 따라서 제2 라우터(20)의 제2-1 포트와 제2-2 포트는 각각 제1 라우터(10)의 제1-1 포트와 제1-2 포트가 정상 상태임을 감지하므로 백업 상태로 유지된다.5 shows a state in which a packet is transferred from the first device 50 to the second device 60 in the normal state. An advertisement message corresponding to VRID 10 is periodically transmitted from the first-first port of the first router 10 to the second-first port of the second router 20 through the network A, and the first router 10 of the first router 10 The advertisement message corresponding to VRID 12 is periodically transmitted through the network B from the port 1-2 to the port 2-2 of the second router 20. Therefore, since the 2-1 port and the 2-2 port of the second router 20 detect that the 1-1 port and the 1-2 port of the first router 10 are normal, they are maintained in the backup state. .

따라서 네트워크 A에 속한 제1 디바이스(50)에서 제2 디바이스(60)를 향한 패킷은 제1 스위치(30)를 경유하여 제1 라우터(10)의 제1-1 포트로 유입되고, 제1 라우터(10)가 제1-2 포트로 해당 패킷을 내보내면 네트워크 B의 제2 스위치(40)를 경유하여 제2 디바이스(60)로 전송된다.Therefore, the packet from the first device 50 belonging to the network A toward the second device 60 flows into the 1-1 port of the first router 10 via the first switch 30, and the first router When 10 sends the packet to port 1-2, it is transmitted to second device 60 via second switch 40 of network B.

상술한 바와 같이, 정상 상태에서는 제1 디바이스(50)와 제2 디바이스(60)는 모두 제1 라우터(10)와 연동하며, 제2 라우터(20)와의 논리적 인터페이스는 끊겨 있는 것이 된다.As described above, in the normal state, both the first device 50 and the second device 60 cooperate with the first router 10, and the logical interface with the second router 20 is disconnected.

도 6은 제1 라우터(10)의 제1-1 포트에 연결된 링크가 페일인 경우의 패킷 흐름의 일 예를 나타낸다. 도시된 바와 같이, 제1-1 포트에 연결된 링크가 페일이 되면 제2 라우터(20)의 제2-1 포트에 VRID 10에 해당하는 광고 메시지가 전달되지 않는다. 따라서 제2 라우터(20)의 제2-1 포트는 제1 라우터(10)의 제1-1 포트가 장애임을 감지하고 마스터로 전환되고 제1 라우터(10)의 제1-1 포트는 백업으로 전환된다. 그러나 VRID 12에 해당하는 광고 메시지는 제1 라우터(10)의 제1-2 포트에서 제2 라우터(20)의 제2-2 포트로 네트워크 B를 통하여 여전히 주기적으로 전달되므로, 제1 라우터(10)의 제1-2 포트는 여전히 마스터 상태로, 제2 라우터(20)의 제2-2 포트는 여전히 백업 상태로 유지된다. 6 illustrates an example of a packet flow when a link connected to a 1-1 port of the first router 10 is a fail. As shown, when the link connected to the 1-1st port fails, the advertisement message corresponding to the VRID 10 is not transmitted to the 2-1th port of the second router 20. Therefore, the 2-1 port of the second router 20 detects that the 1-1 port of the first router 10 is a failure and switches to the master, and the 1-1 port of the first router 10 is used as a backup. Is switched. However, since the advertisement message corresponding to the VRID 12 is still periodically transmitted through the network B from the port 1-2 of the first router 10 to the port 2-2 of the second router 20, the first router 10 Port 1-2 of the second router is still in the master state, and port 2-2 of the second router 20 is still maintained in the backup state.

제2 라우터(20)의 제2-1 포트가 마스터 상태가 되었으므로 제1 디바이스(50)에서 송신된 패킷은 제1 스위치(30)를 경유하여 제2 라우터(20)의 제2-1 포트로 유입된다. Since the port 2-1 of the second router 20 is in the master state, the packet transmitted from the first device 50 is sent to the port 2-1 of the second router 20 via the first switch 30. Inflow.

한편, 본 실시예에서, 한쪽 라우터의 어느 하나의 포트에 연결된 링크의 페일로 인해 해당 포트와 동일한 VRID와 VLAN ID로 설정된 상대 라우터의 어느 하나의 포트가 마스터로 전환되면, 마스터로 전환된 포트로 유입되는 패킷은 상대 라우터와 트렁크 포트로서 연결된 포트를 통하여 상대 라우터로 전달하도록 설정된다.On the other hand, in the present embodiment, if any one port of the other router set to the same VRID and VLAN ID as the corresponding port is switched to the master due to the failure of the link connected to any one port of one router, to the port switched to the master Incoming packets are configured to pass to the other router through a port connected as the trunk port with the other router.

여기서, 상기 마스터로 전환된 포트로 유입되는 패킷이 트렁크 포트를 통하여 출력되도록 하는 설정은 액세스 제어 목록(Access Control List, ACL)을 이용하여 구현될 수 있다. 구체적으로, 패킷의 UDP 포트를 확인 후 ACL의 미러링(mirroring) 기능을 통해 패킷을 복사 후 강제적으로 트렁크 포트를 통해 전달함으로써 구현될 수 있다.Here, the setting for outputting the packet flowing into the port switched to the master through the trunk port may be implemented using an access control list (ACL). Specifically, the packet may be implemented by forcibly forwarding the packet through the trunk port after copying the packet through the mirroring function of the ACL after checking the UDP port of the packet.

제2 라우터(20)는, 제1 라우터(10)의 제1-1 포트에 연결된 링크의 페일로 인해 제1-1 포트와 동일한 VRID와 VLAN ID로 설정된 제2-1 포트가 마스터로 전환되면, 제2-1 포트로 유입되는 패킷은 제2-3 포트로 출력하도록 설정된다. 도 6을 참조하면, 제2-3 포트와 제1-3 포트는 서로 연결되어 있으므로, 제2-3 포트에서 출력된 패킷은 제1 라우터(10)의 제1-3 포트로 전달된다. 제1 라우터(10)의 제1-2 포트는 여전히 마스터 상태이므로, 제1-3 포트로 들어온 패킷은 제1-2 포트를 통하여 네트워크 B의 제2 스위치(40)를 경유하여 제2 디바이스(60)로 전송된다.When the second router 20 switches to the master, the 2-1 port set to the same VRID and VLAN ID as the 1-1 port is switched to the master due to the failure of the link connected to the 1-1 port of the first router 10. The packet flowing into the port 2-1 is output to the port 2-3. Referring to FIG. 6, since the 2-3 port and the 1-3 port are connected to each other, the packet output from the 2-3 port is transferred to the 1-3 port of the first router 10. Since port 1-2 of the first router 10 is still in a master state, packets entering the port 1-3 are transferred to the second device (via the second switch 40 of the network B through the port 1-2). 60).

도 7은 도 6의 경우 제1 라우터(10)와 제2 라우터(20)에서 각 포트를 통한 패킷의 흐름을 도식화한 도면이다. 도 7을 참조하면, 제1 라우터(10)의 제1-1 포트에 연결된 링크의 페일('X'로 도시됨)로 인해 제1 디바이스(50)로부터의 패킷은 제2 라우터(20)의 제2-1 포트, 트렁크 포트, 제1 라우터(10)의 제1-2 포트를 통해 제2 디바이스(60)로 전달된다. FIG. 7 is a diagram illustrating a packet flow through each port in the first router 10 and the second router 20 in FIG. 6. Referring to FIG. 7, due to the failure of a link (shown as 'X') connected to the first-first port of the first router 10, the packet from the first device 50 is sent to the second router 20. It is transmitted to the second device 60 through the 2-1 port, the trunk port, and the 1-2 port of the first router 10.

또한, 본 실시예에서, 한쪽 라우터의 어느 하나의 포트에 연결된 링크의 페일로 인해 해당 포트가 백업으로 전환되면, 백업으로 전환된 포트를 통하여 출력해야 하는 패킷이 유입되는 경우 해당 패킷은 상대 라우터와 트렁크 포트로서 연결된 포트를 통하여 상대 라우터로 전달하도록 설정된다.In addition, in the present embodiment, when a corresponding port is switched to backup due to a failure of a link connected to one port of one router, when a packet to be outputted through the port converted to backup is introduced, the corresponding packet is connected to the other router. It is configured to forward to the other router through the port connected as the trunk port.

예를 들어, 제1 라우터(20)는, 제1 라우터(10)의 제1-1 포트에 연결된 링크의 페일로 인해 제1-1 포트가 백업으로 전환되면, 제1-1 포트를 통하여 출력해야 하는 패킷이 제1-2 포트로 유입되는 경유 해당 패킷은 제1-3 포트로 출력하도록 설정된다. 도 8을 참조하면, 제1-3 포트와 제2-3 포트는 서로 연결되어 있으므로, 제1-3 포트에서 출력된 패킷은 제2 라우터(20)의 제2-3 포트로 전달된다. 제2 라우터(20)의 제2-1 포트가 마스터 상태이므로, 제1-3 포트로 들어온 패킷은 제2-1 포트를 통하여 네트워크 A의 제1 스위치(30)를 경유하여 제1 디바이스(50)로 전송된다.For example, the first router 20 outputs through the first-first port when the first-first port is switched to backup due to the failure of a link connected to the first-first port of the first router 10. Via the packet which should be introduced to the port 1-2, the corresponding packet is set to be output to the port 1-3. Referring to FIG. 8, since the 1-3 port and the 2-3 port are connected to each other, the packet output from the 1-3 port is delivered to the 2-3 port of the second router 20. Since the port 2-1 of the second router 20 is in the master state, packets entering the port 1-3 are routed to the first device 50 via the first switch 30 of the network A through the port 2-1. Is sent).

도 9는 도 8의 경우 제1 라우터(10)와 제2 라우터(20)에서 각 포트를 통한 패킷의 흐름을 도식화한 도면이다. 도 9를 참조하면, 제1 라우터(10)의 제1-1 포트에 연결된 링크의 페일('X'로 도시됨)로 인해 제2 디바이스(60)로부터의 패킷은 제1 라우터(10)의 제1-2 포트, 트렁크 포트, 제2 라우터(20)의 제1-1 포트를 통해 제1 디바이스(50)로 전달된다. FIG. 9 is a diagram illustrating the flow of packets through each port in the first router 10 and the second router 20 in FIG. 8. Referring to FIG. 9, due to a failing of a link (shown as 'X') connected to a 1-1 port of the first router 10, a packet from the second device 60 may be received by the first router 10. It is transmitted to the first device 50 through the 1-2 port, the trunk port, and the 1-1 port of the second router 20.

여기서, 상기 백업으로 전환된 포트를 통하여 출력해야 하는 패킷을 상대 라우터와 트렁크 포트로서 연결된 포트를 통하여 출려되도록 하는 설정 역시 액세스 제어 목록(Access Control List, ACL)을 이용하여 구현될 수 있다.In this case, a setting for outputting a packet to be output through the port converted to the backup through a port connected as a trunk port with a counterpart router may also be implemented using an access control list (ACL).

상술한 바와 같이, 본 발명의 실시예에 의하면, 제1 라우터(10)의 제1-1 포트에 연결된 링크가 페일인 경우에 제1 디바이스(50)의 입장에서는 마스터가 제2 라우터(20)로 전환된 것이지만, 제2 디바이스(60)의 입장에서는 여전히 제1 라우터(10)와 통신하고 있으므로, 마스터가 전환된 것이 아니다. 즉, 제1 디바이스(50)와 제2 디바이스(60)에 대하여 라우터의 이중화가 독립적으로 구현된다. As described above, according to the embodiment of the present invention, when the link connected to the 1-1 port of the first router 10 is a fail, the master is the second router 20 from the standpoint of the first device 50. In this case, the master is not switched since the second device 60 still communicates with the first router 10 from the standpoint of the second device 60. That is, redundancy of the router is independently implemented for the first device 50 and the second device 60.

무인 항공기(Unmanned Aerial Vehicle, UAV)에 탑재되는 장비 중 중요성이 높은 장비들은 이중화로 구현된다. 따라서 상술한 본 발명의 실시예에 의한 VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크 및 VRRP를 이용하여 라우터의 이중화를 구현하는 방법은 무인 항공기에 적용될 수 있다. Among the equipment mounted on unmanned aerial vehicles (UAVs), the most important ones are redundant. Therefore, a network for implementing router redundancy using VRRP and a method for implementing router redundancy using VRRP may be applied to an unmanned aerial vehicle.

한편, 상술한 본 발명의 실시예들은 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하고, 컴퓨터로 읽을 수 있는 기록매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드 디스크 등), 광학적 판독 매체(예를 들면, 시디롬, 디브이디 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장매체를 포함한다.Meanwhile, the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium. The computer-readable recording medium may be a magnetic storage medium (for example, a ROM, a floppy disk, a hard disk, etc.), an optical reading medium (for example, a CD-ROM, DVD, etc.) and a carrier wave (for example, the Internet). Storage medium).

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

Claims (16)

VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크로서,
제1-1 포트와 제1-2 포트를 가지는 제1 라우터로서, 상기 제1-1 포트는 제1 VRID와 제1 VLAN으로 설정되고, 상기 제1-2 포트는 제2 VRID와 제2 VLAN으로 설정되며, 상기 제1-1 포트 및 상기 제1-2 포트가 마스터로 설정되는 제1 라우터; 및
제2-1 포트 및 제2-2 포트를 가지는 제2 라우터로서, 상기 제2-1 포트는 상기 제1 VRID와 상기 제1 VLAN으로 설정되고, 상기 제2-2 포트는 상기 제2 VRID와 상기 제2 VLAN으로 설정되고, 상기 제2-1 포트 및 상기 제2-2 포트가 백업으로 설정되는 제2 라우터를 포함하는 것을 특징으로 하는 네트워크.
Network that implements router redundancy using VRRP,
A first router having a 1-1 port and a 1-2 port, wherein the 1-1 port is set to a first VRID and a first VLAN, and the 1-2 port is a second VRID and a second VLAN. A first router in which the first-first port and the first-second port are set as masters; And
A second router having a 2-1 port and a 2-2 port, wherein the 2-1 port is set to the first VRID and the first VLAN, and the 2-2 port is set to the second VRID; And a second router configured as the second VLAN, and wherein the second-1 port and the second-2 port are set as backups.
제1항에 있어서,
상기 제1 라우터는 제1-3 포트를 더 가지고, 상기 제2 라우터는 제2-3 포트를 더 가지며, 상기 제1-3 포트와 상기 제2-3 포트는 서로 연결되는 것을 특징으로 하는 네트워크.
The method of claim 1,
The first router further has a 1-3 port, the second router further has a second-3 port, wherein the first port and the third port is connected to each other network .
제2항에 있어서,
상기 제1-1 포트에 연결된 링크가 페일인 경우에, 상기 제2-1 포트가 마스터로 전환되고 상기 제1-1 포트가 백업으로 전환되는 것을 특징으로 하는 네트워크.
The method of claim 2,
And if the link connected to the first-first port is a failure, the second-first port is switched to a master and the first-first port is switched to a backup.
제3항에 있어서,
상기 제2-1 포트가 마스터로 전환되면, 상기 제2 라우터는 상기 제2-1 포트로 유입되는 패킷을 상기 제2-3 포트를 통하여 상기 제1 라우터로 전달하는 것을 특징으로 하는 네트워크.
The method of claim 3,
And when the second-1 port is switched to the master, the second router transfers the packet flowing into the second-1 port to the first router through the second-3 port.
제3항에 있어서,
상기 제1-1 포트가 백업으로 전환되면, 상기 제1 라우터는 상기 제1-1 포트로 출력할 패킷을 상기 제1-3 포트를 통하여 상기 제2 라우터로 전달하는 것을 특징으로 하는 네트워크.
The method of claim 3,
And when the first-first port is switched to backup, the first router forwards a packet to be output to the first-first port to the second router through the first-third port.
제4항 또는 제5항에 있어서,
액세스 제어 목록(ACL)을 이용하여, 상기 제2-1 포트로 유입되는 패킷이 상기 제2-3 포트를 통하여 출력되도록 하거나, 또는 상기 제1-1 포트로 출력할 패킷을 상기 제1-3 포트를 통하여 출력되도록 하는 것을 특징으로 하는 네트워크.
The method according to claim 4 or 5,
Using an access control list (ACL), the packet flowing into the port 2-1 is output through the port 2-3 or the packet to be output to the port 1-1 is transmitted to the port 1-3. Characterized in that the output is through a port.
VRRP를 이용하여 라우터의 이중화를 구현하는 네트워크로서,
적어도 두 개의 포트를 가지는 제1 라우터로서, 상기 두 개의 포트는 서로 다른 VRID와 VLAN ID로 설정되고, 각각 마스터로 설정되는 제1 라우터; 및
적어도 두 개의 포트를 가지는 제2 라우터로서, 상기 두 개의 포트 중 하나는 상기 제1 라우터의 어느 하나의 포트와 동일한 VRID와 VLAN ID로 설정되고, 상기 두 개의 포트 중 다른 하나는 상기 제1 라우터의 다른 하나의 포트와 동일한 VRID와 VLAN ID로 설정되고, 상기 두 개의 포트는 각각 백업으로 설정되는 제2 라우터를 포함하는 것을 특징으로 하는 네트워크.
Network that implements router redundancy using VRRP,
A first router having at least two ports, the two ports being set to different VRIDs and VLAN IDs, each of which is set to a master; And
A second router having at least two ports, one of the two ports being set to the same VRID and VLAN ID as one of the ports of the first router, and the other of the two ports being of the first router And a second router configured with the same VRID and VLAN ID as the other port, and each of the two ports configured as a backup.
제7항에 있어서,
상기 제1 라우터 및 상기 제2 라우터는 각각 하나의 포트를 더 가지고, 이 두 포트는 서로 연결되는 것을 특징으로 하는 네트워크.
The method of claim 7, wherein
Wherein the first router and the second router each have one more port, and the two ports are connected to each other.
제8항에 있어서,
상기 제1 라우터의 어느 하나의 포트에 연결된 링크가 페일인 경우에, 해당 포트와 동일한 VRID와 VLAN ID로 설정된 상기 제2 라우터의 어느 하나의 포트가 마스터로 전환되고 상기 해당 포트가 백업으로 전환되는 것을 특징으로 하는 네트워크.
The method of claim 8,
When a link connected to any one port of the first router is a failure, any one port of the second router set to the same VRID and VLAN ID as the corresponding port is switched to the master and the corresponding port is switched to backup. Characterized in that the network.
제9항에 있어서,
상기 제2 라우터의 어느 하나의 포트가 마스터로 전환되면, 상기 제2 라우터는 상기 마스터로 전환된 포트로 유입되는 패킷을 상기 더 가지는 포트를 통하여 상기 제1 라우터로 전달하는 것을 특징으로 하는 네트워크.
10. The method of claim 9,
And when any one port of the second router is switched to the master, the second router forwards the packet flowing into the port switched to the master to the first router through the port having the more.
제9항에 있어서,
상기 제1 라우터의 상기 해당 포트가 백업으로 전환되면, 상기 제1 라우터는 상기 해당 포트로 출력할 패킷을 상기 더 가지는 포트를 통하여 상기 제2 라우터로 전달하는 것을 특징으로 하는 네트워크.
10. The method of claim 9,
And when the corresponding port of the first router is switched to a backup, the first router forwards a packet to be output to the corresponding port to the second router through the port having the further.
제10항 또는 제11항에 있어서,
액세스 제어 목록(ACL)을 이용하여, 제2 라우터에서 상기 마스터로 전환된 포트로 유입되는 패킷이 상기 더 가지는 포트를 통하여 출력되도록 하거나, 또는 상기 제1 라우터에서 상기 해당 포트로 출력할 패킷을 상기 더 가지는 포트를 통하여 출력되도록 하는 것을 특징으로 하는 네트워크.
The method according to claim 10 or 11, wherein
By using an access control list (ACL), the packet flowing into the port switched from the second router to the master is output through the port having the further, or the packet to be output from the first router to the corresponding port The network characterized in that the output through the port having more.
VRRP를 이용하여 라우터의 이중화를 구현하는 방법으로서,
제1-1 포트와 제1-2 포트를 가지는 제1 라우터를 설정하는 단계로서, 상기 제1-1 포트는 제1 VRID와 제1 VLAN으로 설정하고, 상기 제1-2 포트는 제2 VRID와 제2 VLAN으로 설정하며, 상기 제1-1 포트 및 상기 제1-2 포트를 마스터로 설정하는 단계; 및
제2-1 포트 및 제2-2 포트를 가지는 제2 라우터를 설정하는 단계로서, 상기 제2-1 포트는 상기 제1 VRID와 상기 제1 VLAN으로 설정하고, 상기 제2-2 포트는 상기 제2 VRID와 상기 제2 VLAN으로 설정하고, 상기 제2-1 포트 및 상기 제2-2 포트를 백업으로 설정하는 단계를 포함하는 것을 특징으로 하는 이중화 구현 방법.
As a method of implementing router redundancy using VRRP,
Setting a first router having a 1-1 port and a 1-2 port, wherein the 1-1 port is set to a first VRID and a first VLAN, and the 1-2 port is a second VRID Setting a second VLAN and setting the first-one port and the first-second port as a master; And
Setting a second router having a 2-1 port and a 2-2 port, wherein the 2-1 port is set to the first VRID and the first VLAN, and the 2-2 port is the And setting the second VRID and the second VLAN and setting the second-1 port and the second-2 port as a backup.
제13항에 있어서,
상기 제1 라우터는 제1-3 포트를 더 가지고, 상기 제2 라우터는 제2-3 포트를 더 가지며, 상기 제1-3 포트와 상기 제2-3 포트는 서로 연결되고,
상기 제1-1 포트에 연결된 링크가 페일인 경우에 상기 제2-1 포트가 마스터로 전환되면, 상기 제2-1 포트로 유입되는 패킷이 상기 제2-3 포트를 통하여 출력되도록 상기 제2 라우터를 설정하는 단계를 더 포함하는 것을 특징으로 하는 이중화 구현 방법.
The method of claim 13,
The first router further has a first-3 port, the second router further has a second-3 port, the first-3 port and the second-3 port are connected to each other,
When the second-to-one port is switched to the master when the link connected to the first-one port is failed, the second packet is outputted through the second-third port to output the packet flowing into the second-first port. The method of implementing redundancy further comprising the step of setting up a router.
제14항에 있어서,
상기 제1-1 포트에 연결된 링크가 페일인 경우에 상기 제1-1 포트가 백업으로 전환되면 상기 제1-1 포트로 출력할 패킷이 상기 제1-3 포트를 통하여 출력되도록 상기 제1 라우터를 설정하는 단계를 더 포함하는 것을 특징으로 하는 이중화 구현 방법.
The method of claim 14,
When the link connected to the first-first port is a failure, when the first-first port is switched to backup, the packet to be output to the first-first port is output through the first-third port. Redundancy implementation method further comprising the step of setting.
제14항 또는 제15항에 있어서,
상기 제2 라우터에서 상기 패킷이 상기 제2-3 포트를 통하여 출력되도록 하는 설정 또는 상기 제1 라우터에서 상기 패킷이 상기 제1-3 포트를 통하여 출력되도록 하는 설정은 액세스 제어 목록(ACL)을 이용하여 설정하는 것을 특징으로 하는 이중화 구현 방법.
The method according to claim 14 or 15,
The setting to output the packet through the 2-3 port at the second router or the setting to output the packet through the port 1-3 at the first router uses an access control list (ACL). Redundancy implementation method characterized in that the setting.
KR1020100082393A 2010-08-25 2010-08-25 Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers KR101016035B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100082393A KR101016035B1 (en) 2010-08-25 2010-08-25 Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100082393A KR101016035B1 (en) 2010-08-25 2010-08-25 Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers

Publications (1)

Publication Number Publication Date
KR101016035B1 true KR101016035B1 (en) 2011-02-23

Family

ID=43777654

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100082393A KR101016035B1 (en) 2010-08-25 2010-08-25 Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers

Country Status (1)

Country Link
KR (1) KR101016035B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183857A (en) * 2017-12-08 2018-06-19 湖南霄凌网络科技有限公司 A kind of hot spare method that the double gateways of double-circuit are realized applied to Single NIC terminal
KR101909705B1 (en) 2018-07-12 2018-10-18 엘아이지넥스원 주식회사 Network system and operating method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030045299A (en) * 2001-12-03 2003-06-11 엘지전자 주식회사 Router duplication structure in SOHO network
KR20050071874A (en) * 2004-01-05 2005-07-08 삼성전자주식회사 Router redundancy method and apparatus for supporting high availability
KR20050114568A (en) * 2004-06-01 2005-12-06 삼성전자주식회사 Method and apparatus for state transition backup router in a router redundancy system
KR20070079272A (en) * 2006-02-01 2007-08-06 삼성전자주식회사 Vrrp router and switchover method between vrrp routers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030045299A (en) * 2001-12-03 2003-06-11 엘지전자 주식회사 Router duplication structure in SOHO network
KR20050071874A (en) * 2004-01-05 2005-07-08 삼성전자주식회사 Router redundancy method and apparatus for supporting high availability
KR20050114568A (en) * 2004-06-01 2005-12-06 삼성전자주식회사 Method and apparatus for state transition backup router in a router redundancy system
KR20070079272A (en) * 2006-02-01 2007-08-06 삼성전자주식회사 Vrrp router and switchover method between vrrp routers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108183857A (en) * 2017-12-08 2018-06-19 湖南霄凌网络科技有限公司 A kind of hot spare method that the double gateways of double-circuit are realized applied to Single NIC terminal
KR101909705B1 (en) 2018-07-12 2018-10-18 엘아이지넥스원 주식회사 Network system and operating method thereof

Similar Documents

Publication Publication Date Title
EP3525405B1 (en) Packet sending method and network device
JP4747118B2 (en) Router, communication guarantee method and communication guarantee program
JP4688765B2 (en) Network redundancy method and intermediate switch device
CN105743689B (en) Fast convergence of link failures in a multi-homed ethernet virtual private network
US9858163B2 (en) Dual adjacency between edge devices at a network site
US9781032B1 (en) MPLS label usage in ethernet virtual private networks
US9584397B2 (en) Routing in spine-leaf networking systems
EP2617165B1 (en) System and method for providing ethernet over infiniband virtual hub scalability in a middleware machine environment
US9019814B1 (en) Fast failover in multi-homed ethernet virtual private networks
US7751329B2 (en) Providing an abstraction layer in a cluster switch that includes plural switches
US9154419B2 (en) Traffic forwarding in a layer 2 edge network
US7941837B1 (en) Layer two firewall with active-active high availability support
US8848508B2 (en) Method for the provision of gateway anycast virtual MAC reachability in extended subnets
EP2769515B1 (en) Fhrp optimizations for n-way gateway load balancing in fabric path switching networks
US8817593B2 (en) Method and apparatus providing failover for a point to point tunnel for wireless local area network split-plane environments
US8724452B2 (en) Technique for protecting communication traffic in a connection having redundancy
US20080181241A1 (en) Multipath virtual router redundancy
US8861338B2 (en) Routed split multilink trunking for IPv6
EP1958364B1 (en) Vpls remote failure indication
JP2009524332A (en) VPLS failure protection for ring networks
CN111935013B (en) Flow forwarding control method and device, flow forwarding method and chip, and switch
WO2017008641A1 (en) Method of switching redundancy port and device utilizing same
GB2485025A (en) Providing Routed Split Multi-Link Trunking (RSMLT) for Wireless Local Area Network (WLAN) tunnels
CN102651711B (en) A kind of methods, devices and systems set up and use the floating network segment
KR101016035B1 (en) Fault-tolerant network using vrrp and implementing fault-tolerance of network and routers

Legal Events

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

Payment date: 20140113

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20141127

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160106

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20170112

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20171219

Year of fee payment: 8