KR101415978B1 - System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan - Google Patents

System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan Download PDF

Info

Publication number
KR101415978B1
KR101415978B1 KR1020100121121A KR20100121121A KR101415978B1 KR 101415978 B1 KR101415978 B1 KR 101415978B1 KR 1020100121121 A KR1020100121121 A KR 1020100121121A KR 20100121121 A KR20100121121 A KR 20100121121A KR 101415978 B1 KR101415978 B1 KR 101415978B1
Authority
KR
South Korea
Prior art keywords
dhcp
cpu
port
dhcp server
vlan group
Prior art date
Application number
KR1020100121121A
Other languages
Korean (ko)
Other versions
KR20120059724A (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 KR1020100121121A priority Critical patent/KR101415978B1/en
Publication of KR20120059724A publication Critical patent/KR20120059724A/en
Application granted granted Critical
Publication of KR101415978B1 publication Critical patent/KR101415978B1/en

Links

Images

Classifications

    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Abstract

본 발명은 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템 및 방법에 관한 것이다. 본 발명의 하나의 모습에 따라, 하나의 이더넷 MAC를 구비하는 CPU; 및 이더넷 MAC과 연결되는 하나의 물리적 CPU 포트, 외부망과 연결되는 외부망 포트 및 내부망과 연결되는 내부망 포트를 구비하는 L2 이더넷 스위치; 를 포함하여 이루어지고, CPU 및 L2 이더넷 스위치의 물리적 CPU 포트와 외부망 포트를 포함하는 제1 VLAN 그룹과, CPU 및 L2 이더넷 스위치의 물리적 CPU 포트와 내부망 포트를 포함하는 제2 VLAN 그룹을 형성하되, 외부망에 대하여 제1 VLAN 그룹의 CPU는 DHCP 클라이언트로 동작하고, 내부망에 대하여 제2 VLAN 그룹의 CPU는 DHCP 서버로 동작하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템이 제안된다.The present invention relates to a system and method for setting and operating a DHCP server in a subnet in a data transmission apparatus using a virtual LAN. According to one aspect of the present invention, there is provided a communication system including: a CPU having one Ethernet MAC; An L2 Ethernet switch having one physical CPU port connected to the Ethernet MAC, an external network port connected to the external network, and an internal network port connected to the internal network; A first VLAN group including a physical CPU port and an external network port of the CPU and the L2 Ethernet switch and a second VLAN group including a physical CPU port and an internal network port of the CPU and the L2 Ethernet switch Wherein the CPU of the first VLAN group operates as a DHCP client with respect to the external network and the CPU of the second VLAN group operates with respect to the internal network as a DHCP server. A DHCP server configuration and operation system is proposed.

Description

가상랜을 이용한 데이터전송장치에서의 서브넷 디에이치씨피 서버 설정 및 운영 시스템 및 방법{SYSTEM AND METHOD FOR CONFIGURATING AND MANAGING DHCP SERVER OF A SUBNET IN A DATA TRANSFER APPARATUS USING VIRTUAL LAN}TECHNICAL FIELD [0001] The present invention relates to a system and method for configuring and operating a subnetwork DCS server in a data transmission apparatus using a virtual LAN,

본 발명은 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템 및 방법에 관한 것이다. The present invention relates to a system and method for setting and operating a DHCP server in a subnet in a data transmission apparatus using a virtual LAN.

구체적으로는 하나의 이더넷 MAC를 구비하는 CPU에 하나의 물리적 포트를 통해 연결되는 L2 이더넷 스위치를 구비한 데이터전송장치에서, 가상랜을 형성하여 내부망과 외부망 간에 가상랜 그룹을 분리 구분하여 데이터전송이 이루어지도록 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템 및 방법에 관한 것이다.
Specifically, in a data transmission apparatus having an L2 Ethernet switch connected through a single physical port to a CPU having one Ethernet MAC, a virtual LAN is formed to divide a virtual LAN group between an internal network and an external network, And more particularly, to a system and method for setting and operating a DHCP server in a subnet in a data transmission apparatus using a virtual LAN.

가상랜(VLAN : Virtual Local Area Network)은 물리적으로 분리된 여러 개의 LAN 세그먼트 상에 걸쳐 있는 일련의 종단 스테이션들이 그들의 물리적 위치에 구애받지 않고 마치 하나의 공통 LAN에 속해 있는 것처럼 통신할 수 있는 기술을 말한다. 이러한 VLAN 기술은 한대의 이더넷 스위치가 마치 여러 대의 분리된 스위치처럼 사용할 수 있게 해줄 수 있어, 하나의 이더넷 스위치에 연결되어 있는 장비들도 브로드캐스트(Broadcast) 도메인이 서로 다르게 할 수 있어 전체 브로드캐스트 도메인을 분리시킬 수 있다. 따라서 이러한 VLAN은 기존 LAN의 브로드캐스트와 멀티캐스트 트래픽이 전달되는 영역을 제한시켜 대역폭 낭비를 감소시키고 전체 네트워크의 효율을 증가시킨다. 또한 VLAN은 가상 경계를 만들어 원하는 그룹에만 데이터를 전송하게 하여 네트워크 보안을 강화시킨다.A Virtual Local Area Network (VLAN) is a technology that allows a set of end stations on several physically separated LAN segments to communicate as if they belonged to one common LAN, regardless of their physical location. It says. This VLAN technology allows a single Ethernet switch to be used as if it were several separate switches, and the devices connected to one Ethernet switch can also have different broadcast domains, Can be separated. Therefore, these VLANs limit the area where the broadcast and multicast traffic of the existing LAN is carried, thereby reducing bandwidth waste and increasing the efficiency of the entire network. VLANs also enhance network security by creating virtual boundaries and transferring data to only the desired groups.

VLAN 기능을 가진 스위치 시스템에서 이더넷 2계층(L2) 스위칭 기능은 학습 프로세스에 의해서 입력 프레임의 포워딩을 결정하기 위한 포워딩 테이블을 구축한다. L2 스위치의 포워딩 테이블은 일반적으로 MAC(Media Access Control) 주소, VLAN(Virtual LAN) ID, 출력 포트 등의 요소들로 구성된다. 포워딩 테이블이 구축된 후 입력되는 프레임에 대한 처리 절차는 입력 프레임의 목적지 MAC 주소를 파악한 후, 멀티캐스트 또는 브로드캐스트 MAC주소를 가진 프레임의 경우에 입력 포트를 제외한 해당 VLAN 그룹의 모든 포트로 출력된다. 유니캐스트 MAC 주소를 가진 프레임의 경우는 해당 MAC 주소에 대한 엔트리가 포워딩 테이블에 있으면 해당 출력 포트로 전송되며, 없는 경우에는 모든 포트로 전송(Flooding)된다.
In a switch system with VLAN capability, the Ethernet Layer 2 (L2) switching function constructs a forwarding table to determine the forwarding of input frames by the learning process. The forwarding table of the L2 switch generally consists of elements such as MAC (Media Access Control) address, VLAN (Virtual LAN) ID, and output port. After the forwarding table is established, the processing procedure for the input frame is determined to be the destination MAC address of the input frame, and then output to all the ports of the corresponding VLAN group excluding the input port in the case of the frame having the multicast or broadcast MAC address . In the case of a frame having a unicast MAC address, if an entry for the corresponding MAC address is included in the forwarding table, the frame is transmitted to the corresponding output port. Otherwise, the frame is flooded to all the ports.

도 7a 및 7b는 종래의 데이터 전송장치에서의 서브넷 시스템에 관한 것이다. 7A and 7B relate to a subnet system in a conventional data transmission apparatus.

도 7a 및 7b를 참조하면, 종래의 데이터 전송장치에서의 로컬 네크워크 시스템은 다수의 네트워크 포트 사용시 도 7a에서 도시된 바와 같이 2개의 스위치 디바이스를 분리하여 WAN 사이드와 LAN 사이드를 분리하도록 하고 있었다. 또는 도 7b에 도시된 바와 같이, 하나의 스위치 디바이스를 구비하된 CPU에 두 개의 이더넷 MAC을 구비하고 L2 스위치도 2개의 이더넷 MAC에 각각 연결되도록 하여 WAN 사이드의 제1 VLAN 그룹과 LAN 사이드의 제2 VLAN 그룹을 형성시켜 다수의 LAN/WAN 네트워크 포트를 사용할 수 있도록 하였다.
Referring to FIGS. 7A and 7B, when a plurality of network ports are used in a local network system in a conventional data transmission apparatus, the WAN side and the LAN side are separated by separating two switch devices as shown in FIG. 7A. Alternatively, as shown in FIG. 7B, the CPU having one switch device may have two Ethernet MACs and the L2 switch may be connected to the two Ethernet MACs, respectively, so that the first VLAN group of the WAN side and the first VLAN group of the LAN side 2 VLAN groups were formed to enable the use of multiple LAN / WAN network ports.

본 발명은 전술한 종래의 문제를 해결하기 위한 것으로, 하나의 이더넷 MAC를 구비하는 CPU에 하나의 물리적 포트를 통해 연결되는 L2 이더넷 스위치를 구비한 데이터전송장치에서, 가상랜을 형성하여 내부망과 외부망 간에 가상랜 그룹을 분리 구분하여 데이터전송이 이루어질 수 있도록 하는 시스템 및 방법을 제공하고자 한다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and it is an object of the present invention to provide a data transmission apparatus having an L2 Ethernet switch connected to a CPU having one Ethernet MAC via one physical port, And to provide a system and method for allowing data transmission to be performed by dividing a virtual LAN group among external networks.

나아가, CPU에 하나의 물리적 포트(이더넷 MAC)가 있는 시스템에서 DHCP 서버 및 DHCP 클라이언트로써 동작하는 경우, WAN측이 외부망에 대하여 DHCP 클라이언트로 작동하고 LAN측이 내부망에 대하여 DHCP 서버로 동작하도록 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템 및 방법을 제공하고자 한다.
In addition, when the system operates as a DHCP server and a DHCP client in a system having a single physical port (Ethernet MAC) on the CPU, the WAN side acts as a DHCP client to the external network and the LAN side acts as a DHCP server to the internal network And a method and system for operating a DHCP server in a subnet in a data transmission apparatus using a virtual LAN.

전술한 목적을 달성하기 위하여, 본 발명의 하나의 모습에 따라, 하나의 이더넷 MAC를 구비하는 CPU; 및 이더넷 MAC과 연결되는 하나의 물리적 CPU 포트, 외부망과 연결되는 외부망 포트 및 내부망과 연결되는 내부망 포트를 구비하는 L2 이더넷 스위치; 를 포함하여 이루어지고, CPU 및 L2 이더넷 스위치의 물리적 CPU 포트와 외부망 포트를 포함하는 제1 VLAN 그룹과, CPU 및 L2 이더넷 스위치의 물리적 CPU 포트와 내부망 포트를 포함하는 제2 VLAN 그룹을 형성하되, 외부망에 대하여 제1 VLAN 그룹의 CPU는 DHCP 클라이언트로 동작하고, 내부망에 대하여 제2 VLAN 그룹의 CPU는 DHCP 서버로 동작하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템이 제안된다.
According to one aspect of the present invention, there is provided a method of controlling a communication system including a CPU having one Ethernet MAC; An L2 Ethernet switch having one physical CPU port connected to the Ethernet MAC, an external network port connected to the external network, and an internal network port connected to the internal network; A first VLAN group including a physical CPU port and an external network port of the CPU and the L2 Ethernet switch and a second VLAN group including a physical CPU port and an internal network port of the CPU and the L2 Ethernet switch Wherein the CPU of the first VLAN group operates as a DHCP client with respect to the external network and the CPU of the second VLAN group operates with respect to the internal network as a DHCP server. A DHCP server configuration and operation system is proposed.

바람직하게는, 본 발명의 또 하나의 모습에 따라, 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 DHCP 설정 메시지가 L2 이더넷 스위치의 포트를 통하여 수신된 경우에, CPU는 DHCP 설정 메시지 프레임이 수신된 포트가 내부망 포트인 경우 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 하고, DHCP 설정 메시지 프레임이 수신된 포트가 외부망 포트인 경우 DHCP 설정 메시지를 무시하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어한다. 바람직하게, DHCP 설정 메시지는 DHCP Discover 또는 Request 메시지이다.
Preferably, according to another aspect of the present invention, when a DHCP setting message broadcast from an apparatus belonging to an external network or an internal network is received through a port of an L2 Ethernet switch, the CPU transmits a DHCP setting message frame If the port is an internal network port, the second VLAN group is operated as a DHCP server. If the port on which the DHCP setting message frame is received is an external network port, the first VLAN group is ignored and a DHCP server So as not to operate. Preferably, the DHCP setup message is a DHCP Discover or Request message.

또한 바람직하게는, 본 발명의 또 하나의 모습에 따라, 데이터전송장치를 포함하는 상위 네트워크망 내의 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템, 상기 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템의 소속 단말장치, 또는 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템 및 소속 단말장치를 포함하는 서브넷 시스템으로부터 브로드캐스트된 DHCP 설정 메시지가 수신된 경우에, CPU는 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 DHCP 설정 메시지 응답 신호를 회신하지 않게 제어한다. 바람직하게, DHCP 설정 메시지는 DHCP Discover 또는 Request 메시지이고, DHCP 설정 메시지 응답 신호는 DHCP Offer 및 Ack 신호이다.Preferably, in accordance with another aspect of the present invention, there is provided a DHCP server setting and operating system of another data transfer apparatus in an upper network including a data transfer apparatus, a DHCP server setting and operation system of the other data transfer apparatus, When a DHCP setting message broadcast from a subnet system including a DHCP server setting and operating system of a belonging terminal device or another data transfer device and a terminal device belonging to the DHCP setting message is received, Analyzes the Ethernet address, and controls not to return a DHCP setup message response signal so as not to operate as a DHCP server for the first VLAN group. Preferably, the DHCP setup message is a DHCP Discover or Request message, and the DHCP setup message response signal is a DHCP Offer and Ack signal.

더 바람직하게는, CPU는 출발지 이더넷 어드레스의 전반부를 분석하여, 당해 시스템에 구비된 이더넷 MAC의 어드레스의 전반부 또는 미리 설정된 값과 일치하는 경우에 DHCP 설정 메시지 응답 신호를 회신하지 않도록 제어한다.
More preferably, the CPU analyzes the first half of the source Ethernet address and controls not to return the DHCP setting message response signal if the first half of the address of the Ethernet MAC or the preset value of the address of the Ethernet MAC in the system matches.

바람직하게는 또한, 본 발명의 또 하나의 모습에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템은, CPU에 연결되며 내부망 또는 외부망 기기와 무선 연결되는 무선통신모듈을 더 포함하여 이루어진다. 이때, 무선통신모듈은 외부망 기기와 연결되는 경우 제1 VLAN 그룹의 일부를 형성하고, 내부망 기기와 연결되는 경우 제2 VLAN 그룹의 일부를 형성한다. 또한, 외부망 또는 내부망 기기에서 브로드캐스트된 DHCP 설정 메시지가 무선통신모듈을 통하여 수신된 경우에, CPU는 무선통신모듈이 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단하되, 내부망 기기와 연결된 것으로 판단된 경우 무선통신모듈을 포함하는 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 하고, 외부망 기기와 연결된 것으로 판단된 경우 무선통신모듈을 포함하는 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어하게 된다.Preferably, the DHCP server setting and operating system of the subnet in the data transmitting apparatus using the virtual LAN according to another aspect of the present invention further includes a wireless communication module connected to the CPU and wirelessly connected to the internal network or the external network device, . At this time, the wireless communication module forms part of the first VLAN group when connected to the external network device, and forms part of the second VLAN group when connected to the internal network device. Also, when a DHCP setting message broadcasted from an external network or an internal network device is received through the wireless communication module, the CPU determines whether the wireless communication module is wirelessly connected to the external network device or the internal network device The second VLAN group including the wireless communication module is operated as a DHCP server, and when it is determined that the second VLAN group is connected to the external network device, the first VLAN group including the wireless communication module It is controlled not to operate as a DHCP server.

더 바람직하게는, 본 발명의 또 하나의 모습에 따라, CPU는 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 어드레스를 분석하여 무선통신모듈이 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단한다.
More preferably, according to another aspect of the present invention, the CPU analyzes the source address included in the received DHCP setup message frame to determine whether the wireless communication module is wirelessly connected to the external network device or the internal network device .

바람직하게는 또한, 본 발명의 또 하나의 모습에 따라, 외부망으로부터 내부망으로 데이터를 전송하는 경우, CPU는 ARP(Address Resolution Protocol) 통신에서 얻은 내부망의 네트워크 디바이스들의 물리적 주소와 라우팅 테이블을 이용하여 제1 VLAN 그룹과 제2 VLAN 그룹 간에 데이터전송이 이루어지도록 한다.
Preferably, according to another aspect of the present invention, when data is transmitted from an external network to an internal network, the CPU obtains a physical address of a network device of the internal network obtained from ARP (Address Resolution Protocol) communication and a routing table So that data transmission is performed between the first VLAN group and the second VLAN group.

게다가 바람직하게는, 본 발명의 또 하나의 모습에 따라, L2 이더넷 스위치는 각 포트를 통한 ARP(Address Resolution Protocol) 통신의 프레임신호로부터 분석된 내부망 네트워크 디바이스들의 물리적 주소를 이용하여 L2 스위치기능을 수행한다.
Further, preferably, according to another aspect of the present invention, the L2 Ethernet switch uses the physical address of the internal network devices analyzed from the frame signal of ARP (Address Resolution Protocol) communication through each port to perform the L2 switch function .

전술한 목적을 달성하기 위하여, 본 발명의 다른 하나의 모습에 따라, 하나의 이더넷 MAC이 구비된 CPU 및 이더넷 MAC에 연결된 L2 이더넷 스위치 상의 물리적 CPU 포트와 외부망 포트를 포함하는 제1 VLAN 그룹과, CPU 및 상기 L2 이더넷 스위치의 물리적 CPU 포트와 내부망 포트를 포함하는 제2 VLAN 그룹을 형성하는 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법에 있어서, (a) L2 이더넷 스위치의 포트를 통하여 수신된 신호가 브로드캐스트된 DHCP 설정 메시지인지를 판단하는 단계; (b) 앞선 (a) 단계에서 DHCP 설정 메시지로 판단된 경우, 외부망 포트 및 내부망 포트 중 어느 포트를 통하여 수신된 것인지를 판단하는 단계; (c) 앞선 (b) 단계에서 내부망 포트를 통하여 수신된 것으로 판단된 경우, CPU는 제2 VLAN 그룹에 대해서 DHCP 서버로 동작하는 단계; 및 (d) 앞선 (b) 단계에서 외부망 포트를 통하여 수신된 것으로 판단된 경우, CPU는 DHCP 설정 메시지를 무시하여 제1 VLAN 그룹에 대해서 DHCP 서버로 동작하지 않도록 하는 단계; 를 포함하여 이루어지는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법이 제안된다. 바람직하게, DHCP 설정 메시지는 DHCP Discover 또는 Request 메시지이다.
In order to achieve the above object, according to another aspect of the present invention, there is provided a communication system including a first VLAN group including a physical CPU port on an L2 Ethernet switch connected to a CPU having an Ethernet MAC and an Ethernet MAC, , A CPU and a second VLAN group including a physical CPU port and an internal network port of the L2 Ethernet switch, the method comprising the steps of: (a) configuring a port of the L2 Ethernet switch Determining whether the received signal is a broadcasted DHCP setting message; (b) determining which of the external network port and the internal network port is received when the DHCP setting message is determined in the step (a); (c) if it is determined in the previous step (b) that the packet is received through the internal network port, the CPU operates as a DHCP server for the second VLAN group; And (d) if it is determined in the previous step (b) that the packet is received through the external network port, the CPU ignores the DHCP setup message and does not operate as a DHCP server for the first VLAN group; A method of setting and operating a DHCP server in a subnet in a data transmission apparatus using a virtual LAN is proposed. Preferably, the DHCP setup message is a DHCP Discover or Request message.

바람직하게는, 본 발명의 또 하나의 모습에 따라, 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법은 전술한 (d) 단계에서는, 외부망 포트를 통하여 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 한다.
According to another aspect of the present invention, in the method for setting and operating the DHCP server of the subnet in the data transmission apparatus using the virtual LAN, in the step (d), the DHCP setting message received through the external network port The source Ethernet address included in the frame is analyzed to prevent the first VLAN group from acting as a DHCP server.

또한 바람직하게는, 본 발명의 또 하나의 모습에 따라, 전술한 (d) 단계는: (d-1) DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스의 전반부와 CPU에 구비된 이더넷 MAC의 어드레스 전반부 또는 미리 설정된 값과 일치하는지 분석하는 단계; 및 (d-2) 앞선 (d-1) 단계에서 분석결과 이더넷 MAC의 어드레스 전반부 또는 미리 설정된 값과 일치하는 경우, DHCP 설정 메시지 브로드캐스트에 대한 DHCP 설정 메시지 응답 신호를 회신하지 않도록 제어되어 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 하는 단계; 를 포함하여 이루어진다. 바람직하게, DHCP 설정 메시지 응답 신호는 DHCP Offer 및 Ack 신호이다.
According to still another aspect of the present invention, the step (d) includes: (d-1) the first half of the source Ethernet address included in the DHCP setup message frame and the address of the Ethernet MAC included in the CPU, Or a preset value; And (d-2), if it is determined in step (d-1) that the first half of the address of the Ethernet MAC or a preset value matches the DHCP setting message response signal for the DHCP setting message broadcast, Making the VLAN group not operate as a DHCP server; . Preferably, the DHCP setup message response signal is a DHCP Offer and Ack signal.

바람직하게는 또한, 본 발명의 또 하나의 모습에 따라, 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법에서 전술한 (a) 단계는: (a-1) L2 이더넷 스위치의 포트를 통하여 수신된 신호가 브로드캐스트된 신호인지 유니캐스트된 신호인지를 판단하는 단계; (a-2) 앞선 (a-1) 단계에서 브로드캐스트된 신호인 경우, DHCP 설정 메시지인지를 판단하는 단계; 및 (a-3) 앞선 (a-1) 단계에서 유니캐스트된 신호인 경우, 유니캐스트된 신호에 포함된 목적지 주소로의 전송에 상응하는 L2 이더넷 스위치를 통해 유니캐스트 프레임 신호를 전송하는 단계; 를 포함하여 이루어진다.
Preferably, in the method for setting and operating a DHCP server of a subnet in a data transmission apparatus using a virtual LAN according to another aspect of the present invention, the step (a) described above includes: (a-1) Determining whether a signal received through the port is a broadcast signal or a unicast signal; (a-2) determining whether the broadcast signal is a DHCP setting message in the step (a-1); And (a-3) transmitting a unicast frame signal through an L2 Ethernet switch corresponding to a transmission to a destination address included in the unicast signal when the signal is unicasted in the step (a-1) .

본 발명의 바람직한 하나의 모습으로 비록 명시적으로 언급되지 않았으나, 앞서 언급된 기술적 특징의 가능한 다양한 조합에 따른 실시예들이 구현 가능함은 자명하다.
Although not explicitly mentioned as a preferred form of the invention, it is to be understood that embodiments in accordance with the various possible combinations of the above-mentioned technical features are feasible.

본 발명의 모습에 따라, 하나의 이더넷 MAC를 구비하는 CPU에 하나의 물리적 포트를 통해 연결되는 L2 이더넷 스위치를 구비한 데이터전송장치에서, 가상랜을 형성하여 내부망과 외부망 간에 가상랜 그룹을 분리 구분하여 데이터전송이 이루어질 수 있도록 있게 되었다.According to an aspect of the present invention, in a data transmission apparatus having an L2 Ethernet switch connected through a single physical port to a CPU having one Ethernet MAC, a virtual LAN is formed to form a virtual LAN group between an internal network and an external network So that the data can be transmitted and separated.

나아가, CPU에 하나의 물리적 포트(이더넷 MAC)가 있는 시스템에서 DHCP 서버 및 DHCP 클라이언트로써 동작하는 경우, WAN측이 외부망에 대하여 DHCP 클라이언트로 작동하고 LAN측이 내부망에 대하여 DHCP 서버로 동작하도록 할 수 있게 되었다.
In addition, when the system operates as a DHCP server and a DHCP client in a system having a single physical port (Ethernet MAC) on the CPU, the WAN side acts as a DHCP client to the external network and the LAN side acts as a DHCP server to the internal network .

본 발명의 다양한 실시예에 따라 직접적으로 언급되지 않은 다양한 효과들이 본 발명의 실시예들에 따른 다양한 구성들로부터 당해 기술분야에서 통상의 지식을 지닌 자에 의해 도출될 수 있음은 자명하다.
It is apparent that various effects not directly referred to in accordance with various embodiments of the present invention can be derived by those of ordinary skill in the art from the various configurations according to the embodiments of the present invention.

도 1은 본 발명의 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 개략적인 블럭 구성도를 나타낸다.
도 2a는 도 1에 따른 실시예에서 DHCP 서버로의 동작제어를 개략적으로 나타내는 도면이다.
도 2b는 도 2a에 따른 DHCP 서버로의 동작제어가 이루어지는 네크워크 환경을 개략적으로 나타내는 도면이다.
도 2c는 DHCP 설정을 위한 메시지의 일례를 나타낸 것이다.
도 3은 도 1에 따른 실시예의 하나의 사용 설치예를 나타내는 개략적인 블럭도이다.
도 4는 본 발명의 다른 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법을 개략적으로 나타내는 흐름도이다.
도 5는 본 발명의 또 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법의 일부 단계를 나타내는 흐름도이다.
도 6은 본 발명의 또 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법을 개략적으로 나타내는 흐름도이다.
도 7a 및 7b는 종래의 데이터 전송장치에서의 서브넷 시스템을 나타내는 개략적인 블럭도이다.
1 is a schematic block diagram of a DHCP server setting and operating system for a subnet in a data transmission apparatus using a virtual LAN according to an embodiment of the present invention.
FIG. 2A is a diagram schematically showing operation control to a DHCP server in the embodiment according to FIG.
FIG. 2B is a diagram schematically illustrating a network environment in which operation control to the DHCP server according to FIG. 2A is performed.
2C shows an example of a message for DHCP setting.
FIG. 3 is a schematic block diagram showing one use installation example of the embodiment according to FIG.
4 is a flowchart schematically illustrating a method of operating a DHCP server setting and operating system in a subnet in a data transmission apparatus using a virtual LAN according to another embodiment of the present invention.
5 is a flowchart illustrating a method of operating a DHCP server setting and operating system in a subnet in a data transmission apparatus using a virtual LAN according to another embodiment of the present invention.
6 is a flowchart schematically illustrating a method of operating a DHCP server setting and operating system in a subnet in a data transmission apparatus using a virtual LAN according to another embodiment of the present invention.
7A and 7B are schematic block diagrams showing a subnet system in a conventional data transmission apparatus.

전술한 과제를 달성하기 위한 본 발명의 실시예들이 첨부된 도면을 참조하여 설명된다. 본 실시예들을 설명함에 있어서, 동일부호는 동일한 구성을 의미하고, 중복되거나 발명의 의미를 한정적으로 해석되게 할 수 있는 부가적인 설명은 본 발명의 실시예들을 설명함에 있어서 생략될 수 있다.
BRIEF DESCRIPTION OF THE DRAWINGS Fig. In the description of the embodiments, the same reference numerals denote the same components, and additional descriptions that may overlap or limit the meaning of the invention may be omitted from the description of the embodiments of the present invention.

구체적인 설명에 앞서, 본 발명 및 명세서에서 하나의 구성요소가 다른 구성요소와 '직접 연결' 또는 '직접 접속'되어 있다고 언급되지 않는 이상, 단순히 '연결' 또는 '접속'되어 있다고 언급된 경우에는 하나의 구성요소가 그 다른 구성요소에 '직접적으로' 연결 또는 접속되어 있을 수 있고, 나아가 그 기재된 설명에 비추어 모순되거나 발명의 개념에 반하지 않는 한 그들 사이에 또 다른 구성요소가 연결 또는 접속되는 형태로도 존재할 수 있다고 이해되어야 한다. Prior to the specific description, unless stated to the contrary, in the present specification and specification that one element is referred to as being either "connected" or "connected," unless expressly stated to be "directly connected" May be "connected" or connected directly to the other component, and further, insofar as the description is contradictory or contrary to the concept of the invention, another component is connected or connected It should be understood that the present invention can also exist as

본 발명 및 명세서 상에 비록 단수적 표현으로 기재되어 있을지라도 국어 사용에 있어서 단수/복수를 명확하게 구분짓지 않고 사용되는 환경과 당해 분야에서의 통상적인 용어 사용 환경에 비추어, 발명의 개념에 반하지 않고 해석상 모순되거나 명백하게 다르게 뜻하지 않는 이상 복수의 표현을 포함하는 의미로 사용된다. 본 명세서에서 '포함한다', '갖는다', '구비한다', '포함하여 이루어진다' 등은 하나 또는 그 이상의 다른 특징이나 구성요소 또는 그들의 조합의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
It will be understood by those skilled in the art that the present invention may be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. And is used interchangeably to mean plural unless expressly contradicted by interpretation or expressly expressly mean otherwise. It is to be understood that the terms 'comprises', 'comprising', 'comprising', 'comprising' and the like do not preclude the presence or addition of one or more other features or components or combinations thereof .

또한, 본 발명 및 명세서 상에서 '이더넷 어드레스', '이더넷 MAC 어드레스', 'MAC 어드레스', '물리적 주소' 등은 모두 컴퓨터 네트워킹 상의 미디어 접근제어주소로서 네크워크 상의 기기 각각의 고유한 물리적 주소를 의미하고, 바람직하게, 네크워크 상의 동일한 기기에 대해서는 동일한 어휘를 사용하고 있으나, 비록 그 어휘의 동일여부와 관계없이 네크워크 상에서 동일한 기기에 대해서는 동일하고, 네크워크 상에서 서로 다른 기기에 대해서는 다른 값을 갖는 것으로 이해되어야 한다.
Also, in the present invention and the specification, 'Ethernet address', 'Ethernet MAC address', 'MAC address', 'physical address', etc. all mean a physical access address of each device on the network as a media access control address on a computer networking Preferably, the same vocabulary is used for the same device in the network, but it should be understood that the vocabulary is the same for the same device in the network and different values for different devices in the network, regardless of whether the vocabulary is the same .

도 1은 본 발명의 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 개략적인 블럭구성도를 나타낸다.
1 is a schematic block diagram of a DHCP server setting and operating system for a subnet in a data transmission apparatus using a virtual LAN according to an embodiment of the present invention.

도 1을 참조하여, 본 발명의 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템을 살펴보면, 서브넷 라우팅 시스템은 CPU(10) 및 L2 이더넷 스위치(20)를 포함하여 이루어진다.Referring to FIG. 1, a DHCP server configuration and operation system for a subnet in a data transmission apparatus using a virtual LAN according to an embodiment of the present invention includes a CPU 10 and an L2 Ethernet switch 20, .

CPU(10)는 하나의 이더넷 MAC(Media Access Controller)(11)를 구비하고 있다. 이더넷 MAC은 일곱 계층의 OSI 모델에 규정된 데이터 링크 계층에서 작동하고 이더넷의 물리적 주소를 결정한다. The CPU 10 has one Ethernet MAC (Media Access Controller) 11. The Ethernet MAC operates at the data link layer specified in the seven layer OSI model and determines the physical address of the Ethernet.

L2 이더넷 스위치(20)는 이더넷 MAC(11)과 연결되는 하나의 물리적 CPU 포트(PHY CPU Port)(21), 외부망과 연결되는 외부망 포트(23) 및 내부망과 연결되는 내부망 포트(24)를 구비하고 있다. 바람직하게, L2 이더넷 스위치(20)는 MDC/MDIO(Management Data Clok/Management Data I/O)을 통해 CPU(10)에 의해 제어된다. CPU(10)의 이더넷 MAC(11)과 L2 이더넷 스위치(20)의 물리적 CPU 포트(21)는 MII(Media independent interface)를 통해 연결된다. 외부망 포트(23)는 WAN 포트를 구비하여 외부망 또는 외부 인터넷에 접속되게 한다. 외부망 포트(23)는 예컨대 RJ-45 등을 이용하여 외부망 또는 외부 인터넷과 연결되게 된다. 내부망 포트(24)는 내부 디바이스들(도시되지 않음)에 연결되는데, 예컨대 이더넷 트랜스포머가 내장된 RJ-45를 이용하여 연결될 수 있고, 또 바람직하게는 전력선통신(PLC) 물리계층(PHY)과 MII 인터페이스를 통해 연결될 수도 있다. MII는 PLC 통신이든 이더넷 통신이든 물리적 연결을 담당하고 있는 디바이스와 미디어 액세스 컨트롤러(MAC) 부분이 상호 연결되는 방식 표준이다.The L2 Ethernet switch 20 includes a physical CPU port 21 connected to the Ethernet MAC 11, an external network port 23 connected to the external network, and an internal network port 24). Preferably, the L2 Ethernet switch 20 is controlled by the CPU 10 via MDC / MDIO (Management Data Clok / Management Data I / O). The Ethernet MAC 11 of the CPU 10 and the physical CPU port 21 of the L2 Ethernet switch 20 are connected through a media independent interface (MII). The external network port 23 has a WAN port for connecting to an external network or the external Internet. The external network port 23 is connected to the external network or the external Internet using RJ-45 or the like. The internal network port 24 is connected to internal devices (not shown), which may be connected using, for example, an RJ-45 with an embedded Ethernet transformer, and preferably a power line communication (PLC) physical layer MII interface. MII is a standard for the way in which devices that are responsible for physical connection, such as PLC communication or Ethernet communication, and the media access controller (MAC) part are interconnected.

본 실시예에서, CPU(10) 및 L2 이더넷 스위치(20)의 물리적 CPU 포트(21)와 외부망 포트(23)를 포함하는 제1 VLAN 그룹이 형성되고, CPU(10) 및 L2 이더넷 스위치(20)의 물리적 CPU 포트(21)와 내부망 포트(24)를 포함하는 제2 VLAN 그룹이 형성된다. 예컨대, 제1 VLAN 그룹은 WAN 측이 되고, 제2 VLAN 그룹은 LAN 측이 된다. 제2 VLAN 그룹의 일부를 이루는 내부망 포트(24)는 다수의 포트로 이루어진다. 도 1을 참조하면, 포트 4(P4)는 전력선 통신와 미디어 독립 인터페이스로 연결되고, 전력선 통신의 물리계층(PLC PHY)과 연결되기 위해 MAC를 구비한다. 예컨대, 계량기 등의 검침에 사용되는 데이터전송장치의 경우 전력선통신(PLC)을 통해 내부망과 연결되는 경우가 많으므로, 도 1의 포트 4(P4)와 같은 내부망 포트(24)가 필요하다. 또한 포트 3(P3)는 RJ-45를 이용하여 연결된다. 도 1에 RJ-45를 이용하여 연결되는 포트가 1개만 도시되었으나, 다수의 포트로 이루어질 수 있다. 언급되지 않았으나, RJ-45 이외의 다른 이더넷에서의 전송규격에 알맞은 인터페이스 포트를 구비할 수 있다. 도 1에서는, L2 이더넷 스위치(20)의 PHY CPU 포트(21), P0, P1, P2가 제1 VLAN 그룹을 이루며, L2 이더넷 스위치(20)의 PHY CPU 포트(21), P3, P4가 제2 VLAN 그룹을 형성한다. 도 1의 도시에도 불구하고, 제2 VLAN 그룹에 속하는 외부망 포트(23)도 하나 또는 그 이상 구비된다. 예컨대, 계량기 등의 검침에 사용되는 데이터전송장치의 경우 통상 하나의 WAN 포트만으로 외부망 포트(23)가 이루어지나 외부망 포트로 여러 개를 구비하여 나머지 포트는 스위칭 허브로 사용되도록 할 수 있다.A first VLAN group including the CPU 10 and the physical CPU port 21 of the L2 Ethernet switch 20 and the external network port 23 is formed and the CPU 10 and L2 Ethernet switch The second VLAN group including the physical CPU port 21 and the internal network port 24 of the second network 20 is formed. For example, the first VLAN group becomes the WAN side and the second VLAN group becomes the LAN side. The internal network port 24, which is part of the second VLAN group, is composed of a plurality of ports. Referring to FIG. 1, port 4 (P4) is connected to a power line communication with a media independent interface, and has a MAC to be connected to a physical layer (PLC PHY) of power line communication. For example, in the case of a data transmission device used for meter reading of a meter or the like, an internal network port 24 like the port 4 (P4) of FIG. 1 is required because it is often connected to the internal network through a PLC . Port 3 (P3) is connected using RJ-45. 1 shows only one port connected using RJ-45, but it may be composed of a plurality of ports. Although not mentioned, it is possible to provide an interface port suitable for transmission specifications in Ethernet other than RJ-45. 1, the PHY CPU port 21, P0, P1 and P2 of the L2 Ethernet switch 20 constitute the first VLAN group, and the PHY CPU port 21, P3 and P4 of the L2 Ethernet switch 20 constitute the first VLAN group. 2 VLAN groups are formed. 1, one or more external network ports 23 belonging to the second VLAN group are also provided. For example, in the case of a data transmission device used for meter reading of a meter, an external network port 23 is usually formed by only one WAN port, but a plurality of external network ports may be provided, and the remaining ports may be used as a switching hub.

본 실시예에서는 외부망에 대해서는 제1 VLAN 그룹의 CPU(10)는 DHCP 클라이언트로 동작하고, 내부망에 대해서는 제2 VLAN 그룹의 CPU(10)는 DHCP 서버로 동작한다. 즉, 본 실시예에서, CPU(10)는 제1 VLAN 그룹에 있어서는 외부망에 대하여 DHCP 클라이언트로 동작하고, 제2 VLAN 그룹에 있어서는 내부망에 대하여 DHCP 서버로 동작하도록 제어한다.
In the present embodiment, the CPU 10 of the first VLAN group operates as a DHCP client for the external network and the CPU 10 of the second VLAN group operates as a DHCP server for the internal network. In other words, in the present embodiment, the CPU 10 operates as a DHCP client for the external network in the first VLAN group, and operates as a DHCP server for the internal network in the second VLAN group.

이에 따라, 데이터 전송장치에서 LAN/WAN으로 분리된 다수의 네트워크 포트 사용시 2개의 스위치 디바이스를 사용하던 종전의 방식과 달리 VLAN 방식을 이용하여 CPU(10)의 하나의 이더넷 MAC(11)과 연결되는 1개의 L2 이더넷 스위치 디바이스만을 가지고도 다수의 LAN/WAN 네트워크 포트를 사용할 수 있게 된다. CPU(10)에 이더넷 MAC(11) 1개를 갖추고 이더넷 MAC이 2개인 CPU와 같이 동작할 수 있게 되고, 이더넷 스위치 컨트롤러를 2개에서 1개로 줄일 수 있다.Accordingly, unlike the conventional method in which two switch devices are used when a plurality of network ports separated from the LAN / WAN in the data transmission apparatus are used, it is connected to one Ethernet MAC 11 of the CPU 10 using the VLAN method Multiple LAN / WAN network ports can be used with only one L2 Ethernet switch device. The CPU 10 is provided with one Ethernet MAC 11 so that it can operate as a CPU having two Ethernet MACs, and the number of Ethernet switch controllers can be reduced from two to one.

본 발명의 실시예를 살펴보면, 기본적으로 VLAN 그룹간에는 CPU(10)에서 양쪽을 연결하는 설정을 하지 않으면 통신을 할 수 없고, ARP와 같은 패킷 브로드캐스트는 전달되게 된다. 한편, 브로드캐스트 스톰은 VLAN 설정된 L2 스위치 기능으로 방지하게 된다. CPU(10)는 제1 및 제2 VLAN 그룹에 모두 속하기 때문에 양쪽을 모두 액세스할 수 있다. According to an embodiment of the present invention, communication between the VLAN groups can not be established unless the CPU 10 establishes connection between the VLAN groups, and packet broadcast such as ARP is transmitted. On the other hand, the broadcast storm is prevented by the VLAN set L2 switch function. CPU 10 belongs to both the first and second VLAN groups and can access both of them.

CPU(10)의 네트워크 IP 세팅(IP-aliasing)의 예시를 살펴본다. IP-aliasing이란 한 개의 인터페이스에 두 개 이상의 어드레스를 지정하는 것을 말한다. 예컨대 eth0 라는 랜카드에 두 개의 IP 어드레스를 지정하여 둘 중 어느 어드레스로도 접근을 허용한다. 두 개의 어드레스가 같은 네트워크에 속하면 네크워크 앨리어싱(aliasing)이라 한다. 바로 다음의 eth0와 eth0:1은 예컨대 본 발명에서의 가상랜을 이용한 데이터전송장치의 하나의 물리적 랜카드로서, 2개의 VLAN을 형성하는 2개의 가상랜카드이다.An example of the network IP setting (IP-aliasing) of the CPU 10 will be described. IP-aliasing refers to assigning two or more addresses to an interface. For example, you can assign two IP addresses to the eth0 ethernet card to allow access to either address. If two addresses belong to the same network, it is called network aliasing. The following eth0 and eth0: 1 are, for example, two physical LAN cards of the data transfer apparatus using the virtual LAN according to the present invention, and two virtual LAN cards forming two VLANs.

eth0 : 192.168.10.40/24, gateway : 192.168.10.1eth0: 192.168.10.40/24, gateway: 192.168.10.1

eth0:1 : 192.168.1.1/24 eth0: 1: 192.168.1.1/24

첫번째의 eth0은 제1 VLAN 그룹에 대한 것으로, IP 주소와 게이트웨이 주소가 설정되어 있다. 두번째의 eth0:1은 네크워크 IP 세팅이 이루어지는 제2 VLAN 그룹에 대한 것으로, IP 주소가 지정되나 게이트웨이 주소는 설정되지 않는다. 두 개의 IP 주소가 지정되나 물리적으로는 하나의 CPU 랜카드이기 때문이다. 첫번째 eth0는 본 발명에서의 가상랜을 이용한 데이터전송장치의 eth0 랜카드가 상위 네트워크에 속하며 상위 네트워크를 구성하는 게이트웨이 주소가 192.168.10.1임을 나타내고, 반면에 두번째 eth0:1은 별도의 게이트웨이 주소가 부여되지 않는다.The first eth0 is for the first VLAN group, and IP address and gateway address are set. The second eth0: 1 is for the second VLAN group where the network IP setting is made, and the IP address is assigned but the gateway address is not set. Two IP addresses are assigned, but one is physically a CPU card. The first eth0 indicates that the eth0 LAN card of the data transmission apparatus using the virtual LAN according to the present invention belongs to the upper network and the gateway address constituting the upper network is 192.168.10.1, whereas the second eth0: 1 is given a separate gateway address Do not.

다음으로, 제2 VLAN 그룹에 속한 내부망 디바이스의 네트워킹 세팅의 예시를 살펴본다. 아래의 eth1는 제2 VLAN 그룹에 속한 내부망 디바이스의 랜카드이다.Next, an example of the networking setting of the internal network device belonging to the second VLAN group will be described. The following eth1 is the LAN card of the internal network device belonging to the second VLAN group.

eth1 : 192.168.1.33/24, gateway : 192.168.1.1eth1: 192.168.1.33/24, gateway: 192.168.1.1

제2 VLAN 그룹에 속한 내부망 디바이스의 경우 게이트웨이가 세팅되어 있다. 제2 VLAN그룹의 소속 내부망 디바이스들은 게이트웨이가 설정되어야 인터넷이나 기타 TCP/IP 통신 등이 가능해진다. 제2 VLAN 그룹에서의 CPU(10)가 내부망에 대하여 DHCP 서버로 동작하므로, CPU(10)에 의해 세팅된 제2 VLAN 그룹 가상랜카드의 IP 주소, 즉 앞선 eth0:1의 192.168.1.1가 내부망 디바이스들의 게이트웨이 주소가 된다.
In case of an internal network device belonging to the second VLAN group, a gateway is set. The internal network devices belonging to the second VLAN group must be set up with a gateway to enable Internet or other TCP / IP communication. Since the CPU 10 in the second VLAN group operates as a DHCP server with respect to the internal network, the IP address of the second VLAN group virtual LAN card set by the CPU 10, i.e., 192.168.1.1 of the preceding eth0: It becomes the gateway address of network devices.

나아가, 본 발명의 실시예에 따라, CPU에 하나의 물리적 포트(이더넷 MAC)가 있는 시스템에서 DHCP 서버 및 DHCP 클라이언트로써 동작해야 하는 경우, CPU(10)의 DHCP 서버설정 모듈, 예컨대, DHCP 서버설정 프로그램은 DHCP 설정 메시지가 제1 VLAN그룹인 WAN측에서 보낸 DHCP 클라이언트의 요청인지 제2 VLAN그룹인 LAN측에서 보낸 DHCP 클라이언트의 요청인지를 판단할 필요가 있다. Further, according to the embodiment of the present invention, in a case where a system having a single physical port (Ethernet MAC) in the CPU needs to operate as a DHCP server and a DHCP client, a DHCP server setting module of the CPU 10, The program needs to determine whether the DHCP setup message is a DHCP client request sent from the WAN side of the first VLAN group or a DHCP client sent from the LAN side of the second VLAN group.

이때, 바람직하게, 본 발명의 하나의 실시예에 따르면, 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 DHCP 설정 메시지, 예컨대, DHCP Discover 또는 Request 메시지가 L2 이더넷 스위치(20)의 포트(23,24)를 통하여 수신된 경우에, CPU(10)는 DHCP 설정 메시지 프레임이 수신된 포트가 내부망 포트(24)인 경우 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 제어한다. 또한, CPU(10)는 DHCP 설정 메시지 프레임이 수신된 포트가 외부망 포트(23)인 경우 DHCP 설정 메시지를 무시하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어한다. 즉, DHCP 설정 메시지의 수신 포트를 기준으로 제2 VLAN 그룹은 DHCP 서버로 동작하도록 하는 반면, 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어한다. In this case, according to one embodiment of the present invention, a DHCP setting message broadcast from a device belonging to an external network or an internal network, for example, a DHCP Discover or Request message, is transmitted to the port 23 of the L2 Ethernet switch 20, 24, the CPU 10 controls the second VLAN group to operate as a DHCP server when the port on which the DHCP setting message frame is received is the internal network port 24. If the port on which the DHCP setting message frame is received is the external network port 23, the CPU 10 ignores the DHCP setting message and controls the first VLAN group not to operate as a DHCP server. That is, the second VLAN group operates as a DHCP server on the basis of the receiving port of the DHCP setting message, and controls the first VLAN group not to operate as a DHCP server.

여기에서, DHCP는 OSI 7계층인 애플리케이션 계층에 적용되는 프로토콜로, 브로드캐스트되는 DHCP 설정 메시지는 DHCP 클라이언트의 애플리케이션 계층에서 작성되고, DHCP 서버의 애플리케이션 계층까지 도달하고, 이 애플리케이션 계층에서 DHCP 설정 응답 메시지를 작성하게 된다. 한편, 브로드캐스트되는 ARP 패킷의 경우에는, ARP는 네트워크 계층에서 작용하는 프로토콜이므로, 애플리케이션 계층의 하위 계층, 예컨대 네트워크 계층(또는 IP 계층)에서 처리되고, DHCP에서와 같이 예컨대 CPU(10)의 응용프로그램(DHCP 서버설정 프로그램)에서 처리될 필요가 없다. 그리고 본 발명의 시스템은 스위치 같은 데이터전송장치에 구현되는 것이므로 외부망을 통해 수신된 유니캐스트 신호는 해당 목적지 주소로 전송하게 된다.Here, DHCP is a protocol applied to the application layer, which is the OSI 7 layer. The DHCP setup message to be broadcast is created in the application layer of the DHCP client, reaches the application layer of the DHCP server, . In the meantime, in the case of an ARP packet to be broadcasted, since ARP is a protocol operating in the network layer, it is processed in a lower layer of the application layer, for example, a network layer (or IP layer) It need not be processed by the program (DHCP server setting program). Since the system of the present invention is implemented in a data transmission device such as a switch, a unicast signal received through an external network is transmitted to a corresponding destination address.

본 실시예에 따라, 제1 VLAN그룹 측(WAN 측)에 있는 DHCP 설정을 요청하는 DHCP 클라이언트, 예컨대 도 2b에서의 시스템 A3에서 보낸 DHCP 설정 요청이 무시되고, 그에 따라, 도 2b에 표시된 환경에서 시스템 A3의 DHCP 설정 요청에 대하여 본 발명의 시스템, 예컨대 도 2b에서의 시스템 An 혹은 시스템 A2 등이 잘못된 응답을 보냄으로써 시스템 A3의 WAN측(제1 VLAN그룹 측)이 특정서버(예컨대 도 2b에서의 시스템 An 혹은 시스템 A2)의 LAN측(제2 VLAN그룹 측) 소속으로 설정되는 잘못을 방지할 수 있다.
According to the present embodiment, the DHCP setting request sent from the DHCP client requesting the DHCP setting on the first VLAN group side (WAN side), for example, from the system A3 in Fig. 2B is ignored and accordingly, in the environment shown in Fig. The system of the present invention, such as the system An or the system A2 in FIG. 2B, sends a wrong response to the DHCP setting request of the system A3, so that the WAN side (first VLAN group side) (The second VLAN group side) of the system A of the system A 1 or the system A 2 of the system A 2.

본 발명의 실시예의 모습을 도 2a 내지 2c를 참조하여 더 구체적으로 살펴보기로 한다. 도 2a는 도 1에 따른 실시예에서 DHCP 서버로의 동작제어를 개략적으로 나타내는 도면이고, 도 2b는 도 2a에 따른 DHCP 서버로의 동작제어가 이루어지는 네크워크 환경을 개략적으로 나타내는 도면이고, 도 2c는 DHCP 설정을 위한 메시지의 일례를 나타낸 것이다.The embodiment of the present invention will be described in more detail with reference to FIGS. 2A to 2C. FIG. 2A is a diagram schematically showing operation control to a DHCP server in the embodiment according to FIG. 1, FIG. 2B is a view schematically showing a network environment in which operation control to a DHCP server according to FIG. And shows an example of a message for DHCP setting.

바람직하게, 도 2a를 참조하여 본 발명의 또 하나의 실시예를 살펴보면, 본 발명에 따른 DHCP 서버 설정 및 운영 시스템을 포함하는 데이터전송장치를 포함하는 상위 네트워크망 내의 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템, 상기 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템의 소속 단말장치, 또는 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템 및 소속 단말장치를 포함하는 서브넷 시스템으로부터 브로드캐스트된 DHCP 설정 메시지, 예컨대 DHCP Discover 또는 Request 메시지가 수신된 경우에, CPU(10)는 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 DHCP 설정 메시지 응답 신호, 예컨대 DHCP Offer 및 Ack 신호를 회신하지 않게 제어한다. 2A, the DHCP server setting and operating system according to the present invention may include a data transmission device, and a DHCP server setting And a DHCP setting message broadcast from a subnet system including an operating system, a DHCP server setting of the other data transfer device, a terminal device belonging to the operating system, or a DHCP server setting and operating system of another data transmitting device and a belonging terminal device, For example, when a DHCP Discover or Request message is received, the CPU 10 analyzes the source Ethernet address included in the received DHCP setup message frame and transmits a DHCP setup message response signal, For example, the DHCP Offer and the Ack signal.

여기에서 상위 네트워크 망이란 본 발명인 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템과 다른 시스템을 포함하여 라우팅되는 시스템이다. 다른 시스템은 본 발명과 동일한 시스템 또는 하나의 단말장치 또는 그들을 포함하는 서브넷 시스템일 수 있다. 이때, 다른 시스템으로부터의 DHCP 설정 메시지, 예컨대 DHCP Discover 또는 Request 메시지를 브로드캐스트하게 되면, 상위 네트워크망인 라우팅 시스템 내 전체로 브로드캐스트되게 된다. 본 발명에서의 시스템은 제2 VLAN 그룹에 대해서는 DHCP 서버로 동작하고 제1 VLAN 그룹에 대해서는 DHCP 클라이언트로 동작해야 하는데, 상위 네트워크망 내에서 각각의 시스템은 다른 시스템의 DHCP 서버와 ISP DHCP 서버를 구분할 수 없다. 그러므로, 본 발명의 실시예에서와 같이 상위 네트워크망 내의 다른 시스템으로부터의 DHCP Discover 또는 Request 메시지 브로드캐스트에 대하여 DHCP 서버로 동작하지 않도록 하는 것이 필요하게 된다.
Here, the upper network is a system that is routed including the DHCP server setting and operating system of the subnet in the data transfer apparatus of the present invention and other systems. The other system may be the same system as the present invention or one terminal device or a subnet system including them. At this time, if a DHCP setting message, such as a DHCP Discover or Request message, is broadcast from another system, it is broadcast to the entire routing system, which is an upper network. The system of the present invention operates as a DHCP server for the second VLAN group and as a DHCP client for the first VLAN group. In the upper network, each system distinguishes the DHCP server of the other system from the DHCP server I can not. Therefore, as in the embodiment of the present invention, it is necessary to prevent the DHCP discover or request message broadcast from other systems in the upper network network from acting as a DHCP server.

더 구체적으로 도 2a를 참조하면, 바람직한 본 발명의 또 하나의 실시예에 따라, CPU(10)는 다른 시스템의 이더넷 어드레스, 바꾸어 말하면, 출발지 이더넷 어드레스의 전반부를 분석하여, 당해 시스템에 구비된 이더넷 MAC(11)의 어드레스의 전반부 또는 미리 설정된 값과 일치하는 경우에 DHCP 설정 메시지 응답 신호, 바람직하게 DHCP Offer 및 Ack 신호를 회신하지 않도록 제어하게 된다. 2A, in accordance with another preferred embodiment of the present invention, the CPU 10 analyzes the first half of the Ethernet address of another system, in other words, the source Ethernet address, It is controlled so as not to return the DHCP setting message response signal, preferably the DHCP Offer and the Ack signal, when it matches the first half or the preset value of the address of the MAC 11.

MAC 어드레스는 이더넷의 물리적인 주소로써, 일반적으로 48비트 길이이며, 전반부는 제조사에 할당되어 제조사에서 부여한 고유번호로 되며, 후반부는 장치별로 세부 할당되어 있다. 따라서, 출발지 이더넷 MAC 어드레스의 전반부를 분석하여 본 발명의 시스템의 이더넷 MAC(11) 어드레스의 전반부와 일치하는지 또는 미리 설정된 값과 일치하는지를 판단할 수 있고, 판단결과 전반부 주소가 일치하거나 또는 미리 설정된 값과 일치하는 경우 DHCP Offer 및 Ack 신호를 회신하지 않도록 하여 DHCP 서버로 동작하지 않도록 할 수 있다.
The MAC address is a physical address of the Ethernet, and is generally 48 bits long. The first half is allocated to the manufacturer and is a unique number assigned by the manufacturer, and the second half is allocated for each device. Therefore, it is possible to analyze the first half of the source Ethernet MAC address to determine whether it matches the first half of the Ethernet MAC address of the system of the present invention, or whether it matches a pre-set value, It is possible to prevent the DHCP Offer and the Ack signal from being returned and to not operate as the DHCP server.

도 2a를 참조하여 구체적으로 살펴본다. 하나의 실시예에서의 서브넷 라우팅 시스템은 DHCP 서버와 DHCP 클라이언트로 동작하므로, 도 2a에서는 DHCP 서버 시스템이라고 한다. 도 2a에서, DHCP 클라이언트 시스템 A3에서 DHCP discover 브로드캐스트하면, DHCP 서버 시스템 A2, An과 ISP DHCP 서버로 모두 브로드캐스트된다. DHCP 클라이언트 시스템 A3의 DHCP discover 브로드캐스트에 대하여, 본 발명의 실시예에 따른 서브넷 라우팅 시스템인 DHCP 서버 시스템 A2 및 An은 DHCP 클라이언트 시스템 A3의 이더넷 어드레스를 분석하여 예컨대, 제조사 번호가 같거나 미리 설정된 번호와 동일하면 DHCP offer를 전송하지 않는다. 반면, ISP DHCP 서버는 DHCP 클라이언트 시스템 A3의 DHCP discover 브로드캐스트에 대하여 DHCP offer를 회신하고, DHCP offer를 회신받은 DHCP 클라이언트 시스템 A3는 DHCP request 브로드캐스트한다. DHCP 클라이언트 시스템 A3의 DHCP request 브로드캐스트에 대하여, DHCP discover 브로드캐스트의 경우와 마찬가지로 DHCP 클라이언트 시스템 A3의 이더넷 어드레스를 분석하여 DHCP ack를 회신하지 않는다. ISP DHCP 서버만이 DHCP 클라이언트 시스템 A3의 DHCP request 브로드캐스트에 대하여 DHCP ack 회신을 하고, DHCP 클라이언트 시스템 A3은 ISP DHCP 서버로부터 동적 IP를 할당받아 통신을 수행하게 된다.
A detailed description will be given with reference to FIG. The subnet routing system in one embodiment operates as a DHCP server and a DHCP client, and therefore is referred to as a DHCP server system in FIG. In FIG. 2A, when the DHCP client system A3 broadcasts the DHCP discover, it is broadcast to both the DHCP server systems A2 and An and the ISP DHCP server. With respect to the DHCP discover broadcast of the DHCP client system A3, the DHCP server systems A2 and An, which are the subnet routing systems according to the embodiment of the present invention, analyze the Ethernet address of the DHCP client system A3, The DHCP offer is not transmitted. On the other hand, the ISP DHCP server returns a DHCP offer for the DHCP discover broadcast of the DHCP client system A3, and the DHCP client system A3 that has received the DHCP offer broadcasts a DHCP request broadcast. As in the case of the DHCP discover broadcast, the DHCP client broadcasts the DHCP request broadcast of the DHCP client system A3 by analyzing the Ethernet address of the DHCP client system A3 and does not return the DHCP ack. Only the ISP DHCP server issues a DHCP ack reply to the DHCP request broadcast of the DHCP client system A3, and the DHCP client system A3 receives the dynamic IP from the ISP DHCP server to perform communication.

도 3을 참고하여, 본 발명의 또 다른 실시예들을 살펴본다.3, another embodiment of the present invention will be described.

도 3은 도 1에 따른 실시예의 하나의 사용 설치예를 나타내는 개략적인 블럭도이다.FIG. 3 is a schematic block diagram showing one use installation example of the embodiment according to FIG.

도 3을 참조하면, 바람직하게, 본 발명의 실시예에 따른 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템은 무선통신모듈(도 3의 B-CDMA 참조)을 더 포함하고 있다. 무선통신모듈은 바람직하게, 근거리 무선통신모듈로써, 예컨대 바이너리-CDMA(B-CDMA), 지그비(Zigbee), 무선랜(Wi-Fi) 또는 블루투스 통신모듈이다. 무선통신모듈은 CPU(10)에 연결되며 내부망 또는 외부망 기기와 무선 연결된다. 이때, 무선통신모듈은 외부망 기기와 연결되는 경우 제1 VLAN 그룹의 일부를 형성하고, 내부망 기기와 연결되는 경우 제2 VLAN 그룹의 일부를 형성하게 된다. Referring to FIG. 3, a DHCP server setting and operating system of a subnet in a data transmission apparatus according to an embodiment of the present invention further includes a wireless communication module (see B-CDMA in FIG. 3). The wireless communication module is preferably a short-range wireless communication module, for example, a binary-CDMA (B-CDMA), a Zigbee, a Wi-Fi or a Bluetooth communication module. The wireless communication module is connected to the CPU 10 and wirelessly connected to an internal network or an external network device. At this time, the wireless communication module forms part of the first VLAN group when connected to the external network device, and forms part of the second VLAN group when connected to the internal network device.

그리고, 외부망 또는 내부망 기기에서 브로드캐스트된 DHCP 설정 메시지가 무선통신모듈을 통하여 수신된 경우에, CPU(10)는 무선통신모듈이 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단한다. When the DHCP setting message broadcasted from the external network or the internal network device is received through the wireless communication module, the CPU 10 determines whether the wireless communication module is wirelessly connected to the external network device or the internal network device .

더 바람직하게는, 본 발명의 또 하나의 모습에 따라, CPU(10)는 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 주소, 예컨대 출발지 이더넷 어드레스를 분석하여 무선통신모듈이 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단하게 된다. 예컨대, 수신된 DHCP 프레임에 포함된 출발지 주소, 바람직하게는 출발지 이더넷 어드레스를 분석하여 미리 정해진 상위네트워크망의 라우팅 기기의 주소와 일치하는지 또는 당해 시스템의 랜카드의 주소와 일치하는지 판단하여 외부망으로부터 수신된 무선신호여부를 알 수 있다. 바람직하게, 미리 정해진 상위네트워크망 라우팅 기기의 주소 또는 당해 시스템의 랜카드의 주소와 일치하는 경우 외부망으로 수신된 무선신호로 판단할 수 있다. More preferably, according to another aspect of the present invention, the CPU 10 analyzes a source address included in the received DHCP setting message frame, for example, a source Ethernet address, so that the wireless communication module can communicate with the external network device and the internal network device Which has been received wirelessly. For example, the source address included in the received DHCP frame, preferably the source Ethernet address, is analyzed to determine whether it matches the address of the routing device of the predetermined upper network or the address of the LAN card of the system, It is possible to know whether or not the radio signal is transmitted. Preferably, if the address matches the address of the predetermined upper network network routing device or the address of the LAN card of the system, it can be determined that the wireless signal is received by the external network.

CPU(10)는 내부망 기기와 연결된 것으로 판단된 경우 무선통신모듈을 포함하는 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 제어한다. 그리고 외부망 기기와 연결된 것으로 판단된 경우 무선통신모듈을 포함하는 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어하게 된다.The CPU 10 controls the second VLAN group including the wireless communication module to operate as a DHCP server when it is determined that the second VLAN group is connected to the internal network device. If it is determined that the first VLAN group is connected to the external network device, the first VLAN group including the wireless communication module is controlled not to operate as a DHCP server.

더 구체적으로 도 3을 참조하여 살펴보면, CPU(10)는 원격검침 부하감시장치 인터페이스, 메모리 및 무선통신모듈, 바람직하게 근거리 무선통신모듈과 연결되어 있다. 도 3에서 TDU I/F는 저전압 원격검침 부하감시장치 인터페이스이고, TDU I/F로부터 전원과 전력선의 전류/전압/위상 등의 계측 데이터를 얻는다. 메모리로는 SDRAM과 플래시 메모리가 도시되어 있다. 무선통신모듈, 예컨대 도 3의 B-CDMA는 전력계량기 등의 내부망 디바이스와 무선통신하거나 외부망 포트(23)를 통해 외부망과 연결할 수 없는, 예컨대 WAN 포트를 통해 인터넷과 연결할 수 없는 CPU(10) 보드가 무선으로 외부망과 연결될 수 있도록 한다. 예컨대 WAN 포트를 통해 인터넷에 연결된 상위 네트워크망 라우팅장비의 무선통신모듈과 통신되어 외부 인터넷에 접속 연결될 수 있게 한다. 도 3에 도시된 B-CDMA #0은 본 발명의 데이터전송장치의 무선통신모듈(무선 랜카드)인 B-CDMA가 외부망과 무선연결되는 경우를 나타낸다. 또, B-CDMA #1은 본 발명의 데이터전송장치의 무선통신모듈(무선 랜카드)인 B-CDMA가 예컨대, 계량기 등의 내부망 디바이스와 무선연결되어 내부망을 형성하는 경우를 나타낸다. 이때 TCP/IP 스택(Stack)을 이용할 경우 B-CDMA #0의 경우 네트워크 디바이스인 eth1으로 명명할 수 있고, B-CDMA #1의 경우 네트워크 디바이스인 eth2로 명명할 수 있다. 그러나 TCP/IP 스택을 사용하지 않을 경우에는 네트워크 디바이스로 명명하지 않도록 한다.More specifically, referring to FIG. 3, the CPU 10 is connected to a remote meter reading load monitoring device interface, a memory, and a wireless communication module, preferably a short-range wireless communication module. In FIG. 3, the TDU I / F is a low voltage remote meter reading load monitoring device interface, and obtains measurement data such as current / voltage / phase of the power source and the power line from the TDU I / F. SDRAM and flash memory are shown as memories. A wireless communication module, for example, B-CDMA shown in FIG. 3, can communicate with an internal network device such as a power meter or the like through a WAN port which can not be connected to the external network through the external network port 23 10) The board can be connected to the external network wirelessly. For example, a wireless communication module of an upper network network routing apparatus connected to the Internet via a WAN port, so as to be connected to the external Internet. B-CDMA # 0 shown in FIG. 3 represents a case where B-CDMA, which is a wireless communication module (wireless LAN card) of a data transmission apparatus of the present invention, is wirelessly connected to an external network. B-CDMA # 1 is a wireless communication module (wireless LAN card) of a data transmission apparatus of the present invention, in which B-CDMA is wirelessly connected to an internal network device such as a meter to form an internal network. In this case, when using the TCP / IP stack (Stack), it can be named as the network device eth1 in case of B-CDMA # 0 and eth2 in the case of B-CDMA # 1. However, if you are not using the TCP / IP stack, do not name it as a network device.

또한, CPU(10)에는 호스트 USB 인터페이스가 연결되어 있고, 버전업 프로그램이 저장된 USB 메모리를 연결하여 플래시메모리의 프로그램, 예컨대 DHCP 서버 설정 프로그램을 업데이트할 수 있고, 무선랜 모듈 또는 블루투스 RF 모듈을 연결하여 B-CDMA와 같이 무선통신을 할 수 있다.In addition, the CPU 10 is connected to a host USB interface, and can update a program in a flash memory, for example, a DHCP server setting program, by connecting a USB memory in which a version upgrade program is stored, and can connect a wireless LAN module or a Bluetooth RF module And can perform wireless communication like B-CDMA.

L2 이더넷 스위치(20)는 WAN과 LAN이 트랜스포머를 거쳐 연결되며, 전력선통신 물리계층(PLC PHY)과 MII 인터페이스를 통해 연결되어 있다.
The L2 Ethernet switch 20 is connected through a transformer to the WAN and the LAN, and is connected to the power line communication physical layer (PLC PHY) via the MII interface.

본 발명의 실시예에서의 라우팅기능을 살펴본다.The routing function in the embodiment of the present invention will be described.

본 발명에서, 기본적으로 VLAN 그룹간에는 CPU(10)에서 양쪽을 연결하는 설정을 하지 않으면 통신을 할 수 없으므로, CPU(10)에서 양쪽을 연결하는 설정이 필요하다. In the present invention, basically, communication is not possible between the VLAN groups unless the CPU 10 establishes connection between the two, so that the CPU 10 needs to establish a connection between the VLAN groups.

따라서, 본 발명의 하나의 실시예에서는, CPU(10)는 ARP(Address Resolution Protocol) 통신에서 얻은 내부망의 네트워크 디바이스들의 물리적 주소와 라우팅 테이블을 이용하여 제1 VLAN 그룹과 제2 VLAN 그룹 간에 데이터전송이 이루어질 수 있게 한다. Accordingly, in one embodiment of the present invention, the CPU 10 uses the physical address of the network devices of the internal network obtained in the ARP (Address Resolution Protocol) communication and the routing table to transfer data between the first VLAN group and the second VLAN group So that transmission can be performed.

또한 바람직하게는, 본 발명의 또 하나의 실시예에 따라, L2 이더넷 스위치(20)는 각 포트를 통한 ARP(Address Resolution Protocol) 통신의 프레임신호로부터 분석된 내부망 네트워크 디바이스들의 물리적 주소를 이용하여 L2 스위치기능을 수행하게 된다. ARP 패킷은 전 포트에 전달되기 때문에, 각 포트에 연결된 내부망 네트워크 디바이스들은 각자 ARP 테이블을 작성할 수 있다. 내부망 네트워크 디바이스는 각자의 ARP 테이블을 이용하여 내부망 내 다른 네트워크 디바이스와 통신할 수 있다. L2 이더넷 스위치(20)는 각 포트간에 오가는 프레임 패킷을 분석하여 각 포트에 연결된 디바이스의 물리적 주소를 알 수 있기 때문에 L2 스위치 기능을 할 수 있다.
Also, preferably, according to another embodiment of the present invention, the L2 Ethernet switch 20 uses the physical address of the internal network devices analyzed from the frame signal of ARP (Address Resolution Protocol) communication through each port L2 switch function. Because ARP packets are forwarded to all ports, internal network devices connected to each port can create their own ARP tables. Internal network devices can communicate with other network devices in the internal network using their ARP tables. The L2 Ethernet switch 20 can function as an L2 switch because it can analyze the frame packets flowing between the ports and know the physical address of the device connected to each port.

다음으로, 본 발명의 다른 하나의 모습에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 설정 및 운용 방법을 살펴본다. 본 방법 발명은 전술한 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 설정 및 운용 시스템의 DHCP 설정 및 운용 방법에 관한 것이므로, 아래에서 직접적으로 설명되지 않은 구체적인 내용은 앞선 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 설정 및 운용 시스템 발명의 실시예를 참조하여 이해하기로 한다.
Next, a DHCP setting and operation method of a subnet in a data transmission apparatus using a virtual LAN according to another aspect of the present invention will be described. Since the method of the present invention relates to a DHCP setting and operation method of a DHCP setting and operating system of a subnet in the data transmission apparatus using the virtual LAN, a specific content not directly explained below is transmitted to a data transmission apparatus Will be described with reference to embodiments of the DHCP setting and management system of the subnet in FIG.

도 4는 본 발명의 다른 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법을 개략적으로 나타내는 흐름도이고, 도 5는 본 발명의 또 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법의 일부 단계를 나타내는 흐름도이고, 도 6은 본 발명의 또 하나의 실시예에 따른 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템의 운용방법을 개략적으로 나타내는 흐름도이다.
FIG. 4 is a flowchart schematically illustrating a method of operating a DHCP server setting and operating system in a subnet in a data transmission apparatus using a virtual LAN according to another embodiment of the present invention. FIG. 5 is a flowchart 6 is a flowchart illustrating a method of configuring a DHCP server of a subnet in a data transmission apparatus using a virtual LAN according to an exemplary embodiment of the present invention and a method of operating the operating system. FIG. 2 is a flowchart schematically showing a configuration of a DHCP server of a subnet in a device and a method of operating the operating system. FIG.

도 4 내지 6을 참조하면, 하나의 이더넷 MAC(11)이 구비된 CPU(10) 및 이더넷 MAC(11)에 연결된 L2 이더넷 스위치(20) 상의 물리적 CPU 포트(21)와 외부망 포트(23)를 포함하는 제1 VLAN 그룹과, CPU(10) 및 상기 L2 이더넷 스위치(20)의 물리적 CPU 포트(21)와 내부망 포트(24)를 포함하는 제2 VLAN 그룹을 형성하는 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운용 방법의 실시예는, 다음의 (a) 내지 (d) 단계를 포함하여 이루어진다.4 to 6, the physical CPU port 21 and the external network port 23 on the L2 Ethernet switch 20 connected to the CPU 10 and the Ethernet MAC 11 with one Ethernet MAC 11, And a second VLAN group including the CPU 10 and the physical CPU port 21 and the internal network port 24 of the L2 Ethernet switch 20, An embodiment of the DHCP server setting and operation method of the subnet includes the following steps (a) to (d).

먼저, 도 4를 참조하면, (a) 단계에서 CPU(10)는 L2 이더넷 스위치(20)의 포트를 통하여 수신된 신호가 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 DHCP 설정 메시지, 바람직하게, DHCP Discover 또는 Request 메시지인지를 판단한다.4, in step (a), the CPU 10 determines whether a signal received through the port of the L2 Ethernet switch 20 is a DHCP setting message broadcasted from an external network or an apparatus belonging to the internal network, , DHCP Discover or Request message.

바람직하게는, 도 6을 참조하면, 본 발명의 또 하나의 실시예에 따라, (a) 단계는 다음의 (a-1) 내지 (a-3) 단계를 포함하여 이루어진다.Preferably, referring to Fig. 6, according to another embodiment of the present invention, step (a) includes the following steps (a-1) to (a-3).

(a-1) 단계에서는 L2 이더넷 스위치(20)의 포트를 통하여 수신된 신호가 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 신호인지 유니캐스트된 신호인지를 판단한다. 브로드캐스트 신호여부는 예컨대, 목적지 주소, 바람직하게 목적지 물리 주소가 (FF:FF:FF:FF:FF:FF) 인지로 판단할 수 있다.In step (a-1), it is determined whether the signal received through the port of the L2 Ethernet switch 20 is a broadcast signal or a unicast signal from an apparatus belonging to the external network or the internal network. For example, it can be determined whether the broadcast signal is a destination address, preferably a destination physical address (FF: FF: FF: FF: FF: FF).

다음 (a-2) 단계에서는 앞선 (a-1) 단계에서 브로드캐스트된 신호인 경우, CPU(10)는 브로드캐스트된 신호가 DHCP 설정 메시지, 바람직하게, DHCP Discover 또는 Request 메시지인지를 판단한다. DHCP 설정 메시지 여부의 판단은 프레임 내용에 포함된 IP 패킷에 포트넘버가 특정번호, 예컨대, '67' 인지로 판단한다.In step (a-2), the CPU 10 determines whether the broadcast signal is a DHCP setting message, preferably a DHCP Discover or Request message, in the case of the signal broadcasted in the step (a-1). The determination as to whether or not the DHCP setup message is made is made based on whether the port number of the IP packet included in the frame contents is a specific number, for example, '67'.

그리고 (a-3) 단계에서는 앞선 (a-1) 단계에서 유니캐스트된 신호인 경우, 유니캐스트된 신호에 포함된 목적지 주소로의 전송에 상응하는 L2 이더넷 스위치(20)를 통해 유니캐스트 프레임 신호를 전송한다. 목적지 주소와 라우팅 테이블을 이용하여 상응하는 L2 이더넷 스위치(20)의 포트로 프레임 신호를 변경하여 전송하게 된다. 만일, 데이터전송장치가 무선통신모듈(도 3 참조)을 포함하고 있는 경우에 상응하는 L2 이더넷 스위치(20)의 포트가 없으면, 무선통신모듈을 통하여 전송하게 된다.
In step (a-3), when the signal is a unicast signal in step (a-1), the unicast signal is transmitted through the L2 Ethernet switch 20 corresponding to the transmission to the destination address included in the unicast signal. . The frame signal is changed to the corresponding port of the L2 Ethernet switch 20 by using the destination address and the routing table. If the data transmission apparatus includes a wireless communication module (refer to FIG. 3), if there is no corresponding port of the L2 Ethernet switch 20, the data is transmitted through the wireless communication module.

다시 도 4를 참조하면, (b) 단계에서는 앞선 (a) 단계, 바람직하게 (a-2) 단계에서 DHCP 설정 메시지로 판단된 경우, CPU(10)는 외부망 포트(23) 및 내부망 포트(24) 중 어느 포트를 통하여 수신된 것인지를 판단한다. Referring again to FIG. 4, in the step (b), when it is determined in the step (a), preferably the DHCP setting message in the step (a-2), the CPU 10 determines that the external network port 23 and the internal network port (24).

또, 바람직하게는, 데이터전송장치가 무선통신모듈(도 3 참조)을 포함하고 있는 경우에 있어서, DHCP 설정 메시지가 무선통신모듈을 통해 수신된 것이라면, CPU(10)는 무선통신모듈이 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단한다.
Preferably, when the data transmission apparatus includes a wireless communication module (see FIG. 3), if the DHCP setting message is received through the wireless communication module, the CPU 10 determines whether the wireless communication module is an external network It is judged whether the device or the internal network device is wirelessly connected.

다음으로 (c) 단계에서는 앞선 (b) 단계에서 내부망 포트를 통하여 수신된 것으로 판단된 경우, CPU(10)는 제2 VLAN 그룹에 대해서는 DHCP 서버로 동작하게 한다.Next, in step (c), if it is determined that the packet is received through the internal network port in the previous step (b), the CPU 10 causes the second VLAN group to act as a DHCP server.

그리고 (d) 단계에서는 앞선 (b) 단계에서 외부망 포트를 통하여 수신된 것으로 판단된 경우, CPU(10)는 DHCP 설정 메시지를 무시하여 제1 VLAN 그룹에 대해서는 DHCP 서버로 동작하지 않게 한다. In step (d), if it is determined in step (b) that the packet is received through the external network port, the CPU 10 ignores the DHCP setting message and does not operate as a DHCP server for the first VLAN group.

도 5는 도 4에 도시된 DHCP 설정 메시지를 무시하여 제1 VLAN 그룹에 대해서는 DHCP 서버로 동작하지 않게 하는 단계를 보다 구체적으로 도시하고 있다.FIG. 5 illustrates a step of disabling a DHCP server for the first VLAN group by ignoring the DHCP setup message shown in FIG.

바람직하게는, 도 5를 참조하면, 전술한 (d) 단계에서는, 외부망 포트를 통하여 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 한다.5, in the step (d), the source Ethernet address included in the DHCP setup message frame received through the external network port is analyzed to prevent the DHCP server from acting as a DHCP server for the first VLAN group do.

더욱 바람직하게는, 도 5를 구체적으로 살펴보면, 본 발명의 또 하나의 실시예에 따라, 전술한 (d) 단계는 (d-1) 및 (d-2) 단계를 포함하여 이루어진다.More specifically, according to another embodiment of the present invention, step (d) includes steps (d-1) and (d-2).

(d-1) 단계에서는 CPU(10)는 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스의 전반부와 CPU(10)에 구비된 이더넷 MAC(11)의 어드레스 전반부 또는 미리 설정된 값과 일치하는지 분석한다.In step (d-1), the CPU 10 analyzes whether the first half of the source Ethernet address included in the DHCP setup message frame matches the pre-set value of the address of the Ethernet MAC 11 provided in the CPU 10 or a preset value.

그리고 (d-2) 단계에서는 앞선 (d-1) 단계에서 분석결과 이더넷 MAC(11)의 어드레스 전반부 또는 미리 설정된 값과 일치하는 경우, CPU(10)는 DHCP 설정 메시지 브로드캐스트에 대한 DHCP 설정 메시지 응답 신호, 바람직하게, DHCP Offer 및 Ack 신호를 회신하지 않도록 제어되어 제1 VLAN 그룹에 대해서는 DHCP 서버로 동작하지 않게 된다.
In step (d-2), if the result of the analysis in step (d-1) matches the pre-set address of the Ethernet MAC 11 or a preset value, the CPU 10 transmits a DHCP setting message It is controlled not to return the response signal, preferably the DHCP Offer and the Ack signal, so that the first VLAN group does not operate as a DHCP server.

이상에서, 본 발명은 첨부된 도면을 참조하여 바람직한 실시예들을 중심으로 설명되었다. 첨부된 도면 및 전술한 실시예들은 본 발명에 대한 당해 기술분야에서 통상의 지식을 가진 자의 이해를 돕기 위해 예시적으로 설명된 것이다. 그러므로, 본 발명의 다양한 실시예는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있고, 전술한 실시예들은 제한적인 것이 아닌 예시적인 것으로 여겨져야 한다. 따라서, 본 발명의 범위는 전술한 실시예들이 아니라 첨부된 특허청구범위에 기재된 발명에 따라 해석되어야 하며, 당해 기술분야에서 통상의 지식을 가진 자에 의한 다양한 변경, 대안, 균등물들이 전술한 발명의 범위에 포함되어 있음은 자명하다.
In the foregoing, the present invention has been described with reference to the preferred embodiments thereof with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings and the foregoing embodiments are provided by way of illustration for purposes of clarity of understanding to those skilled in the art to which the present invention pertains. It is, therefore, to be understood that the various embodiments of the present invention may be embodied in various forms without departing from the essential characteristics thereof, and the above-described embodiments are to be considered as illustrative and not restrictive. Accordingly, the scope of the present invention should be construed in accordance with the invention as set forth in the appended claims rather than the foregoing embodiments, and various changes, alternatives, and equivalents by those skilled in the art may be made by the inventions It is obvious that it is included in the range of.

10 : CPU 11 : 이더넷 MAC
20 : L2 이더넷 스위치 21 : CPU 포트
23 : 외부망 포트 24 : 내부망 포트
10: CPU 11: Ethernet MAC
20: L2 Ethernet switch 21: CPU port
23: external network port 24: internal network port

Claims (12)

하나의 이더넷 MAC를 구비하는 CPU; 및
상기 이더넷 MAC과 연결되는 하나의 물리적 CPU 포트, 외부망과 연결되는 외부망 포트 및 내부망과 연결되는 내부망 포트를 구비하는 L2 이더넷 스위치; 를 포함하여 이루어지고,
상기 CPU 및 상기 L2 이더넷 스위치의 물리적 CPU 포트와 외부망 포트를 포함하는 제1 VLAN 그룹과, 상기 CPU 및 상기 L2 이더넷 스위치의 물리적 CPU 포트와 내부망 포트를 포함하는 제2 VLAN 그룹을 형성하되,
상기 외부망에 대하여 상기 제1 VLAN 그룹의 CPU는 DHCP 클라이언트로 동작하고, 상기 내부망에 대하여 상기 제2 VLAN 그룹의 CPU는 DHCP 서버로 동작하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
A CPU having one Ethernet MAC; And
An L2 Ethernet switch having one physical CPU port connected to the Ethernet MAC, an external network port connected to the external network, and an internal network port connected to the internal network; , ≪ / RTI >
A first VLAN group including a physical CPU port and an external network port of the CPU and the L2 Ethernet switch and a second VLAN group including a physical CPU port and an internal network port of the CPU and the L2 Ethernet switch,
Wherein the CPU of the first VLAN group operates as a DHCP client with respect to the external network and the CPU of the second VLAN group operates with the DHCP server with respect to the internal network. DHCP server configuration and operating system on the subnet.
청구항 1에 있어서,
상기 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 DHCP 설정 메시지가 상기 L2 이더넷 스위치의 포트를 통하여 수신된 경우에,
상기 CPU는 DHCP 설정 메시지 프레임이 수신된 포트가 상기 내부망 포트인 경우 상기 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 하고, 상기 DHCP 설정 메시지 프레임이 수신된 포트가 상기 외부망 포트인 경우 상기 DHCP 설정 메시지를 무시하여 상기 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
The method according to claim 1,
When a DHCP setting message broadcast from an appliance belonging to the external network or the internal network is received through the port of the L2 Ethernet switch,
Wherein the CPU operates as a DHCP server for the second VLAN group when the port on which the DHCP setup message frame is received is the internal network port and if the port on which the DHCP setup message frame is received is the external network port, Wherein the control unit controls the first VLAN group so as not to operate as a DHCP server by ignoring the setting message.
청구항 2에 있어서,
상기 데이터전송장치를 포함하는 상위 네트워크망 내의 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템, 상기 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템의 소속 단말장치, 또는 상기 다른 데이터전송장치의 DHCP 서버 설정 및 운영 시스템 및 상기 소속 단말장치를 포함하는 서브넷 시스템으로부터 브로드캐스트된 상기 DHCP 설정 메시지가 수신된 경우에,
상기 CPU는 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 상기 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 DHCP 설정 메시지 응답 신호를 회신하지 않게 제어하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
The method of claim 2,
A DHCP server setting and operating system of another data transmitting apparatus in an upper network including the data transmitting apparatus, a DHCP server setting of the other data transmitting apparatus, a terminal apparatus belonging to the operating system, or a DHCP server setting And when the DHCP setting message broadcasted from the subnet system including the operating system and the belonging terminal device is received,
Wherein the CPU analyzes the source Ethernet address included in the received DHCP setup message frame and controls not to return a DHCP setup message response signal so as not to operate as a DHCP server for the first VLAN group A DHCP server setup and operation system in the subnet of the data transfer device.
청구항 3에 있어서,
상기 CPU는 상기 출발지 이더넷 어드레스의 전반부를 분석하여, 상기 구비된 이더넷 MAC의 어드레스의 전반부 또는 미리 설정된 값과 일치하는 경우에 DHCP 설정 메시지 응답 신호를 회신하지 않도록 제어하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
The method of claim 3,
Wherein the CPU analyzes the first half of the source Ethernet address and controls to not return a DHCP setting message response signal if the first half of the address of the Ethernet MAC or the preset value matches the predetermined value. A DHCP server setup and operation system in the subnet of the data transfer device.
청구항 1 내지 4 중의 어느 하나의 청구항에 있어서,
상기 CPU에 연결되며 상기 내부망 또는 외부망 기기와 무선 연결되는 무선통신모듈을 더 포함하여 이루어지되,
상기 무선통신모듈은 상기 외부망 기기와 연결되는 경우 상기 제1 VLAN 그룹의 일부를 형성하고, 상기 내부망 기기와 연결되는 경우 상기 제2 VLAN 그룹의 일부를 형성하고,
상기 외부망 또는 내부망 기기에서 브로드캐스트된 DHCP 설정 메시지가 상기 무선통신모듈을 통하여 수신된 경우에, 상기 CPU는 상기 무선통신모듈이 상기 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단하고,
상기 CPU는 상기 내부망 기기와 연결된 것으로 판단된 경우 상기 무선통신모듈을 포함하는 상기 제2 VLAN 그룹에 대하여 DHCP 서버로 동작하도록 하고, 상기 외부망 기기와 연결된 것으로 판단된 경우 상기 무선통신모듈을 포함하는 상기 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 제어하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
5. The method according to any one of claims 1 to 4,
And a wireless communication module connected to the CPU and wirelessly connected to the internal network or the external network device,
Wherein the wireless communication module forms part of the first VLAN group when connected to the external network device and forms part of the second VLAN group when the wireless communication module is connected to the internal network device,
When a DHCP setting message broadcast in the external network or internal network device is received through the wireless communication module, the CPU determines whether the wireless communication module is wirelessly connected to the external network device or the internal network device However,
The CPU operates as a DHCP server with respect to the second VLAN group including the wireless communication module when it is determined to be connected to the internal network device, and when the CPU is determined to be connected to the external network device, Wherein the control unit controls the first VLAN group not to operate as a DHCP server.
청구항 5에 있어서,
상기 CPU는 상기 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 어드레스를 분석하여 상기 무선통신모듈이 상기 외부망 기기 및 내부망 기기 중 어느 쪽과 무선연결되어 수신되었는지 판단하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
The method of claim 5,
Wherein the CPU analyzes the source address included in the received DHCP setup message frame to determine whether the wireless communication module is wirelessly connected with the external network device or the internal network device. A DHCP server setup and operation system in the subnet of the data transfer device.
청구항 1 내지 4 중의 어느 하나의 청구항에 있어서,
상기 외부망으로부터 상기 내부망으로 데이터를 전송하는 경우,
상기 CPU는 ARP(Address Resolution Protocol) 통신에서 얻은 내부망의 네트워크 디바이스들의 물리적 주소와 라우팅 테이블을 이용하여 상기 제1 VLAN 그룹과 상기 제2 VLAN 그룹 간에 데이터전송이 이루어지도록 하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
5. The method according to any one of claims 1 to 4,
When data is transmitted from the external network to the internal network,
Wherein the CPU transfers data between the first VLAN group and the second VLAN group using a physical address and a routing table of network devices of the internal network obtained through ARP (Address Resolution Protocol) communication, A DHCP server setup and operation system for a subnet in a data transmission device.
청구항 1 내지 4 중의 어느 하나의 청구항에 있어서,
상기 L2 이더넷 스위치는 각 포트를 통한 ARP(Address Resolution Protocol) 통신의 프레임신호로부터 분석된 내부망 네트워크 디바이스들의 물리적 주소를 이용하여 L2 스위치기능을 수행하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 시스템.
5. The method according to any one of claims 1 to 4,
Wherein the L2 Ethernet switch performs an L2 switch function using a physical address of internal network devices analyzed from a frame signal of ARP (Address Resolution Protocol) communication through each port. DHCP server configuration and operating system on the subnet.
하나의 이더넷 MAC이 구비된 CPU 및 상기 이더넷 MAC에 연결된 L2 이더넷 스위치 상의 물리적 CPU 포트와 외부망 포트를 포함하는 제1 VLAN 그룹과, 상기 CPU 및 상기 L2 이더넷 스위치의 물리적 CPU 포트와 내부망 포트를 포함하는 제2 VLAN 그룹을 형성하는 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법에 있어서,
(a) 상기 L2 이더넷 스위치의 포트를 통하여 수신된 신호가 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 DHCP 설정 메시지인지를 판단하는 단계;
(b) 상기 (a) 단계에서 DHCP 설정 메시지로 판단된 경우, 상기 외부망 포트 및 내부망 포트 중 어느 포트를 통하여 수신된 것인지를 판단하는 단계;
(c) 상기 (b) 단계에서 상기 내부망 포트를 통하여 수신된 것으로 판단된 경우, 상기 CPU는 상기 제2 VLAN 그룹에 대해서 DHCP 서버로 동작하는 단계; 및
(d) 상기 (b) 단계에서 상기 외부망 포트를 통하여 수신된 것으로 판단된 경우, 상기 CPU는 상기 DHCP 설정 메시지를 무시하여 상기 제1 VLAN 그룹에 대해서 DHCP 서버로 동작하지 않도록 하는 단계; 를 포함하여 이루어지는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법.
A first VLAN group including a CPU having a single Ethernet MAC and a physical CPU port and an external network port on an L2 Ethernet switch connected to the Ethernet MAC and a physical CPU port and an internal network port of the CPU and the L2 Ethernet switch A method for setting and operating a DHCP server in a subnet in a data transmission apparatus forming a second VLAN group,
(a) determining whether a signal received through the port of the L2 Ethernet switch is a DHCP setting message broadcasted from an external network or an apparatus belonging to the internal network;
(b) determining which of the external network port and the internal network port is received when the DHCP setting message is determined in the step (a);
(c) if it is determined in the step (b) that the packet is received through the internal network port, the CPU operates as a DHCP server for the second VLAN group; And
(d) if it is determined in the step (b) that the packet is received through the external network port, the CPU ignores the DHCP setup message and does not operate as a DHCP server for the first VLAN group; And setting a DHCP server of the subnet in the data transmission apparatus using the virtual LAN.
청구항 9에 있어서,
상기 (d) 단계는 상기 외부망 포트를 통하여 수신된 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스를 분석하여 상기 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 하는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법.
The method of claim 9,
Wherein the step (d) analyzes the source Ethernet address included in the DHCP setup message frame received through the external network port, and does not operate as a DHCP server for the first VLAN group How to set up and operate a DHCP server on the subnet in the transmitting device.
청구항 10에 있어서, 상기 (d) 단계는:
(d-1) 상기 DHCP 설정 메시지 프레임에 포함된 출발지 이더넷 어드레스의 전반부와 상기 CPU에 구비된 이더넷 MAC의 어드레스 전반부 또는 미리 설정된 값과 일치하는지 분석하는 단계; 및
(d-2) 상기 (d-1) 단계에서 분석결과 상기 이더넷 MAC의 어드레스 전반부 또는 미리 설정된 값과 일치하는 경우, 상기 브로드캐스트에 대한 DHCP 설정 메시지 응답 신호를 회신하지 않도록 제어되어 상기 제1 VLAN 그룹에 대하여 DHCP 서버로 동작하지 않도록 하는 단계; 를 포함하여 이루어지는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법.
11. The method of claim 10, wherein step (d) comprises:
(d-1) analyzing whether the first half of the source Ethernet address included in the DHCP setup message frame and the first half of the address of the Ethernet MAC or the preset value of the Ethernet MAC included in the CPU coincide with each other; And
(d-2) if the result of the analysis in the step (d-1) matches the pre-set address of the Ethernet MAC or a predetermined value, it is controlled not to return the DHCP setup message response signal for the broadcast, Making the group not operate as a DHCP server; And setting a DHCP server of the subnet in the data transmission apparatus using the virtual LAN.
청구항 9 내지 11 중의 어느 하나의 청구항에 있어서,
상기 (a) 단계는:
(a-1) 상기 L2 이더넷 스위치의 포트를 통하여 수신된 신호가 상기 외부망 또는 내부망에 속한 기기로부터 브로드캐스트된 신호인지 유니캐스트된 신호인지를 판단하는 단계;
(a-2) 상기 (a-1) 단계에서 브로드캐스트된 신호인 경우, DHCP 설정 메시지인지를 판단하는 단계; 및
(a-3) 상기 (a-1) 단계에서 유니캐스트된 신호인 경우, 상기 유니캐스트된 신호에 포함된 목적지 주소로의 전송에 상응하는 상기 L2 이더넷 스위치를 통해 유니캐스트 프레임 신호를 전송하는 단계; 를 포함하여 이루어지는 것을 특징으로 하는 가상랜을 이용한 데이터전송장치에서의 서브넷의 DHCP 서버 설정 및 운영 방법.
The method according to any one of claims 9 to 11,
Wherein the step (a) comprises:
(a-1) determining whether a signal received through the port of the L2 Ethernet switch is a broadcast signal or a unicast signal from an apparatus belonging to the external network or the internal network;
(a-2) determining whether the broadcast signal is a DHCP setting message in the step (a-1); And
(a-3) transmitting a unicast frame signal through the L2 Ethernet switch corresponding to the transmission to the destination address included in the unicast signal when the signal is a unicast signal in the step (a-1) ; And setting a DHCP server of the subnet in the data transmission apparatus using the virtual LAN.
KR1020100121121A 2010-12-01 2010-12-01 System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan KR101415978B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100121121A KR101415978B1 (en) 2010-12-01 2010-12-01 System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100121121A KR101415978B1 (en) 2010-12-01 2010-12-01 System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan

Publications (2)

Publication Number Publication Date
KR20120059724A KR20120059724A (en) 2012-06-11
KR101415978B1 true KR101415978B1 (en) 2014-07-15

Family

ID=46610813

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100121121A KR101415978B1 (en) 2010-12-01 2010-12-01 System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan

Country Status (1)

Country Link
KR (1) KR101415978B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160084164A (en) 2015-01-05 2016-07-13 주식회사 케이티 Apparatus and system for allocating VLAN based on DHCP using L2 in access network and method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116805916B (en) * 2023-08-23 2023-11-17 明阳时创(北京)科技有限公司 IPv 6-based remote local area network communication method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020004287A (en) * 2000-07-04 2002-01-16 서진원 IP Gatway
KR20020046867A (en) * 2000-12-15 2002-06-21 구자홍 System and method for controlling a traffic of a network
US20100014526A1 (en) 2008-07-18 2010-01-21 Emulex Design & Manufacturing Corporation Hardware Switch for Hypervisors and Blade Servers
KR100979804B1 (en) 2009-06-26 2010-09-02 가락전자 주식회사 System for transmission of the real-time data over internet protocol network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020004287A (en) * 2000-07-04 2002-01-16 서진원 IP Gatway
KR20020046867A (en) * 2000-12-15 2002-06-21 구자홍 System and method for controlling a traffic of a network
US20100014526A1 (en) 2008-07-18 2010-01-21 Emulex Design & Manufacturing Corporation Hardware Switch for Hypervisors and Blade Servers
KR100979804B1 (en) 2009-06-26 2010-09-02 가락전자 주식회사 System for transmission of the real-time data over internet protocol network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160084164A (en) 2015-01-05 2016-07-13 주식회사 케이티 Apparatus and system for allocating VLAN based on DHCP using L2 in access network and method thereof

Also Published As

Publication number Publication date
KR20120059724A (en) 2012-06-11

Similar Documents

Publication Publication Date Title
US9215175B2 (en) Computer system including controller and plurality of switches and communication method in computer system
US7352726B2 (en) Communication device, communication method and program for packet communications between two networks that conform to different standards
Bergmann et al. A CoAP-gateway for smart homes
EP2391070B1 (en) A communication apparatus for hybrid wired and wireless communications
KR20090064431A (en) The method and device for managing route information and retransmitting data in accessing device
WO2015085523A1 (en) Communication method, device and system for virtual extensible local area network
RU2601194C2 (en) Devices and method for assigning network addresses
CN112654049B (en) Method, system, node and medium for configuring a wireless communication coverage extension system
US8769111B2 (en) IP network service redirector device and method
CN101883158A (en) Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses
KR101415978B1 (en) System and method for configurating and managing dhcp server of a subnet in a data transfer apparatus using virtual lan
CN112995038B (en) Access method of PROFINET protocol in industrial SDN
KR101755829B1 (en) Method and apparatus for processing address resolution protocol in software defined networking environment
CN102469016B (en) Device and method for determining path maximum transmission unit (PMTU) reversely
JP4513506B2 (en) Device management system and gateway device
JP2007081456A (en) Converter
CN111163463A (en) Method, device, equipment and storage medium for accessing wireless equipment to router
WO2018214154A1 (en) Data forwarding method to support media access control over the top gateway
JP2007096539A (en) Conversion apparatus
CN107005473B (en) Communication path switching apparatus, method of controlling communication path switching apparatus
CN116018785A (en) Method for operating a network
KR102092015B1 (en) Method, apparatus and computer program for recognizing network equipment in a software defined network
KR20040011936A (en) Switching apparatus for ethernet having a plurality of vlans and communication method by using same
KR101786616B1 (en) Method, apparatus and computer program for subnetting of software defined network
CN112994994B (en) Access method in industrial SDN based on industrial Ethernet protocol

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E90F Notification of reason for final refusal
E601 Decision to refuse application
AMND Amendment
E902 Notification of reason for refusal
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee