KR100475852B1 - Method for managing layer-2 multicast group using IGMP packet in Ethernet switch - Google Patents

Method for managing layer-2 multicast group using IGMP packet in Ethernet switch Download PDF

Info

Publication number
KR100475852B1
KR100475852B1 KR10-2002-0075396A KR20020075396A KR100475852B1 KR 100475852 B1 KR100475852 B1 KR 100475852B1 KR 20020075396 A KR20020075396 A KR 20020075396A KR 100475852 B1 KR100475852 B1 KR 100475852B1
Authority
KR
South Korea
Prior art keywords
virtual lan
igmp packet
information
multicast group
address
Prior art date
Application number
KR10-2002-0075396A
Other languages
Korean (ko)
Other versions
KR20040047253A (en
Inventor
윤현정
이종협
김영선
Original Assignee
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR10-2002-0075396A priority Critical patent/KR100475852B1/en
Publication of KR20040047253A publication Critical patent/KR20040047253A/en
Application granted granted Critical
Publication of KR100475852B1 publication Critical patent/KR100475852B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Abstract

본 발명에 의한 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법은 가상랜 아이디와 멀티캐스트 그룹 주소간의 매핑 테이블과 상기 가상랜아이디별 정보를 포함하는 가상랜 테이블을 구비하는 단계; 호스트로부터 이더넷 프레임을 수신하여 목적지 MAC 주소를 기초로 IGMP 패킷인지의 여부를 판단하는 단계; 및 상기 판단 결과 IGMP 패킷이면 상기 IGMP 패킷내 정보를 기초로 상기 가상랜 테이블을 갱신하는 단계;를 포함하는 것을 특징으로 하며, 이더넷 스위치 운영자가 CLI를 이용하여 정적으로 등록하지 않아도, GMRP, GVRP를 지원하지 않는 호스트의 NIC 드라이버에서 동적으로 2계층 멀티캐스트 그룹이나 가상랜에 등록 및 해제할 수 있다.The layer 2 multicast group and virtual LAN management method using IGMP packet information according to the present invention includes the steps of: providing a mapping table between a virtual LAN ID and a multicast group address and a virtual LAN table including information for each virtual LAN ID; Receiving an Ethernet frame from a host and determining whether the packet is an IGMP packet based on a destination MAC address; And updating the virtual LAN table based on the information in the IGMP packet when the determination result is an IGMP packet. The Ethernet switch operator does not need to statically register using the CLI, and thus, GMRP and GVRP. The NIC driver of unsupported hosts can dynamically register and unregister to layer 2 multicast groups or virtual LANs.

Description

이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 관리방법{Method for managing layer-2 multicast group using IGMP packet in Ethernet switch}Method for managing layer-2 multicast group using IGMP packet in Ethernet switch}

본 발명은 IP 서브넷 및 포트 기반 가상랜을 지원하는 이더넷 스위치에서 각 호스트들이 IGMP 패킷을 이용하여 가상랜에 동적으로 등록 및 해제할 때, 이더넷 스위치에서 가상랜 및 2계층 멀티캐스트 그룹을 관리하는 방법에 관한 것이다. 특히 본 발명에 의한 가상랜 및 2계층 멀스캐스트 그룹 관리 방법은 호스트에서 송신한 IGMP 패킷을 스위치에서 가로채어, 송신 호스트 IP 주소와 멀티캐스트 그룹 주소와 가상랜과의 매핑 관계, 스위치 포트 정보를 이용하여 가상랜 테이블 생성 방법에 관한 것이다.The present invention provides a method for managing a virtual LAN and a layer 2 multicast group in an Ethernet switch when each host dynamically registers and releases a virtual LAN using IGMP packets in an Ethernet switch supporting an IP subnet and a port-based virtual LAN. It is about. In particular, the virtual LAN and the layer 2 multi-cast group management method according to the present invention intercepts the IGMP packet transmitted from the host in the switch, using the mapping relationship between the transmission host IP address and the multicast group address and the virtual LAN, and switch port information. It relates to a virtual LAN table generation method.

이 분야의 종래 기술로는 시스코에서 개발한 시스코 그룹 관리 프로토콜(CGMP) 과 IEEE802.1Q의 일부인 GARP기반 GMRP, GVRP 프로토콜이 있다. 이더넷의 모든 호스트들이 이와 같은 프로토콜을 이용하여 2계층 멀태캐스트 그룹 및 가상랜에 동적으로 등록하기 위해서는 호스트의 네트워크 인터페이스 카드(NIC) 드라이버에서는 GMRP, GVRP 기능을 지원해야 하며 그렇지 않은 경우에는 이더넷 스위치에서 특정 가상랜에 등록하고자 하는 호스트 정보를 CLI(Command Line Interface)와 같은 정적인 방법으로 가상랜 테이블 및 2계층 멀티캐스트 그룹 테이블에 등록 해줘야 한다. 즉 GARP를 지원하지 않는 NIC 드라이버를 가지고 있는 호스트들은 동적으로 멀티캐스트 그룹 및 가상랜에 등록할 수 없다. 따라서 특정 가상랜에 등록을 원하는 호스트의 수가 많아지면 정적인 방법으로 가상랜 테이블을 등록하기에는 한계를 드러내고 있다.Prior arts in this area include the Cisco Group Management Protocol (CGMP) developed by Cisco and the GARP-based GMRP and GVRP protocols, which are part of IEEE802.1Q. In order for all hosts of Ethernet to dynamically register to Layer 2 multicast groups and virtual LANs using this protocol, the host's network interface card (NIC) driver must support GMRP and GVRP functions. Host information to be registered in a specific virtual LAN must be registered in the virtual LAN table and the 2 tier multicast group table in a static manner such as a CLI (Command Line Interface). In other words, hosts with NIC drivers that do not support GARP cannot register with multicast groups and virtual LANs dynamically. Therefore, when the number of hosts wanting to register to a specific virtual LAN increases, it is difficult to register the virtual LAN table in a static manner.

본 발명이 이루고자 하는 기술적 과제는 GMRP, GVRP를 지원하지 않는 호스트들에서도 IP 계층의 IGMP 패킷을 이용하여 이더넷의 원하는 2계층 멀티캐스트 그룹 및 가상랜에 등록이 가능하게 하기 위해, 이더넷 스위치에서 IGMP 패킷 정보를 통해 2계층 멀티캐스트 그룹 및 가상랜을 관리하는 방식을 제공하는 것이다. The technical problem to be achieved in the present invention is to enable IGMP packets in Ethernet switches to register to the desired layer 2 multicast group and virtual LAN of Ethernet using IP layer IGMP packets even in hosts that do not support GMRP, GVRP It is to provide a method of managing a layer 2 multicast group and a virtual LAN through the information.

상기의 기술적 과제를 이루기 위하여 본 발명에 의한 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법은, 이더넷 스위치에서 멀티캐스트 그룹을 관리하는 방법에 있어서 특히 가상랜 아이디와 멀티캐스트 그룹 주소간의 매핑 테이블과 상기 가상랜아이디별 정보를 포함하는 가상랜 테이블을 구비하는 단계; 호스트로부터 이더넷 프레임을 수신하여 목적지 MAC 주소를 기초로 IGMP 패킷인지의 여부를 판단하는 단계; 및 상기 판단 결과 IGMP 패킷이면 상기 IGMP 패킷내 정보를 기초로 상기 가상랜 테이블을 갱신하는 단계;를 포함하는 것을 특징으로 한다.In order to achieve the above technical problem, the layer 2 multicast group and virtual LAN management method using IGMP packet information according to the present invention is particularly effective in managing a multicast group in an Ethernet switch between a virtual LAN ID and a multicast group address. Providing a virtual LAN table including a mapping table and information for each virtual LAN ID; Receiving an Ethernet frame from a host and determining whether the packet is an IGMP packet based on a destination MAC address; And updating the virtual LAN table based on the information in the IGMP packet if the determination result is an IGMP packet.

이하 첨부된 도면을 참조하면서 본 발명의 바람직한 일 실시예를 자세히 설명하도록 한다. 먼저 이더넷 망 토폴로지를 보여주는 도 1을 참조하면서 이더넷 네트워크의 일반적인 구성을 살펴본다. 이와 같은 망 토폴로지에서 2계층 멀티캐스트 서비스를 제공하기 위해서 이더넷 스위치(102)에서는 각 호스트들이 연결되어 있는 스위치 포트와 멀티캐스트 그룹(가상랜) 매핑 관계를 관리하고 있다. 만약 GMRP, GVRP를 지원하지 않는 NIC 드라이버를 가진 호스트(101)가 원하는 가상랜(103)에 등록하기 위해서는 가상랜에 매핑되는 멀티캐스트 그룹 주소를 가지고 IGMP 패킷을 생성하여 이더넷 스위치(102)로 송신하면 된다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, a general configuration of an Ethernet network will be described with reference to FIG. 1 showing an Ethernet network topology. In order to provide a layer 2 multicast service in such a network topology, the Ethernet switch 102 manages a multicast group (virtual LAN) mapping relationship between switch ports to which respective hosts are connected. If a host 101 having a NIC driver that does not support GMRP and GVRP registers with a desired virtual LAN 103, an IGMP packet is generated with a multicast group address mapped to the virtual LAN and transmitted to the Ethernet switch 102. Just do it.

도 2는 GARP를 지원하지 않는 NIC 드라이버를 가진 호스트들이 멀스캐스트 그룹(가상랜)에 등록 및 해제 하기 위해 이용될 IGMP 메시지 포맷을 나타내고 있다. 타입 필드(201)를 통해 멀트캐스트 구성 정보 질의(0x11), 멀티캐스트 구성 정보 리포트(0x12, 0x16), 그룹으로부터의 해제(0x17) 요구 메시지로 구분 할 수 있다. 그룹 주소 필드(203)는 IP 멀티캐스트 주소이며, 해당 주소는 특정 가상랜으로 매핑된다. 각 호스트와 이더넷 스위치에서는 가상랜 아이디와 멀티캐스트 주소 매핑 테이블을 유지한다. 단, IGMP에서 몇 개의 IP 멀티캐스트 주소는 특별한 의미를 갖는다. 예를 들어, 224.0.0.1은 서브넷의 있는 모든 호스트들과 라우터들에게 멀티캐스트 한다는 의미를 갖는다. 호스트들이 IGMP 패킷을 이용하여 가상랜에 등록하고자 할때, 위와 같은 특별한 의미를 갖은 그룹 주소는 이용하지 않는다.FIG. 2 illustrates an IGMP message format that hosts with NIC drivers that do not support GARP will be used to register and release to a muxcast group (virtual LAN). The type field 201 may be divided into a multicast configuration information query (0x11), a multicast configuration information report (0x12, 0x16), and a release request from the group (0x17). The group address field 203 is an IP multicast address, and the address is mapped to a specific virtual LAN. Each host and Ethernet switch maintains a virtual LAN ID and multicast address mapping table. However, some IP multicast addresses have special meaning in IGMP. For example, 224.0.0.1 means multicast to all hosts and routers in the subnet. When hosts register with a virtual LAN using IGMP packets, group addresses with special meanings as above are not used.

도 3은 D 클래스 IP 주소와 이더넷 멀티캐스트 주소와의 매핑 관계를 나타내고 있다. GVRP, GMRP를 지원하지 않는 NIC 드라이버를 가진 호스트들이 가상랜에 등록 및 해제하기 위해, 호스트에서는 D 클래스 IP 주소와 가상랜 아이디 매핑 정보를 유지하며 이용한다. 이때, D클래스 IP 주소에 매핑 되는 이더넷 주소를 이더넷 스위치에서 수신한다. 이더넷 스위치에서는 프레임의 목적지 MAC 주소를 보고 송신 호스트가 어느 가상랜에 등록 및 해제하기를 원하는지 알 수 있게 된다.3 shows a mapping relationship between a class D IP address and an Ethernet multicast address. Hosts with NIC drivers that do not support GVRP or GMRP are registered and released to the virtual LAN. The host maintains and uses class D IP address and virtual ID mapping information. At this time, the Ethernet switch receives the Ethernet address mapped to the D class IP address. The Ethernet switch looks at the destination MAC address of the frame and knows which virtual LAN the sending host wants to register and release.

도 4는 이더넷 스위치와 호스트에서 유지해야 하는 가상랜과 멀티캐스트 그룹 주소의 매핑 테이블을 나타내고 있다. 이더넷 스위치에서 유지하는 매핑 테이블은 400, 호스트에서 유지하는 매핑 테이블은 410이다. 이더넷 스위치에서 유지하는 매핑 테이블(400)을 참조하여 멀티캐스트 MAC 주소(401)에 매핑되는 가상랜 아이디(402)와 멀티캐스트의 라이프 타임 값(403)을 알 수 있다. 그리고 호스트에서 유지하는 매핑 테이블(410)을 참조하여 D 클래스 IP 주소(411)에 매핑되는 가상랜 아이디(412)와 멀티캐스트의 라이프 타임 값(413)을 알 수 있다. 멀티개스트의 라이프 타임값(403,413)은 멀티캐스트 그룹이 유지될 수 있는 주기를 나타낸다.FIG. 4 illustrates a mapping table of virtual LAN and multicast group addresses to be maintained in an Ethernet switch and a host. The mapping table maintained by the Ethernet switch is 400, and the mapping table maintained by the host is 410. The virtual LAN ID 402 mapped to the multicast MAC address 401 and the life time value 403 of the multicast may be known by referring to the mapping table 400 maintained by the Ethernet switch. The virtual LAN ID 412 mapped to the D class IP address 411 and the life time value 413 of the multicast may be known by referring to the mapping table 410 maintained by the host. The life time values 403 and 413 of the multicast indicate how long the multicast group can be maintained.

도 5는 이더넷 스위치에서 관리하는 가상랜 테이블 구조를 나타내고 있다. 이더넷 스위치에서는 호스트로부터 수신한 도 2의 IGMP 패킷을 가로채어 분석하여, IGMP 패킷내의 그룹 주소(203)를 가지고 도 4의 이더넷에서 유지하는 매핑 테이블 (400)검색을 통해 가상랜 아이디(502)를 찾는다. 그리고 찾은 가상랜 아이디(502)에 매핑되는 가상랜 테이블 엔트리를 생성하여 도 5의 500과 같은 가상랜 테이블을 구성한다. 가상랜 멤버 포트 정보(502)에는 IGMP 패킷을 수신한 스위치 포트 번호가 추가되고 IP 서브넷 주소(503)에는 IGMP의 IP 헤더의 송신지 IP 주소의 서브넷 주소가 추가 된다. 5 shows a virtual LAN table structure managed by an Ethernet switch. The Ethernet switch intercepts and analyzes the IGMP packet of FIG. 2 received from the host, and searches the mapping table 400 maintained in the Ethernet of FIG. 4 with the group address 203 in the IGMP packet to find the virtual LAN ID 502. Find. A virtual LAN table entry mapped to the found virtual LAN ID 502 is generated to configure a virtual LAN table as shown in 500 of FIG. 5. The switch port number for receiving the IGMP packet is added to the virtual LAN member port information 502, and the subnet address of the source IP address of the IP header of the IGMP is added to the IP subnet address 503.

도 6은 이더넷 스위치에서 GMRP, GVRP를 지원하지 않는 NIC 드라이버를 가진 호스트들로부터 IGMP 패킷을 수신하여 가상랜 테이블 생성 및 삭제 처리 절차를 보여주는 흐름도이다. 이더넷 스위치에서는 액세스 모드 혹은 하이브리드 모드로 설정된 포트로 부터 수신한 프레임(601)의 목적지 MAC 주소를 가지고 MAC 룩업을한다(602). 이 때 목적지 MAC 주소 범위가 01:00:5e:00:00:00 ~ 01:00:5e:7f:ff:ff 에 해당 되는 경우인지를 판단하여(603), 상기 범위내에 속하면 IGMP 패킷이므로 아래와 같은 절차를 거치게 되지만, 그렇지 않은 경우에는 멀티캐스트 패킷이 아니므로 도 7의 일반적인 프레임 절차를 따르게 된다(604).6 is a flowchart illustrating a procedure of creating and deleting a virtual LAN table by receiving an IGMP packet from hosts having NIC drivers that do not support GMRP and GVRP in an Ethernet switch. The Ethernet switch performs MAC lookup with the destination MAC address of the frame 601 received from the port set to the access mode or the hybrid mode (602). In this case, it is determined whether the destination MAC address range is from 01: 00: 5e: 00: 00: 00 to 01: 00: 5e: 7f: ff: ff (603). Although the following procedure is performed, otherwise, since it is not a multicast packet, the general frame procedure of FIG. 7 is followed (604).

상기 603단계에서 IGMP 패킷으로 판된되었으면, IGMP 패킷내의 그룹 주소를 가지고 도 4의 매핑 테이블(400) 검색을 하여 매핑되는 가상랜 아이디를 찾는다(605 내지 607). IGMP 패킷내의 타입 필드(201)값이 그룹 등록 요청인지 혹은 삭제인지를 판단하여(608) 등록 요청인 경우에는 가상랜 테이블 엔트리를 생성하게 된다. 즉 수신한 프레임의 송신 호스트 서브넷 주소, 스위치의 수신 포트, 가상랜 아이디를 가지고 도 5의 가상랜 테이블(500) 엔트리를 생성한다(609,610). If it is determined as an IGMP packet in step 603, the virtual LAN ID to be mapped is found by searching the mapping table 400 of FIG. 4 with the group address in the IGMP packet (605 to 607). It is determined whether the value of the type field 201 in the IGMP packet is a group registration request or deletion (608), and if it is a registration request, a virtual LAN table entry is generated. That is, the virtual LAN table 500 entry of FIG. 5 is generated with the transmission host subnet address of the received frame, the reception port of the switch, and the virtual LAN ID (609, 610).

그러나 IGMP 패킷내의 타입 필드(201)값이 그룹 해제 요청인 경우에는 607단계에서 검색하여 얻은 가상랜 아이디를 기초로 가상랜 테이블를 검색하여 해당되는 엔트리를 삭제한다(611, 612).However, if the type field 201 value in the IGMP packet is a group release request, the corresponding entry is deleted by searching the virtual LAN table based on the virtual LAN ID obtained by searching in step 607 (611 and 612).

도 7a 내지 도 7b는 도 6의 절차에 따라 특정 가상랜에 등록한 호스트들이 2계층 데이터 프레임을 이더넷 스위치에 송신했을때, 이더넷 스위치에서의 2계층 데이터 프레임 처리 절차를 보여주고 있다. 이더넷 스위치에서 프레임을 수신하면(701) 프레임 분류 절차에 따라 MPLS, ARP(7-7), 유니캐스트, 멀티캐스트 패킷으로 분류한다(702). 멀티캐스트용 패킷인 경우(704), 도 5의 IGMP 패킷 스누핑 처리 절차, 즉 매핑 테이블을 검색하여 해당 가상랜 아이디에 따른 가상랜으로의 등록 혹은 삭제(705)를 거친후, 멀티캐스트 처리(766)를 한다. 목적지 주소 MAC이 유니캐스트인 경우(703), 목적지 주소 MAC와 이더넷 스위치의 MAC이 동일한지 체크한다(708). 만약 동일한 경우에는 IP 패킷 처리 절차를 거친다(709). 그러나 동일하지 않은 경우에는 수신 프레임이 브리지 프로토콜 데이터 유니트인지 판단한다(710). 판단결과 브리지 프로토콜 데이터 유니트인 경우(710)에는 스패닝 트리 프로토콜 처리 절차를 거친다(711). 한편 수신 프레임이 브리지 PDU가 아니면 그 프레임이 가상랜 태깅 프레임인지를 판단하게 되는데(712), 가상랜 태깅 프레임인 경우에는 수신 프레임의 송신 IP 서브넷 주소와 스위치의 수신 포트 정보로 가상랜 테이블를 검색하여 가상랜 아이디를 찾는다(714). 수신 프레임이 가상랜 프레임인 경우 혹은 714단계를 거친 후에는 찾은 가상랜 아이디를 가지고 가상랜 테이블을 검색하여 수신 포트의 상태를 검사한다(713). 상기 프레임을 수신한 입력 포트 상태가 학습(Learning) 상태 이면 2계층 주소 학습 처리 및 에이징 처리 절차를 거친다(716). 만약 상기 입력 포트 상태가 포워딩(forwarding) 상태이면, 2계층 송신지 MAC 테이블에 해당 엔트리가 존재 하는 지를 검사한다(717). 존재하지 않으면, 2계층 주소 학습 처리 및 에이징 처리 절차를 거친다(716). 그러나 해당 엔트리가 존재하면 목적지 MAC 주소와 713, 714 단계에서 얻은 가상랜 아이드를 키워드로 2계층 목적지 MAC 주소 테이블에서 출력 포트를 찾는다(718). 최종적으로 출력포트로 프레임을 송신(719)함으로써 프레임 처리 절차를 종료하게 된다.7A to 7B illustrate a procedure of processing a layer 2 data frame in an Ethernet switch when hosts registered in a specific virtual LAN transmit a layer 2 data frame to an Ethernet switch according to the procedure of FIG. 6. If the Ethernet switch receives the frame (701), it classifies the MPLS, ARP (7-7), unicast, multicast packet according to the frame classification procedure (702). In case of multicast packet (704), the IGMP packet snooping processing procedure of FIG. 5, that is, the mapping table is searched and registered or deleted in the virtual LAN according to the corresponding virtual LAN ID (705), and then multicast processing (766). ) If the destination address MAC is unicast (703), it is checked whether the destination address MAC and the MAC of the Ethernet switch are the same (708). If the same, the IP packet processing procedure is passed (709). However, if it is not the same, it is determined whether the received frame is a bridge protocol data unit (710). If the determination result is a bridge protocol data unit (710), a spanning tree protocol processing procedure is performed (711). On the other hand, if the received frame is not a bridge PDU, it is determined whether the frame is a virtual LAN tagging frame (712). In the case of a virtual LAN tagging frame, the virtual LAN table is searched by using the receiving IP subnet address of the receiving frame and the receiving port information of the switch. The virtual LAN ID is found (714). When the reception frame is a virtual LAN frame or after step 714, the virtual LAN table is searched for by using the found virtual LAN ID to check the state of the reception port (713). If the input port state receiving the frame is a learning state, a two-layer address learning process and an aging process are performed (716). If the input port state is a forwarding state, it is checked whether a corresponding entry exists in the layer 2 destination MAC table (717). If not present, a two-layer address learning process and an aging process are performed (716). However, if the corresponding entry exists, the output port is found in the layer 2 destination MAC address table using the destination MAC address and the virtual LAN id obtained in steps 713 and 714 (718). Finally, the frame processing procedure is terminated by transmitting the frame to the output port (719).

본 발명에 의한 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 하드 디스크, 플로피 디스크, 플래쉬 메모리, 광 데이타 저장장치등이 있으며, 또한 캐리어 웨이브(예를들면 인터넷을 통한 전송)의 형태로 구현되는 것도 포함된다. 또한 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 통신망으로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 읽을 수 있는 코드로서 저장되고 실행될 수 있다. 또한 본 발명에 의한 폰트 롬 데이터구조도 컴퓨터로 읽을 수 있는 ROM, RAM, CD-ROM, 자기 테이프, 하드 디스크, 플로피 디스크, 플래쉬 메모리, 광 데이타 저장장치등과 같은 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현되는 것이 가능하다.In the Ethernet switch according to the present invention, the layer 2 multicast group and virtual LAN management method using IGMP packet information may also be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, hard disk, floppy disk, flash memory, optical data storage device, and also carrier wave (e.g. transmission over the Internet). It is also included to be implemented in the form of. The computer readable recording medium can also be distributed over computer systems connected over a computer network so that the computer readable code is stored and executed in a distributed fashion. Also, the font ROM data structure according to the present invention can be read by a computer on a recording medium such as a computer readable ROM, RAM, CD-ROM, magnetic tape, hard disk, floppy disk, flash memory, optical data storage device, and the like. It can be implemented as code.

이상에서 설명한 바와 같이 본 발명에 따른 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법에 따르면, 이더넷 스위치에서 호스트로부터 수신한 IGMP 패킷를 분석하여 멀티캐스트 그룹이나 가상랜 정보를 얻어 2계층 멀티캐스트 그룹 및 가상랜 테이블을 생성 및 삭제 함으로써, GARP기반 GMRP, GVRP 와 같은 가상랜 등록 프로토콜을 지원하지 않는 호스들에서도 IGMP 패킷을 이용하여 동적으로 2계층 멀티캐스트 그룹 및 가상랜에 등록할 수 있게 된다. 즉 이더넷 스위치 운영자가 CLI를 이용하여 정적으로 등록하지 않아도, GMRP, GVRP를 지원하지 않는 호스트의 NIC 드라이버에서 동적으로 2계층 멀티캐스트 그룹이나 가상랜에 등록 및 해제할 수 있는 효과가 있다. As described above, according to the two-layer multicast group and virtual LAN management method using IGMP packet information according to the present invention, two-layer multi-layer multicast group or virtual LAN information is obtained by analyzing IGMP packets received from a host in an Ethernet switch. By creating and deleting cast groups and virtual LAN tables, even hosts that do not support virtual LAN registration protocols, such as GARP-based GMRP and GVRP, can dynamically register to layer 2 multicast groups and virtual LANs using IGMP packets. do. In other words, even if the Ethernet switch operator does not register statically using the CLI, the NIC driver of the host that does not support GMRP and GVRP can register and release dynamically in the layer 2 multicast group or virtual LAN.

도 1은 이더넷 망 토폴로지를 나타내는 도면이다.1 is a diagram illustrating an Ethernet network topology.

도 2는 IGMP 패킷의 구성을 보여주는 도면이다.2 is a diagram showing the configuration of an IGMP packet.

도 3은 D 클래스 IP 주소와 이더넷 멀티캐스트 주소와의 매핑 관계를 보여주는 도면이다.3 is a diagram illustrating a mapping relationship between a class D IP address and an Ethernet multicast address.

도 4는 멀티캐스트 그룹 주소와 가상랜 아이디의 매핑 테이블 구조를 보여주는 도면이다.4 is a diagram illustrating a mapping table structure of a multicast group address and a virtual LAN ID.

도 5는 이더넷 스위치에서 유지하는 가상랜 테이블 구조를 보여주는 도면이다.5 is a diagram illustrating a virtual LAN table structure maintained in an Ethernet switch.

도 6은 이더넷 스위치에서 IGMP 패킷 정보를 이용한 가상랜 테이블을 구성하는 절차를 보여주는 흐름도이다.6 is a flowchart illustrating a procedure of configuring a virtual LAN table using IGMP packet information in an Ethernet switch.

도 7a 내지 도 7b는 이더넷 스위치에서 2계층 프레임을 처리하는 절차를 보여주는 도면이다.7A to 7B are diagrams illustrating a procedure of processing a layer 2 frame in an Ethernet switch.

Claims (7)

(a) 가상랜 아이디와 멀티캐스트 그룹 주소간의 매핑 테이블과 상기 가상랜아이디별 정보를 포함하는 가상랜 테이블을 구비하는 단계;(a) providing a mapping table between a virtual LAN ID and a multicast group address and a virtual LAN table including information for each virtual LAN ID; (b) 호스트로부터 이더넷 프레임을 수신하여 목적지 MAC 주소를 기초로 IGMP 패킷인지의 여부를 판단하는 단계; 및(b) receiving an Ethernet frame from a host and determining whether the packet is an IGMP packet based on a destination MAC address; And (c) 상기 판단 결과 IGMP 패킷이면 상기 IGMP 패킷내 정보를 기초로 상기 가상랜 테이블을 갱신하는 단계;를 포함하는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법.(c) updating the virtual LAN table based on the information in the IGMP packet if the determination result is an IGMP packet; a layer 2 multicast group and virtual LAN management using IGMP packet information in an Ethernet switch, comprising: Way. 제1항에 있어서, 상기 (b)단계는The method of claim 1, wherein step (b) 상기 호스트의 D 클래스 IP 주소와 상기 가상랜 아이디간의 매핑정보를 기초로 구성된 상기 IGMP 패킷을 수신하는 단계;를 포함하는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법.Receiving the IGMP packet configured based on the mapping information between the D-class IP address and the virtual LAN ID of the host; Layer 2 multicast group and virtual LAN using IGMP packet information in the Ethernet switch comprising a How to manage. 제2항에 있어서, 상기 매핑정보는The method of claim 2, wherein the mapping information 상기 IP 주소의 하위 23비트를 이더넷 주소의 하위 23비트에 복사함으로써 구성되는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 구성방법.The second layer multicast group and virtual LAN configuration method using the IGMP packet information in the Ethernet switch, characterized in that by copying the lower 23 bits of the IP address to the lower 23 bits of the Ethernet address. 제1항에 있어서, 상기 (c)단계는The method of claim 1, wherein step (c) (c1) 상기 IGMP 패킷의 그룹주소를 기초로 상기 매핑 테이블에서 상기 가상랜 아이디를 검색하는 단계; 및(c1) searching for the virtual LAN ID in the mapping table based on the group address of the IGMP packet; And (c2) 상기 검색 결과 상기 가상랜 아이디가 상기 매핑 테이블에 존재하면 상기 IGMP 패킷의 타입값을 기초로 멀티캐시트 그룹으로의 등록 혹은 삭제를 요구하는지 판단하는 단계;를 포함하는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법.(c2) if the virtual LAN ID is present in the mapping table as a result of the search, determining whether to request registration or deletion to a multi-catalog group based on a type value of the IGMP packet; Layer 2 multicast group and virtual LAN management using IGMP packet information in a switch. 제4항에 있어서, 상기 (c2)단계는The method of claim 4, wherein step (c2) 상기 판단결과 등록요구의 경우에는 상기 이더넷 프레임을 수신한 포트, 상기 이더넷 프레임을 송신한 호스트의 서브넷, 가상랜 아이디를 포함하는 정보로 상기 가상랜 테이블을 갱신하는 단계;를 포함하는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법.And in the case of the registration request of the determination result, updating the virtual LAN table with information including a port receiving the Ethernet frame, a subnet of the host transmitting the Ethernet frame, and a virtual LAN ID. Layer 2 multicast group and virtual LAN management method using IGMP packet information in Ethernet switch. 제4항에 있어서, 상기 (c2)단계는The method of claim 4, wherein step (c2) 상기 판단 결과 삭제요구의 경우에는 삭제요구를 한 호스트에 관한 정보를 상기 가상랜 테이블에서 모두 삭제하는 단계;를 포함하는 것을 특징으로 하는 이더넷 스위치에서 IGMP 패킷 정보를 이용한 2계층 멀티캐스트 그룹 및 가상랜 관리방법.And in the case of the deletion request, deleting all the information about the host that has requested the deletion from the virtual LAN table. 2 layer multicast group and virtual LAN using IGMP packet information in an Ethernet switch. How to manage. 제1항의 단계를 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the steps of claim 1 on a computer.
KR10-2002-0075396A 2002-11-29 2002-11-29 Method for managing layer-2 multicast group using IGMP packet in Ethernet switch KR100475852B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0075396A KR100475852B1 (en) 2002-11-29 2002-11-29 Method for managing layer-2 multicast group using IGMP packet in Ethernet switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0075396A KR100475852B1 (en) 2002-11-29 2002-11-29 Method for managing layer-2 multicast group using IGMP packet in Ethernet switch

Publications (2)

Publication Number Publication Date
KR20040047253A KR20040047253A (en) 2004-06-05
KR100475852B1 true KR100475852B1 (en) 2005-03-10

Family

ID=37342668

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0075396A KR100475852B1 (en) 2002-11-29 2002-11-29 Method for managing layer-2 multicast group using IGMP packet in Ethernet switch

Country Status (1)

Country Link
KR (1) KR100475852B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442775C (en) * 2005-11-17 2008-12-10 华为技术有限公司 Method for implementing multicast in Mac in Mac network
JP4723457B2 (en) * 2006-11-06 2011-07-13 富士通株式会社 Relay device, wireless communication system, and multicast relay method
KR100918581B1 (en) * 2007-08-03 2009-09-24 주식회사 다산네트웍스 method and apparatus for processing IGMP join report packet
CN101448003B (en) * 2008-12-23 2012-02-01 杭州华三通信技术有限公司 Method and device for processing IGMP message
KR101016417B1 (en) * 2010-04-14 2011-02-21 김현호 Agricultural heating equipment using water friction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898686A (en) * 1995-04-25 1999-04-27 Cabletron Systems, Inc. Network bridge with multicast forwarding table
JP2000134208A (en) * 1998-10-21 2000-05-12 Hitachi Ltd Information repeater
US20010012295A1 (en) * 1997-08-22 2001-08-09 Bruce A Wilford Enhanced internet packet routing lookup
JP2002044132A (en) * 2000-07-21 2002-02-08 Nec Commun Syst Ltd Multi-cast membership setting method and system, and recording medium
JP2002064558A (en) * 2000-08-22 2002-02-28 Nec Corp Ip multi-cast path control method and router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5898686A (en) * 1995-04-25 1999-04-27 Cabletron Systems, Inc. Network bridge with multicast forwarding table
US20010012295A1 (en) * 1997-08-22 2001-08-09 Bruce A Wilford Enhanced internet packet routing lookup
JP2000134208A (en) * 1998-10-21 2000-05-12 Hitachi Ltd Information repeater
JP2002044132A (en) * 2000-07-21 2002-02-08 Nec Commun Syst Ltd Multi-cast membership setting method and system, and recording medium
JP2002064558A (en) * 2000-08-22 2002-02-28 Nec Corp Ip multi-cast path control method and router

Also Published As

Publication number Publication date
KR20040047253A (en) 2004-06-05

Similar Documents

Publication Publication Date Title
US11102033B2 (en) Method and apparatus for implementing a flexible virtual local area network
US10887119B2 (en) Multicasting within distributed control plane of a switch
US8199753B2 (en) Forwarding frames in a computer network using shortest path bridging
JP3288365B2 (en) Data communication system with distributed multicasting
US7787369B2 (en) Flexible Ethernet bridge
US7586895B2 (en) Performing extended lookups on MAC-based tables including level 3 multicast group destination addresses
US6147995A (en) Method for establishing restricted broadcast groups in a switched network
EP2497234B1 (en) Network device and method based on virtual interfaces
US8867555B2 (en) Method and system for transparent LAN services in a packet network
US8509248B2 (en) Routing frames in a computer network using bridge identifiers
US9628293B2 (en) Network layer multicasting in trill networks
US8537837B2 (en) Switch with virtual network identifier re-write capability
EP2369782B1 (en) Multicasting within a distributed control plane of a switch
US9917794B2 (en) Redirection IP packet through switch fabric
US20160087887A1 (en) Routing fabric
US10187293B2 (en) Apparatus and method for multicast data packet forwarding
WO2007045146A1 (en) A method and a device for bridging forwarding
US7660291B2 (en) Method for processing packets of a VLAN in a network switch
KR100475852B1 (en) Method for managing layer-2 multicast group using IGMP packet in Ethernet switch
CN111107008A (en) Reverse path checking method and device
US9008091B1 (en) Methods, systems, and computer readable media for improved multicast scaling through policy based redirection
JP2003348148A (en) Ip multicast control method and ip multicast control system employing the same
US7362717B1 (en) Method and system for using distributed name servers in multi-module fibre channel switches
KR20040051427A (en) A Method for Processing Data in Label Edge Router Enable to Serve VPN and Distinguish Users
Xiyang et al. Research on VLAN technology in L3 switch

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: 20090303

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee