KR20020051191A - Packet switching method for virtual local area network - Google Patents

Packet switching method for virtual local area network Download PDF

Info

Publication number
KR20020051191A
KR20020051191A KR1020000080742A KR20000080742A KR20020051191A KR 20020051191 A KR20020051191 A KR 20020051191A KR 1020000080742 A KR1020000080742 A KR 1020000080742A KR 20000080742 A KR20000080742 A KR 20000080742A KR 20020051191 A KR20020051191 A KR 20020051191A
Authority
KR
South Korea
Prior art keywords
host
packet
mac address
arp
transmitting
Prior art date
Application number
KR1020000080742A
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 KR1020000080742A priority Critical patent/KR20020051191A/en
Publication of KR20020051191A publication Critical patent/KR20020051191A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/13Flow control; Congestion control in a LAN segment, e.g. ring or bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/26Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using dedicated tools for LAN [Local Area Network] management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/351Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches

Landscapes

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

Abstract

PURPOSE: A packet switching method between VLANs(Virtual Local Area Networks) is provided to execute communication without using a router by making a 2-layer switch cover routing execution. CONSTITUTION: If a packet is received from the first host(A)(S10), the second host(B) judges whether the subnet of the source of the received packet is identical to the subnet of the destination(S11). If identical, the second host judges that the received packet is an intra traffic that belongs to the same VLAN. If an ARP(Address Read Protocol)_Request signal to read the MAC address of the second host is transmitted from the first host(S12), the second host judges whether it is a new MAC address(S14). In case that it is a new MAC address, the second host registers the source MAC address and port number of the packet in a MAC address table and transmits the registered MAC address to a CPU and the VLAN of the first host at the same time(S15,S16). If an ARP_Request packet is received(S17), the second host judges whether it is a new MAC address(S18,S19). If it is a new MAC address, the second host executes the above steps(S15,S16) again(S20,S21) and transmits an ARP_Response packet to the first host so that the first host can transmit a data packet to the second host through the MAC address of the second host(S22,S23).

Description

가상 근거리 통신망 간의 패킷 스위칭 방법{PACKET SWITCHING METHOD FOR VIRTUAL LOCAL AREA NETWORK}PACKET SWITCHING METHOD FOR VIRTUAL LOCAL AREA NETWORK}

본 발명은 가상 근거리 통신망 간의 패킷 스위칭 방법에 관한 것으로, 특히 서로 다른 가상 근거리 통신망 간의 통신에 있어서, 2 계층 스위치가 라우팅 수행을 담당하도록 하여 라우터를 통하지 않고 통신을 할 수 있도록 하는 가상 근거리 통신망 간의 패킷 스위칭 방법에 관한 것이다.The present invention relates to a packet switching method between virtual local area networks, and in particular, in a communication between different virtual local area networks, a packet between virtual local area networks that enables a layer 2 switch to perform routing without communicating through a router. It relates to a switching method.

현재, 근거리 통신망의 접근법과 프로토콜 표준(IEEE 802)를 따르는 모든 형태의 근거리 통신망들은 ISO/IEC 15802-3에서 지정된 매체접근제어(MAC) 브리지에 의해 서로 접속될 수 있고, IEEE 802.1Q 표준은 이 브리지된 근거리 통신망 기반내에서 가상 근거리 통신망(VLAN) 토폴리지의 정의, 동작 및 관리에 대한 가상 근거리 통신망 브리지의 동작을 규정하고 있다.Currently, all forms of local area networks that conform to the local area network approach and protocol standard (IEEE 802) can be connected to each other by means of a medium access control (MAC) bridge specified in ISO / IEC 15802-3. It defines the operation of virtual local area network bridges for the definition, operation and management of virtual local area network (VLAN) topologies within a bridged local area network.

상기 가상 근거리 통신망(이하 'VLAN'이라 함)은 포트, 매체접근제어 주소, 인터넷 프로토콜 서브넷(IP Subnet) 이더넷 프로토콜 등 물리적 또는 논리적으로 나눌 수 있는 조건에 의해 가상적으로 나뉘어지는 근거리 통신망을 의미한다.The virtual local area network (hereinafter, referred to as a 'VLAN') refers to a local area network that is virtually divided by physically or logically divided conditions such as a port, a medium access control address, and an Internet Protocol Subnet (IP Subnet) Ethernet protocol.

또한, 상기 IEEE 802.1Q 표준은 포트 기반의 VLAN 구성에 따라 데이터 프레임을 VLAN 태그에 따라 VLAN의 포트들 사이에서 스위칭되며, 만약 프레임이 VLAN 태그를 포함하지 않을 경우에는 프레임이 수신된 포트를 기반으로 해당 프레임에 디폴트 태그를 할당한다.In addition, the IEEE 802.1Q standard switches the data frame between the ports of the VLAN according to the VLAN tag according to the port-based VLAN configuration, and if the frame does not include the VLAN tag, the frame is based on the received port. Assign a default tag to the frame.

VLAN을 설정하는 방식에는 포트 기반의 VLAN, MAC 주소 기반의 VLAN, IP 서브넷 기반의 VLAN, 프로토콜 기반의 VLAN 및 멀티 캐스트 기반의 VLAN 등이 있는데, 이 설정 방식들을 설명하면 다음과 같다.There are two ways of configuring VLANs: port-based VLANs, MAC address-based VLANs, IP subnet-based VLANs, protocol-based VLANs, and multicast-based VLANs.

먼저, 프로토콜 기반의 VLAN은 IEEE 802.1Q 표준을 따르며, 포트에 의해 논리적으로 묶여지는 방식으로 가장 일반적으로 사용되며, 이 방식은 포트에 의해 묶여질 뿐 소속된 단말의 개수나 이동 등에 제한을 받지 않기 때문에 설정과 관리가 매우 쉬운 장점을 가지고 있다.First of all, protocol-based VLAN follows the IEEE 802.1Q standard and is most commonly used in a way that is logically bounded by ports. This method is bounded by ports and is not limited to the number or movement of terminals. This has the advantage of being very easy to set up and manage.

상기 MAC 주소 기반의 VLAN은 VLAN을 구성하는 단위가 각 단말들에 할당된 MAC 주소로서 VLAN을 구성하는 VLAN 멤버를 미리 지정할 수 있고, 등록되지 않은 MAC 주소를 가지는 단말들에 대해 제한을 둘 수 있기 때문에 특정 VLAN에 대한 네트워크 보안이 요구되는 경우에 적합하나, VLAN 설정이 포트 기반의 VLAN 보다 복잡하고 성능이 저하되는 단점이 있다.In the MAC address based VLAN, a VLAN constituting unit is a MAC address assigned to each terminal, and may pre-specify a VLAN member constituting a VLAN, and may limit a terminal having an unregistered MAC address. Therefore, it is suitable when network security is required for a specific VLAN. However, VLAN configuration is more complicated than port-based VLAN and performance is degraded.

상기 IP 서브넷 기반의 VLAN은 포트 기반의 VLAN 또는 MAC 주소 기반의 VLAN 처럼 2계층의 물리적 성질을 이용하는 것이 아니라 3계층의 IP 서브넷 정보를 기준으로 VLAN을 설정하기 때문에 수신되는 패킷들의 3계층의 IP 주소 정보를 참조해야 하며, 이에 따라 VLAN 학습에 많은 시간이 소요되는 단점이 있다.The IP subnet-based VLAN does not use the physical properties of the second layer like the port-based VLAN or the MAC address-based VLAN, but sets the VLAN based on the IP subnet information of the third layer. It is necessary to refer to the information, and accordingly, it takes a long time to learn VLAN.

상기 프로토콜 기반의 VLAN은 이더넷 프레임에서 목적지 MAC 주소와 근원지 MAC 주소 필드 다음에 오는 이더넷 프로토콜 타입 필드에 따라서 VLAN을 구성하며, 프로토콜 필드는 IP, 망간 패킷 교환(IPX), 주소도출 프로토콜(ARP), 역주소 확정 프로토콜(RARP) 그리고, 애플토크(APPLE-TALK)와 같은 프로토콜을 구분하는데 사용되는데, 이중 IPX나 APPLTALK와 같은 특정 프로토콜을 많이 사용하는 네트워크에 적합하다.The protocol-based VLAN configures a VLAN according to the Ethernet protocol type field following the destination MAC address and source MAC address fields in the Ethernet frame, and the protocol fields include IP, packet exchange (IPX), address derivation protocol (ARP), It is used to distinguish between protocols such as Reverse Address Resolution Protocol (RARP) and AppleTalk (APPLE-TALK), which is suitable for networks that use many specific protocols such as IPX or APPLTALK.

마지막으로, 상기 멀티 캐스트 기반의 VLAN은 인터넷 그룹 관리 프로토콜(IGMP) 패킷을 감시함으로써 네트워크 상에 형성되는 멀티캐스트 그룹을 하나의 논리적 VLAN으로 구성하며, IGMP는 인터넷을 비롯한 네트워크에서 네트워크 타이머 서버와 같은 네트워크 자원파악을 위해 사용되거나, 주문형 비디오(VOD), 영상회의 등을 사용하는 멀티미디어 환경에서 단말들에 의해 그룹을 동적으로 형성하는 것을 가능하게 해준다.Finally, the multicast-based VLAN monitors Internet Group Management Protocol (IGMP) packets to form multicast groups formed on the network into a single logical VLAN, and IGMP is a network timer server in the Internet and other networks. It is possible to dynamically form groups by terminals in a multimedia environment used for network resource grasping or using video on demand (VOD), video conferencing and the like.

상기와 같은 기술적 기반위에서의 종래 기술의 동작 과정을 첨부한 도면을 참조하여 설명하면 다음과 같다.Referring to the accompanying drawings, the operation process of the prior art on the technical basis as described above is as follows.

도 1은 종래 가상 근거리 통신망 간의 통신을 위한 구성을 보인 예시도로서,이에 도시된 바와 같이 일반적으로 스위치는 2계층 프레임을 고속으로 처리하기 위한 장비로서, IP 프레임과 같은 3계층 프레임의 처리는 별도의 기능이 있어야만 처리가 가능하므로, 이를 위해 라우터(근거리통신망을 연결하는 방식중에서, 서로 비슷한 또는 다른 방식의 통신망끼리 동일한 프로토콜을 사용한 연결방식)를 통해 서로 다른 VLAN간의 통신을 수행한다.1 is a diagram illustrating a configuration for communication between a conventional virtual local area network, and as shown in FIG. 1, a switch is a device for processing a layer 2 frame at high speed, and processing of a layer 3 frame such as an IP frame is separately performed. Because the processing is possible only if the function of, the communication between the different VLAN through the router (connecting the local area network, using the same protocol between the similar or different communication network) is performed.

그러나, 상기에서와 같이 종래의 기술에 있어서 스위치는 2계층 프레임을 고속으로 처리하기 위한 장비로서, IP 프레임과 같은 3계층 프레임의 처리는 별도의 기능이 있어야만 처리가 가능하기 때문에 이러한 별도의 처리는 중앙처리장치가 없는 장비에서는 불가능하여 VLAN으로 나뉘어진 각 그룹간에는 2계층의 프레임조차 통신이 불가능하고, 2계층 프레임에 둘러싸인 3계층의 프레임 통신도 또한 불가능하며, 또한 이를 해소하기 위해 라우터를 사용하지만 스위치와 비교해서 라우터는 수신 트래픽 처리에 많은 시간이 필요하여 트래픽 처리량이 증가할 수록 부하가 발생하여 라우터의 성능이 저하되고, 이에 따라 패킷 스위칭 전체의 동작 성능도 저하되는 등의 문제점이 있었다.However, in the prior art as described above, the switch is a device for processing a layer 2 frame at high speed, and processing of a layer 3 frame such as an IP frame can only be processed with a separate function. It is not possible for equipment without a central processing unit, so it is not possible to communicate even two-layer frames between groups divided into VLANs, and three-layer frame communication surrounded by two-layer frames is also impossible. Compared to the switch, the router requires a lot of time to process the received traffic. As the traffic throughput increases, the router generates a load, thereby degrading the performance of the router, thereby degrading the overall performance of packet switching.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창안한 것으로, 서로 다른 가상 근거리 통신망 간의 통신에 있어서, 2 계층 스위치가 라우팅 수행을 담당하도록 하여 라우터를 통하지 않고 통신을 할 수 있도록 하는 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problem, and in a communication between different virtual local area networks, a layer 2 switch is responsible for performing routing so that communication can be performed without passing through a router. The purpose is to provide.

도 1은 종래 가상 근거리 통신망 간의 통신을 위한 구성을 보인 예시도.1 is an exemplary view showing a configuration for communication between a conventional virtual local area network.

도 2는 본 발명을 적용하기 위한 시스템의 구성을 간략하게 보인 예시도.Figure 2 is an exemplary view briefly showing the configuration of a system for applying the present invention.

도 3은 본 발명에 따른 인트라(intra) 트래픽 동작의 흐름을 보인 예시도.3 is an exemplary view showing a flow of intra traffic operation according to the present invention.

도 4는 본 발명에 따른 인터(inter) 및 완(WAN) 트래픽 동작의 흐름을 보인 예시도.4 is an exemplary view illustrating a flow of inter and WAN traffic operations according to the present invention.

이와 같은 목적을 달성하기 위한 본 발명 가상 근거리 통신망 간의 패킷 스위칭 방법은 전송하고자 하는 호스트로부터 패킷이 수신되면 근원지(source)와 수신지의 서브넷(Subnet)이 동일 한가를 판단하여 인트라(intra), 인터(inter) 및 광역통신망(WAN)의 트래픽 동작 중 하나를 선택하는 트래픽 결정단계와; 상기 트래픽 판단단계의 판단결과에 따라 동일한 가상 근거리 통신망(VLAN)으로 구성된 세그먼트(segment)로 소정의 과정을 통해 패킷을 전송하는 인트라 트래픽수행단계와; 상기 트래픽 판단단계의 판단결과에 따라 서로 다른 VLAN으로 구성된 세그먼트로 소정의 과정을 통해 패킷을 전송하는 인터 트래픽수행단계와; 상기 가상 근거리 통신망 트래픽이 아닌 라우터를 통한 소정의 동작에 의해 망으로 전송하는 광역통신망 트래픽수행단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, the packet switching method between the virtual local area networks of the present invention determines whether the source and the subnet of the destination are the same when the packet is received from the host to be transmitted. a traffic determining step of selecting one of an inter) and a traffic operation of a wide area network (WAN); An intra traffic execution step of transmitting a packet through a predetermined process to a segment composed of the same virtual local area network (VLAN) according to the determination result of the traffic determination step; An inter traffic execution step of transmitting a packet to a segment composed of different VLANs according to a determination result of the traffic determination step through a predetermined process; Wide area network traffic performing step of transmitting to the network by a predetermined operation through the router rather than the virtual local area network traffic, characterized in that consisting of.

이하, 본 발명에 따른 일실시예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명을 적용하기 위한 시스템의 구성을 간략하게 보인 예시도로서, 이에 도시한 바와 같이 IEEE 802.1Q 표준에 따라 포트에 의해 논리적으로 묶여지는 포트기반의 VLAN으로 구성되며, 하나의 논리 아이피 서브넷(LIS)을 하나의 VLAN으로 구성하여 디폴트 게이트웨이를 설정하는데, 중앙처리장치(CPU)를 모든 VLAN의 디폴트 게이트웨이로 설정한다(VLAN 설정 개수 만큼의 IP를 할당 받는다). 이에 따라 상기 CPU는 서로 다른 VLAN 간의 통신 시에 해당 수신지 주소로 패킷을 전달하기 위하여 라우팅을 수행하며, 수신지 주소에 해당하는 VLAN의 포트로 패킹을 포워딩(forwarding)하는 역활을 수행한다.FIG. 2 is an exemplary view briefly showing a configuration of a system for applying the present invention. As shown in FIG. 2, a logical IP is configured based on a port-based VLAN that is logically bounded by ports according to the IEEE 802.1Q standard. The default gateway is configured by configuring the subnet (LIS) as one VLAN, and the CPU is set as the default gateway of all VLANs (as many IPs as the number of VLAN settings are allocated). Accordingly, the CPU performs routing to deliver a packet to a corresponding destination address when communicating between different VLANs, and forwards packing to a port of a VLAN corresponding to the destination address.

이와 같이 구성한 본 발명에 따른 일실시예의 동작 과정을 첨부한 도면을 참조하여 설명하면 다음과 같다.Referring to the accompanying drawings, the operation of an embodiment according to the present invention configured as described above will be described.

도 3은 본 발명에 따른 가상 근거리 통신망 간의 패킷 스위칭 동작을 보인 흐름도로서, 이에 도시한 바와 같이 전송하고자 하는 호스트(이하 '호스트 A'라 함)로부터 패킷이 수신되면 근원지(source)와 수신지의 서브넷(Subnet)이 동일 한가를 판단하고(S10), 이 판단결과 동일하면 같은 VLAN에 속해 있는 인트라(intra) 트래픽으로 판단하여 전송받을 호스트(이하 '호스트 B'라 함)의 매체접근제어(MAC) 주소를 알기 위한 주소도출 프로토콜 요구신호(이하 'ARP_Request'라 함)가 전송되면 새로운 MAC 주소인가를 판단한다(S11 ~ S14). 이 판단결과 새로운 MAC 주소인 경우에는 패킷의 소스 MAC 주소와 포트번호를 MAC 주소 테이블에 등록한 후, 등록한 MAC 주소를 중앙처리장치(CPU) 및 호스트 A의 VLAN으로 동시전송하여 각 테이블에 등록하도록 하며(S15 ~ S16), 이후 상기 ARP_Request 패킷을 호스트 A의 VLAN으로 전송되여 호스트 B가 ARP_Request 패킷을 수신한 다음, 호스트 B가 응답(이하 'ARP_Response'라 함)을 전송하여 새로운 MAC 주소인가를 판단하고(S17 ~ S19), 이 판단결과 새로운 MAC 주소이면 상기와 동일한 단계(S20 ~ S21)의 동작 수행을 반복 수행한 다음, 상기 ARP_Response 패킷을 호스트 A로 전송하여 호스트 B의 MAC 주소를 알려 상기 호스트 A에서 호스트 B로 데이터 패킷을 전송하도록 한다(S22 ~ S23).3 is a flowchart illustrating a packet switching operation between a virtual local area network according to the present invention. As shown in FIG. 3, when a packet is received from a host (hereinafter, referred to as 'host A') to be transmitted, a source and a destination of the packet are received. It is determined whether the subnet is the same (S10), and if the result is the same, the medium access control (MAC) of the host (hereinafter referred to as 'host B') to be transmitted is determined as intra traffic belonging to the same VLAN. When an address derivation protocol request signal (hereinafter referred to as 'ARP_Request') for knowing an address is transmitted, it is determined whether it is a new MAC address (S11 to S14). As a result of this determination, in case of a new MAC address, the source MAC address and port number of the packet are registered in the MAC address table, and then the registered MAC address is simultaneously transmitted to the CPU of the CPU and Host A and registered in each table. (S15 ~ S16), the ARP_Request packet is then transmitted to the VLAN of the host A, the host B receives the ARP_Request packet, and then the host B transmits a response (hereinafter referred to as 'ARP_Response') to determine whether the new MAC address In operation S17 to S19, if it is determined that the MAC address is a new MAC address, the same operations (S20 to S21) are repeated. Then, the ARP_Response packet is transmitted to the host A to inform the host B's MAC address. Transmits the data packet to the host B (S22 to S23).

만약, 상기 단계(S10)의 판단결과 동일하지 않으면 인터(inter) 트래픽으로 판단하여 도 4에 도시한 바와 같이 호스트 A로부터 전송받을 호스트 B의 매체접근제어(MAC) 주소를 알기 위한 ARP_Request를 전송하면 새로운 MAC 주소인가를 판단한다(S30 ~ S31). 이 판단결과 새로운 MAC 주소인 경우에는 패킷의 소스 MAC 주소와 포트번호를 MAC 주소 테이블에 등록한 후, 등록한 MAC 주소를 디폴트 게이트웨이(default gateway)로 설정된 중앙처리장치(CPU) 및 호스트 A의 VLAN으로 동시 전송하여 각 테이블에 등록하도록 하며(S32 ~ S33), 이후 상기 ARP_Request 패킷을 CPU가 수신한 후, 이 CPU가 ARP_Response을 전송하면 새로운 MAC 주소인가를 판단한다(S34 ~ S36).If it is not the same as the determination result of step S10, if it is determined as inter traffic and transmits ARP_Request for determining the MAC address of host B to be transmitted from host A as shown in FIG. It is determined whether the new MAC address (S30 ~ S31). As a result of this determination, in case of a new MAC address, the source MAC address and port number of the packet are registered in the MAC address table, and then the registered MAC address is simultaneously used as the VLAN of the CPU and Host A set as the default gateways. It transmits and registers each table (S32 to S33). After the CPU receives the ARP_Request packet, if the CPU transmits ARP_Response, it is determined whether it is a new MAC address (S34 to S36).

상기 판단결과 새로운 MAC 주소이면 상기 단계(S32 ~ S33)의 동작 수행을 반복 수행한 다음, 상기 ARP_Response 패킷을 호스트 A로 전송하여 디폴트 게이트웨이(CPU)의 MAC 주소를 알려 상기 호스트 A에서 호스트 B로 전송할 데이터 패킷을 CPU로 전송하도록 하며(S37 ~ S38), 이 전송되는 데이터 패킷을 CPU가 수신한 후, 라우팅 테이블에 수신지 주소의 IP 서브넷에 해당하는 엔트리(entry)가 있는가를 판단한다(S39 ~ S40).If the determination result is a new MAC address, the operation of steps S32 to S33 is repeated, and then the ARP_Response packet is transmitted to the host A to inform the MAC address of the default gateway (CPU) and transmitted from the host A to the host B. The data packet is transmitted to the CPU (S37 to S38), and after the CPU receives the transmitted data packet, it is determined whether there is an entry corresponding to the IP subnet of the destination address in the routing table (S39 to S40). ).

상기의 판단결과 엔트리가 있는 경우에는 해당 수신지 주소로 라우팅을 수행한 후, CPU는 ARP_Rquest 패킷을 해당 호스트 B의 VLAN으로 전송하여(S42 ~ S43) 새로운 MAC 주소인가를 판단하여 상기 단계(S32 ~ S33)의 동작 수행을 반복 수행한 다음, 호스트 B가 ARP_Rquest 패킷을 수신한다(S44 ~ S45).If there is an entry as a result of the determination, after performing routing to the corresponding destination address, the CPU transmits an ARP_Rquest packet to the VLAN of the corresponding host B (S42 to S43) and determines whether it is a new MAC address. After repeating the operation of S33), the host B receives the ARP_Rquest packet (S44 to S45).

이후, 호스트 B가 ARP_Response을 전송하면(S45-1) ARP_Response 패킷의 전송 여부에 따라 소정의 동작 수행한다(S46).Thereafter, when the host B transmits the ARP_Response (S45-1), the host B performs a predetermined operation according to whether the ARP_Response packet is transmitted (S46).

CPU가 ARP_Response 패킷을 수신한 후(S47), CPU가 호스트 A로부터 수신받은데이터 패킷을 전송하기 위하여 CPU의 MAC 테이블에서 호스트 B의 엔트리가 존재하는지를 판단하여(S48), 엔트리가 존재하지 않으면 호스트 B의 디바이스 번호와 포트번호를 알아내기 위한 조회(Query) 메시지를 전송한 후, 판독 메시지를 전송하며(S50), 상기 조회 메시지에 따라 MAC 주소 테이블을 검색하여 해당 엔트리를 레지스터에 저장한 후, 판독 메시지가 입력되면 해당 정보를 메시지에 실어 전송하면(S51), 이를 CPU가 수신하여 호스트 B의 MAC 주소에 해당하는 디바이스 번호와 포트번호를 MAC 테이블에 저장한다(S52).After the CPU receives the ARP_Response packet (S47), the CPU determines whether an entry of the host B exists in the MAC table of the CPU to transmit the data packet received from the host A (S48), and if the entry does not exist, the host B After transmitting a query message to find the device number and port number of the device, a read message is transmitted (S50), the MAC address table is searched according to the inquiry message, the corresponding entry is stored in a register, and then read. When the message is input, the corresponding information is loaded into the message (S51), and the CPU receives the device number and the port number corresponding to the MAC address of the host B in the MAC table (S52).

상기 판단결과 엔트리가 존재하면 새로운 MAC 주소인가를 판단하여 이 판단결과 새로운 MAC 주소인 경우에 상기 단계(S32 ~ S33)의 동작 수행을 반복한 다음(S49), 호스트 A에서 수신한 데이터 패킷을 호스트 B로 전송한다(S53).If it is determined that the entry exists, it is determined whether it is a new MAC address, and if it is determined that the entry is a new MAC address, the operation of steps S32 to S33 is repeated (S49), and then the data packet received from the host A is host. Transfer to B (S53).

또한, 상기 단계(S40)의 판단결과 엔트리가 없는 경우에는 광역통신망(WAN) 트래픽으로 판단하여 라우터로 패킷을 전송하여 라우팅을 수행한 후, 호스트 B로 패킷을 전송하도록 한다(S41).In addition, if there is no entry as a result of the determination in step S40, the controller determines that the traffic is wide area network (WAN) traffic, transmits the packet to the router, performs routing, and then transmits the packet to the host B (S41).

이상에서 설명한 바와 같이 본 발명 가상 근거리 통신망 간의 패킷 스위칭 방법은 한 VLAN의 서버가 타 VLAN으로 접속을 시도하는 경우에 라우터를 대신에 라우팅 기능을 하는 스위치를 통해서 접속을 할 수 있도록 함으로써, 라우터의 트래픽 처리량에 따른 부하를 감소하여 라우터의 성능을 향상시킴과 동시에 패킷 스위칭 전체 동작의 성능도 향상시키는 효과가 있다.As described above, in the packet switching method between the virtual local area networks of the present invention, when a server of one VLAN attempts to connect to another VLAN, the router can access the router through a switch functioning as a routing function. By reducing the load due to the throughput, the performance of the router is improved, and the performance of the entire packet switching operation is also improved.

Claims (5)

전송하고자 하는 호스트로부터 패킷이 수신되면 발생원(source)과 수신지의 서브넷(Subnet)이 동일 한가를 판단하여 인트라(intra), 인터(inter) 및 광역통신망(WAN)의 트래픽 동작 중 하나를 선택하는 트래픽 결정단계와;When a packet is received from a host to be transmitted, it is determined whether the source and the subnet of the destination are the same to select one of the traffic operations of the intra, inter and wide area network (WAN). A decision step; 상기 트래픽 판단단계의 판단결과에 따라 동일한 가상 근거리 통신망(VLAN)으로 구성된 세그먼트(segment)로 소정의 과정을 통해 패킷을 전송하는 인트라 트래픽수행단계와;An intra traffic execution step of transmitting a packet through a predetermined process to a segment composed of the same virtual local area network (VLAN) according to the determination result of the traffic determination step; 상기 트래픽 판단단계의 판단결과에 따라 서로 다른 VLAN으로 구성된 세그먼트로 소정의 과정을 통해 패킷을 전송하는 인터 트래픽수행단계와;An inter traffic execution step of transmitting a packet to a segment composed of different VLANs according to a determination result of the traffic determination step through a predetermined process; 상기 가상 근거리 통신망 트래픽이 아닌 라우터를 통한 소정의 동작에 의해 망으로 전송하는 광역통신망 트래픽수행단계로 이루어진 것을 특징으로 하는 가상 근거리 통신망 간의 패킷 스위칭 방법.A method for switching packets between virtual local area networks, comprising performing a wide area network traffic performing step of transmitting to a network by a predetermined operation through a router instead of the virtual local area network traffic. 제1항에 있어서, 상기 인트라 트래픽수행단계는 전송하고자 하는 호스트(이하 '호스트 A'라 함)로부터 전송받을 호스트(이하 '호스트 B'라 함)의 매체접근제어(MAC) 주소를 알기 위한 주소도출 프로토콜 요구신호(이하 'ARP_Request'라 함)를 전송하면 새로운 MAC 주소인가를 판단하는 제1 단계와;The method of claim 1, wherein the intra traffic execution step includes an address for determining a MAC address of a host (hereinafter, referred to as 'host B') to be transmitted from a host (hereinafter, referred to as 'host A'). Transmitting a derived protocol request signal (hereinafter referred to as 'ARP_Request') to determine a new MAC address; 상기 제1 단계의 판단결과에 따라 패킷의 소스 MAC 주소와 포트번호를 MAC 주소 테이블에 등록한 후, 등록한 MAC 주소를 중앙처리장치(CPU) 및 호스트 A의VLAN으로 동시전송하여 각 테이블에 등록하도록 하는 제2 단계와;According to the determination result of the first step, the source MAC address and port number of the packet are registered in the MAC address table, and then the registered MAC address is simultaneously transmitted to the CPU of the CPU and the host A to be registered in each table. A second step; 상기 제2 단계의 수행이 완료되면 상기 ARP_Request 패킷을 호스트 B의 VLAN으로 전송한 후, 호스트 B로부터 응답(이하 'ARP_Response'라 함)이 수신되면 새로운 MAC 주소인가를 판단하는 제3 단계와;Transmitting the ARP_Request packet to the VLAN of the host B when the execution of the second step is completed, and then determining whether a new MAC address is received when a response (hereinafter referred to as 'ARP_Response') is received from the host B; 상기 제3 단계의 판단결과에 따라 상기 제2 단계의 동작 수행을 반복 수행한 다음, 상기 ARP_Response 패킷을 호스트 A로 전송하여 호스트 B의 MAC 주소를 알려 상기 호스트 A에서 호스트 B로 데이터 패킷을 전송하도록 하는 제4 단계로 이루어진 것을 특징으로 하는 가상 근거리 통신망 간의 패킷 스위칭 방법.After repeating the operation of the second step according to the determination result of the third step, the ARP_Response packet is transmitted to the host A to inform the host B's MAC address to transmit the data packet from the host A to the host B. Packet switching method between the virtual local area network, characterized in that consisting of a fourth step. 제1항에 있어서, 상기 광역통신망 트래픽수행단계는 호스트 A로부터 패킷이 수신되면 라우팅 테이블에서 목적지 주소의 IP 서브넷에 해당하는 엔트리가 있는가를 판단하는 제1 단계와;The method of claim 1, wherein the performing of the wide area network traffic comprises: a first step of determining whether there is an entry corresponding to an IP subnet of a destination address in a routing table when a packet is received from the host A; 상기 제1 단계의 판단에 따라 인터 트랙픽수행단계의 소정 단계를 수행하거나, 라우터로 패킷을 전송하여 라우팅을 수행한 후, 호스트 B로 패킷을 전송하는 제2 단계로 이루어진 것을 특징으로 하는 가상 근거리 통신망 간의 패킷 스위칭 방법.A virtual local area network comprising a second step of performing a predetermined step of the inter-tracking step according to the determination of the first step, or transmitting a packet to a router, and then transmitting the packet to the host B How packets are switched between. 제1항에 있어서, 상기 인터 트래픽수행단계는 호스트 A로부터 전송받을 호스트 B의 매체접근제어(MAC) 주소를 알기 위한 ARP_Request를 전송하면 새로운 MAC 주소인가를 판단하는 제1 단계와;The method of claim 1, wherein the performing of the inter traffic comprises: a first step of determining whether a new MAC address is transmitted by transmitting an ARP_Request for identifying a medium access control (MAC) address of the host B to be transmitted from the host A; 상기 제1 단계의 판단결과에 따라 패킷의 소스 MAC 주소와 포트번호를 MAC 주소 테이블에 등록한 후, 등록한 MAC 주소를 중앙처리장치(CPU) 및 호스트 A의 VLAN으로 동시전송하여 각 테이블에 등록하도록 하는 제2 단계와;According to the determination result of the first step, the source MAC address and port number of the packet are registered in the MAC address table, and then the registered MAC address is simultaneously transmitted to the CPU of the CPU and the host A and registered in each table. A second step; 상기 제2 단계의 수행이 완료되면 상기 ARP_Request 패킷을 호스트 B의 VLAN으로 전송한 후, 호스트 B에서 전송한 ARP_Response를 디폴트 게이트웨이(default gateway)로 설정된 CPU에서 수신받아 호스트 A로 전송한 다음, 새로운 MAC 주소인가를 판단하는 제3 단계와;When the execution of the second step is completed, the ARP_Request packet is transmitted to the VLAN of the host B, the ARP_Response transmitted from the host B is received by the CPU set as the default gateway (default gateway) and transmitted to the host A, and then a new MAC A third step of determining whether the address is an address; 상기 제3 단계의 판단결과에 따라 상기 제2 단계의 동작 수행을 반복 수행한 다음, 상기 ARP_Response 패킷을 호스트 A로 전송하여 디폴트 게이트웨이(CPU)의 MAC 주소를 알려 상기 호스트 A에서 호스트 B로 전송할 데이터 패킷을 CPU로 전송하도록 하는 제4 단계와;After repeating the operation of the second step according to the determination result of the third step, the ARP_Response packet is transmitted to the host A to inform the MAC address of the default gateway (CPU) to transmit data from the host A to the host B. A fourth step of sending a packet to the CPU; 상기 제4 단계의 수행에 의해 전송되는 데이터 패킷을 수신한 후, 라우팅 테이블에 수신지 주소의 IP 서브넷에 해당하는 엔트리(entry)가 있는가를 판단하는 제5 단계와;A fifth step of determining whether there is an entry corresponding to the IP subnet of the destination address in the routing table after receiving the data packet transmitted by performing the fourth step; 상기 제5 단계의 판단결과에 따라 광역통신망 트래픽수행단계를 수행하거나, 해당 수신지 주소로 라우팅을 수행한 후, ARP_Rquest 패킷을 해당 호스트 B의 VLAN으로 전송한 다음, 호스트 B로부터 ARP_Response이 수신되면 ARP_Response 패킷의 수신 여부에 따라 소정의 동작을 수행하거나, 새로운 MAC 주소인가를 판단하는 제6 단계와;After performing the wide area network traffic execution step or routing to the corresponding destination address according to the determination result of the fifth step, transmitting the ARP_Rquest packet to the VLAN of the corresponding host B, and then receiving the ARP_Response from the host B, ARP_Response A sixth step of performing a predetermined operation or determining whether a packet is a new MAC address according to whether a packet is received; 상기 제6 단계의 판단결과에 따라 상기 제2 단계의 동작 수행을 반복한 다음ARP_Response 패킷을 CPU로 전송하는 제7 단계와;A seventh step of repeating the operation of the second step according to the determination result of the sixth step and then transmitting an ARP_Response packet to the CPU; 상기 제6 단계의 소정 동작 수행 후, 또는 상기 제7 단계의 수행이 광역통신망료가 되면 호스트 A에서 수신한 데이터 패킷을 호스트 B로 전송하는 제8 단계로 이루어진 것을 특징으로 하는 가상 근거리 통신망 간의 패킷 스위칭 방법.An eighth step of transmitting a data packet received from the host A to the host B after performing the predetermined operation of the sixth step or performing the seventh step of the wide area network; Switching method. 제4항에 있어서, 상기 제6 단계는 CPU의 MAC 테이블에 해당 엔트리가 존재하는지를 판단하는 제1 단계와;The method of claim 4, wherein the sixth step comprises: a first step of determining whether a corresponding entry exists in a MAC table of a CPU; 상기 제1 단계의 판단결과에 따라 호스트 B의 디바이스 번호와 포트번호를 알아내기 위한 조회(Query) 메시지를 전송한 후, 판독메시지를 전송하는 제2 단계와;A second step of transmitting a read message after transmitting a query message for determining a device number and a port number of the host B according to the determination result of the first step; 상기 제2 단계의 조회 메시지에 따라 MAC 주소 테이블을 검색하여 해당 엔트리를 레지스터에 저장한 후, 판독 메시지가 입력되면 해당 정보를 메시지에 실어 전송하는 제3 단계와;A third step of retrieving the MAC address table according to the inquiry message of the second step, storing the corresponding entry in a register, and transmitting the corresponding information to the message when a read message is input; 상기 제3 단계의 정보가 담긴 메시지를 수신하여 호스트 B의 MAC 주소에 해당하는 디바이스 번호와 포트번호를 테이블에 저장하는 제4 단계를 더 포함하여 이루어진 것을 특징으로 하는 가상 근거리 통신망 간의 패킷 스위칭 방법.And receiving a message containing the information of the third step and storing a device number and a port number corresponding to the MAC address of the host B in a table.
KR1020000080742A 2000-12-22 2000-12-22 Packet switching method for virtual local area network KR20020051191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000080742A KR20020051191A (en) 2000-12-22 2000-12-22 Packet switching method for virtual local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000080742A KR20020051191A (en) 2000-12-22 2000-12-22 Packet switching method for virtual local area network

Publications (1)

Publication Number Publication Date
KR20020051191A true KR20020051191A (en) 2002-06-28

Family

ID=27684953

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000080742A KR20020051191A (en) 2000-12-22 2000-12-22 Packet switching method for virtual local area network

Country Status (1)

Country Link
KR (1) KR20020051191A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030028366A (en) * 2001-09-29 2003-04-08 가부시끼가이샤 도시바 Wireless communication system and wireless lan access point
CN1300987C (en) * 2003-04-22 2007-02-14 华为技术有限公司 Method for hot backing up creation and delection of virtual local area network in exchanger
KR100862500B1 (en) * 2007-01-09 2008-10-08 (주)넷비젼텔레콤 Communication system and communication method for enabling communication between customers connected same link that there is no layer 2 communication path
US7492768B2 (en) 2002-12-24 2009-02-17 Electronics And Telecommunications Research Institute System and method for VLAN configuration of E-PON, and recording medium with stored program thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10190715A (en) * 1996-12-27 1998-07-21 Matsushita Electric Works Ltd Network switching system
US5920699A (en) * 1996-11-07 1999-07-06 Hewlett-Packard Company Broadcast isolation and level 3 network switch
JPH11331237A (en) * 1998-05-20 1999-11-30 Hitachi Ltd Method and device for repeating multicast packet
KR20010018824A (en) * 1999-08-23 2001-03-15 윤종용 Layer-3 ip switching apparatus using layer-2 switch in atmor ethernet and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5920699A (en) * 1996-11-07 1999-07-06 Hewlett-Packard Company Broadcast isolation and level 3 network switch
JPH10190715A (en) * 1996-12-27 1998-07-21 Matsushita Electric Works Ltd Network switching system
JPH11331237A (en) * 1998-05-20 1999-11-30 Hitachi Ltd Method and device for repeating multicast packet
KR20010018824A (en) * 1999-08-23 2001-03-15 윤종용 Layer-3 ip switching apparatus using layer-2 switch in atmor ethernet and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030028366A (en) * 2001-09-29 2003-04-08 가부시끼가이샤 도시바 Wireless communication system and wireless lan access point
US7492768B2 (en) 2002-12-24 2009-02-17 Electronics And Telecommunications Research Institute System and method for VLAN configuration of E-PON, and recording medium with stored program thereof
CN1300987C (en) * 2003-04-22 2007-02-14 华为技术有限公司 Method for hot backing up creation and delection of virtual local area network in exchanger
KR100862500B1 (en) * 2007-01-09 2008-10-08 (주)넷비젼텔레콤 Communication system and communication method for enabling communication between customers connected same link that there is no layer 2 communication path

Similar Documents

Publication Publication Date Title
US5946308A (en) Method for establishing restricted broadcast groups in a switched network
US7088689B2 (en) VLAN data switching method using ARP packet
US6553028B1 (en) Method and apparatus for multicast switching using a centralized switching engine
EP1949621B1 (en) Techniques for inserting internet protocol services in a broadband access network
US6023563A (en) Networking switch having the network presence of a bridge
WO2000019680A2 (en) System and method for network flow optimization using traffic classes
JPH08331165A (en) Inter-lan connector
US6980547B1 (en) Distributed switch/router silicon engine
US20140169170A1 (en) Maintaining consistent quality of service between subnets
KR20020051191A (en) Packet switching method for virtual local area network
US20100278185A1 (en) Method for reducing the required memory capacity of switches by using fictive source mac addresses
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging
Cisco Configuring Source-Route Bridging

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application