KR20010038029A - Emulation method for protocol of LAN - Google Patents

Emulation method for protocol of LAN Download PDF

Info

Publication number
KR20010038029A
KR20010038029A KR1019990045834A KR19990045834A KR20010038029A KR 20010038029 A KR20010038029 A KR 20010038029A KR 1019990045834 A KR1019990045834 A KR 1019990045834A KR 19990045834 A KR19990045834 A KR 19990045834A KR 20010038029 A KR20010038029 A KR 20010038029A
Authority
KR
South Korea
Prior art keywords
header
user
input
protocol
data
Prior art date
Application number
KR1019990045834A
Other languages
Korean (ko)
Inventor
정중수
Original Assignee
정중수
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 정중수 filed Critical 정중수
Priority to KR1019990045834A priority Critical patent/KR20010038029A/en
Publication of KR20010038029A publication Critical patent/KR20010038029A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/326Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the transport layer [OSI layer 4]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE: An emulation method of LAN protocol is provided to promote understanding of a protocol and learn a designing technique by generating a packet directly by a user, performing emulation of various functions and identifying the result. CONSTITUTION: A user selects a protocol through a menu screen(101). It is checked whether a medium access control(MAC) of the protocol selected by the user is an either or an IEEE802.3(102). Upon checking, if the MAC is an Ethernet, a header of the Ethernet protocol, a data link layer(103). And then, the header of an IP protocol, a network layer, is generated(104). A packet is generated upon receipt of a user data(106). In this respect, a header of each protocol is selected and inputted through a menu by the user, a data given as a default value is inputted, or the user may directly input through programming. In case that the user directly inputs through programming, a system checks an error of the input program, and a packet is generated according to the result. A function menu is selected(107).

Description

근거리통신망 프로토콜의 에뮬레이션 방법{Emulation method for protocol of LAN}Emulation method for local area network protocol {Emulation method for protocol of LAN}

본 발명은 근거리통신망(LAN) 프로토콜의 에뮬레이션 방법 및 그를 실현시키기 위한 프로그램을 기록한 기록매체에 관한 것으로, 특히 LAN 카드를 탑재한 컴퓨터에서 프로토콜의 에뮬레이션 기능을 제공하여, 프로토콜에 대한 이해 및 설계 기술을 익힐 수 있도록 한 에뮬레이션 방법 및 그를 실현시키기 위한 프로그램을 기록한 기록매체에 관한 것이다.The present invention relates to a method of emulating a local area network (LAN) protocol and a recording medium on which a program for realizing the same is recorded. In particular, the present invention provides an emulation function of a protocol in a computer equipped with a LAN card, thereby understanding and designing a protocol. An emulation method for learning and a recording medium recording a program for realizing the same.

일반적으로 근거리통신망(LAN) 프로토콜을 분석하는 장치로, 모니터링 소프트웨어가 존재한다. 이는 LAN 카드를 장착한 윈도우 기반의 PC에 탑재하여 동작되거나, 독자적인 장치에서 동작된다.In general, monitoring software exists as a device for analyzing a local area network (LAN) protocol. It works on a Windows-based PC with a LAN card, or on a standalone device.

즉, 종래의 모니터링 소프트웨어는 사용자가 그래픽사용자인터페이스(GUI) 환경을 통해 메뉴를 선택하도록 하며, 모니터링 기능이 선택되면 LAN 카드에서 매체접근제어(MAC) 프로토콜부터 읽는다. 매체접근제어(MAC) 프로토콜 헤더의 프로토콜 형태가 이더넷일 경우와 논리적연결제어(LLC: Logical Link Control) 기능까지 수행하는 IEEE802.3으로 나누어 모니터링을 수행한다. 프로토콜 형태가 이더넷일 경우는 네트워크계층으로 인터넷프로토콜(IP)이 있다. 네트워크계층의 상위 계층인 전달계층으로 TCP, UDP, IGP, EGP, RIP, OSPF 등의 프로토콜들이 존재하며, 전달계층의 TCP 프로토콜의 상위계층인 응용계층으로 HTTP, FTP, TELNET, RLOGIN, SMTP, DNS, TFTP 등의 프로토콜들이 있다. 그리고, 전달계층의 UDP프로토콜의 상위계층으로 SNMP, DNS 프로토콜이 있다. 이와 같은 다양한 프로토콜에 대한 정보의 디스플레이 형태로는 핵사(HEXA) 형태로 출력하는 방법과, 프로토콜의 파라메터를 출력하는 Summary 형태로 출력하는 방법, 그리고 핵사(HEXA)와 Summary의 조합 형태로서 임의의 프로토콜의 파라메터와 핵사(HEXA) 값의 맵핑 형태로 상세출력 방법이 있다.In other words, the conventional monitoring software allows the user to select a menu through a graphical user interface (GUI) environment, and when the monitoring function is selected, the media card is read from the LAN card. Monitoring is performed by dividing the protocol type of the MAC protocol header into Ethernet and IEEE802.3 which performs logical link control (LLC) functions. If the protocol type is Ethernet, there is an Internet protocol (IP) as a network layer. Protocols such as TCP, UDP, IGP, EGP, RIP, and OSPF exist as the transport layer, which is the upper layer of the network layer, and HTTP, FTP, TELNET, RLOGIN, SMTP, DNS as the application layer, which is the upper layer of the TCP protocol of the transport layer. Protocols, such as TFTP. The upper layer of the UDP protocol of the transport layer includes the SNMP and DNS protocols. As the display form of information on various protocols such as the method of outputting in the form of nucleus (HEXA), the method of outputting in the form of Summary to output the parameters of the protocol, and any protocol as a combination of the nucleus (HEXA) and Summary There is a detailed output method in the form of mapping of parameters and HEXA values.

이와 같은 종래 모니터링 소프트웨어는 사용자가 직접 프로그래밍을 통해 프로토콜을 설계하고, 그 결과를 확인하는 기능이 포함되어 있지 않아, 프로토콜에 대한 이해를 넓히는데 한계가 있었다.Such conventional monitoring software does not include a function for designing a protocol through a user's own programming and checking the result, thereby limiting the understanding of the protocol.

본 발명은, 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 사용자가 직접 패킷을 생성하여, 다양한 기능의 에뮬레이션을 수행하고, 그 결과를 확인할 수 있도록 함으로써, 프로토콜에 대한 이해 및 설계 기술을 익힐 수 있는 근거리통신망 프로토콜의 에뮬레이션 방법 및 그를 실현시키기 위한 프로그램을 기록한 기록매체를 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems, by allowing the user to directly generate a packet, to emulate a variety of functions, and to check the results, it is possible to learn the protocol understanding and design techniques An object of the present invention is to provide an emulation method of a local area network protocol and a recording medium recording a program for realizing the same.

도 1a 내지 도 1e 는 본 발명에 따른 근거리 통신망(LAN) 프로토콜의 에뮬레이션 전체 흐름도.1A-1E are general flow diagrams of emulation of a local area network (LAN) protocol in accordance with the present invention.

도 2 는 본 발명에 따른 데이터링크계층의 헤더 생성 흐름도.2 is a flowchart of generating a header of a data link layer according to the present invention;

도 3a 및 도 3b 는 본 발명에 따른 네트워크계층의 헤더 생성 흐름도.3A and 3B are a flowchart for generating a header of a network layer according to the present invention.

도 4a 내지 도 10 은 본 발명에 따른 전달계층의 헤더 생성 흐름도.4A through 10 are flowcharts of header generation of a transport layer according to the present invention.

상기 목적을 달성하기 위한 본 발명은, 근거리통신망(LAN) 카드를 탑재한 컴퓨터에서 수행되는 근거리통신망 프로토콜의 에뮬레이션 방법에 있어서, 사용자가 선택한 매체접근제어(MAC) 주소의 형태를 확인하는 제 1 단계; 상기 제 1 단계에서 매체접근제어 주소가 이더넷이면, 데이터링크계층의 프로토콜 헤더와 네트워크계층의 프로토콜 헤더, 전달계층의 프로토콜 헤더를 각각 생성하고, 사용자 데이터를 입력받아 패킷을 생성하는 제 2 단계; 상기 제 1 단계에서 매체접근제어 주소가 IEEE802.3 관련 주소이면, 상대측 주소와, DASP, SASP, 제어필드, 논리적연결제어 (LLC) 프로토콜데이터유닛(PDU) 사용자 데이터를 각각 입력받고, 상기 LLC PDU 사용자 데이터 길이를 계산하여, IEEE802.3 패킷을 생성하는 제 3 단계; 상기 제 2 단계 및 제 3 단계에서 생성된 패킷을 이용해 사용자가 선택한 에뮬레이션 기능에 따라 에뮬레이션을 수행하는 제 4 단계; 및 상기 수행된 에뮬레이션 결과를 사용자가 선택한 디스플레이 형태에 따라 디스플레이 하는 제 5 단계를 포함한다.In accordance with another aspect of the present invention, there is provided a method of emulating a local area network protocol performed by a computer equipped with a local area network (LAN) card, the method comprising: a first step of confirming a type of a medium access control (MAC) address selected by a user; ; A second step of generating a protocol header of a data link layer, a protocol header of a network layer, and a protocol header of a transport layer when the medium access control address is Ethernet in the first step, and generating a packet by receiving user data; In the first step, if the medium access control address is an IEEE802.3 related address, a counterpart address, DASP, SASP, control field, and logical connection control (LLC) protocol data unit (PDU) user data are respectively inputted, and the LLC PDU is inputted. Calculating a length of user data to generate an IEEE802.3 packet; A fourth step of performing emulation according to an emulation function selected by a user using the packets generated in the second and third steps; And a fifth step of displaying the performed emulation result according to the display form selected by the user.

또한, 본 발명은, 프로세서를 구비한 근거리통신망카드 탑재 컴퓨터 시스템에, 사용자가 선택한 매체접근제어(MAC) 주소가 이더넷이면, 데이터링크계층의 프로토콜 헤더와 네트워크계층의 프로토콜 헤더, 전달계층의 프로토콜 헤더를 각각 생성하고, 사용자 데이터를 입력받아 패킷을 생성하는 제 1 기능; 사용자가 선택한 상기 매체접근제어 주소가 IEEE802.3 관련 주소이면, 상대측 주소와, DASP, SASP, 제어필드, 논리적연결제어(LLC) 프로토콜데이터유닛(PDU) 사용자 데이터를 각각 입력받고, 상기 LLC PDU 사용자 데이터 길이를 계산하여, IEEE802.3 패킷을 생성하는 제 2 기능; 상기 생성된 패킷을 이용해 사용자가 선택한 에뮬레이션 기능에 따라 에뮬레이션을 수행하는 제 3 기능; 및 상기 수행된 에뮬레이션 결과를 사용자가 선택한 디스플레이 형태에 따라 디스플레이 하는 제 4 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention provides a computer system equipped with a local area network card equipped with a processor, if the user-selected medium access control (MAC) address is Ethernet, the protocol header of the data link layer, the protocol header of the network layer, and the protocol header of the transport layer. Generating a packet by receiving user data; When the medium access control address selected by the user is an IEEE802.3 related address, the partner side address, DASP, SASP, control field, and logical connection control (LLC) protocol data unit (PDU) user data are respectively inputted, and the LLC PDU user is inputted. A second function of calculating a data length to generate an IEEE802.3 packet; A third function of performing emulation according to an emulation function selected by a user using the generated packet; And a computer-readable recording medium having recorded thereon a program for realizing a fourth function of displaying the performed emulation result according to the display form selected by the user.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1a 내지 도 1e 는 본 발명에 따른 에뮬레이션 방법의 전체 흐름도이다.1A-1E are general flow diagrams of an emulation method according to the present invention.

먼저, 사용자는 메뉴화면을 통해 프로토콜을 선택한다(101). 그러면, 사용자가 선택한 프로토콜의 MAC이 이더넷인지 아니면 IEEE802.3인지를 확인한다(102). 확인결과 이더넷이면, 사용자데이터/TCP/IP/이더넷 패킷을 구성하는데, 그 과정을 살펴보면 다음과 같다.First, the user selects a protocol through a menu screen (101). Then, it is checked whether the MAC of the protocol selected by the user is Ethernet or IEEE802.3 (102). If it is Ethernet, it configures user data / TCP / IP / Ethernet packet. The process is as follows.

먼저, 데이터링크계층인 이더넷 프로토콜의 헤더를 생성하고(103), 네트워크계층인 IP 프로토콜의 헤더를 생성하며(104), 다음 전달계층의 각 프로토콜 형태에 따른 헤더를 생성하고(105), 사용자 데이터를 입력받아 패킷을 생성한다(106). 여기서, 각 프로토콜의 헤더는 사용자가 메뉴를 통해 선택하여 입력하거나, 아니면 디폴트 값으로 주어진 데이터가 입력되거나, 아니면 사용자가 직접 프로그래밍을 통해 입력할 수 있다. 여기서, 프로그래밍을 통해 입력하는 경우에는 시스템이 입력된 프로그램의 오류를 검사하고, 그 결과에 따라 패킷을 생성한다.First, generate a header of the Ethernet protocol, which is a data link layer (103), generate a header of the IP protocol, which is a network layer (104), generate a header according to each protocol type of the next transport layer (105), and user data. Generates a packet by receiving the input (106). Herein, the header of each protocol can be selected by the user through a menu, or data given as a default value can be input, or the user can directly input through programming. In this case, when inputting through programming, the system checks an error of the input program and generates a packet according to the result.

한편, 102 단계에서 선택된 MAC이 IEEE802.3이면 사용자데이터/LLC/802.3 패킷을 생성하는데, 그 과정이 도1e에 도시되어 있다.On the other hand, if the MAC selected in step 102 is IEEE802.3 generates a user data / LLC / 802.3 packet, the process is shown in Figure 1e.

먼저, 802.3 입력메뉴를 디스플레이하고(141), 사용자가 디스플레이된 입력메뉴 중 상대측 802.3 주소의 입력을 선택하면(142), 상대측 802.3 주소를 입력한다(143). 한편, 142단계에서 상대측 802.3 주소의 ARP 처리를 선택하면(144), 네트워크계층의 프로토콜 헤더의 생성을 통해 상대측 IP 주소를 획득하여(146), ARP 요구 패킷을 송신하고(147), 상기 요구에 따른 응답 신호를 상대측으로부터 수신하면 (148), 상대측의 802.3 주소를 형성한다(149). 상기 144단계에서 ARP 처리도 선택하지 않으면 디폴트 값으로 설정한다(145). 이러한 과정(142 내지 149)을 통해 상대측 802.3 주소가 입력되면, DASP를 입력하는데(150), 이는 사용자가 선택하여 입력하거나, 사용자가 선택하지 않은 경우 디폴트 값을 입력한다(151,152). 그런 다음, SASP를 입력하는데(153), 이 또한 사용자가 선택하여 입력하거나, 사용자가 선택하지 않은 경우 디폴트 값을 입력한다(154,155). 그리고, 제어필드 값도 사용자가 선택하여 입력하던지 사용자의 선택이 없는 경우 디폴트 값으로 설정한다(156 내지 158). 그런 다음, LLC 프로토콜 데이터 유닛(PDU) 사용자 데이터를 입력받는데, 이 또한 사용자가 선택한 값 혹은 디폴트 값으로 입력된다(159 내지 161). 그리고, LLC PDU 데이터 길이를 사용자가 계산하여 설정함으로써(162), 802.3 패킷이 생성된다.First, an 802.3 input menu is displayed (141). When the user selects an input of the opposite side 802.3 address from the displayed input menu (142), the opposite side enters the 802.3 address (143). On the other hand, if the ARP processing of the other party's 802.3 address is selected in step 142 (144), the other party's IP address is obtained through generation of the protocol header of the network layer (146), and the ARP request packet is transmitted (147). When the corresponding response signal is received from the counterpart (148), an 802.3 address of the counterpart is formed (149). If the ARP process is also not selected in step 144, the default value is set (145). When the counterpart 802.3 address is input through the processes 142 to 149, the DASP is input (150), which the user selects and inputs, or the user inputs a default value (151, 152). Then, the user inputs the SASP (153), which is also selected by the user or inputs a default value if the user does not select (154, 155). In addition, the control field value is set as a default value when the user selects and inputs or when there is no user selection (156 to 158). Then, the LLC protocol data unit (PDU) user data is input, which is also input as a user selected value or a default value (159 to 161). Then, by calculating and setting the LLC PDU data length (162), an 802.3 packet is generated.

이와 같은 과정을 통해 패킷이 생성되면, 사용자의 기능메뉴 선택에 따라 에뮬레이션을 수행한다. 사용자가 생성된 패킷만의 송신을 선택하는 경우에는 생성된 패킷만 송신하고(108,109), 접속기능을 선택하는 경우에는 접속 요구 패킷을 송신하고(110,111),이후 상대측으로부터 접속 응답 및 접속 요구 패킷을 수신하면 (112), 접속응답 패킷을 송신한다(113). 사용자가 해제 기능을 선택하면 (114), 접속이 완료된 상태인지를 확인한다(115). 115단계에서 접속이 완료된 상태가 아니면 접속을 요구하여, 접속을 수행하고(116), 접속이 완료된 상태이면 해제 요구 패킷을 송신한다(117). 그런 다음, 상대측으로부터 해제요구에 대한 응답 패킷을 수신하고, 해제 요구 패킷을 수신하면(118), 해제 요구 패킷에 대한 응답을 상대측으로 송신한다(119).If a packet is generated through this process, emulation is performed according to the user's function menu selection. If the user chooses to send only generated packets (108, 109), if the user selects the connection function, the connection request packet is transmitted (110, 111), and then the connection response and connection request packets are sent from the other party. Upon reception (112), the connection response packet is transmitted (113). When the user selects the release function (114), it is checked whether the connection is complete (115). In step 115, if the connection is not completed, the connection is requested and the connection is performed (116). If the connection is completed, the release request packet is transmitted (117). Then, when the response packet for the release request is received from the counterpart and receives the release request packet (118), the response to the release request packet is transmitted to the counterpart (119).

또한, 사용자가 접속과 해제 기능의 반복 수행을 선택하면(120), 접속 수행 후, 해제 수행하는 과정을 사용자가 중지할 때까지 반복한다(121 내지 123). 그리고, 사용자가 트래픽 발생기능을 선택하면(124), 접속 수행 후, 패킷 데이터를 전달하는 과정을 사용자가 중지할 때까지 반복한다(125 내지 128).In addition, if the user selects to repeatedly perform the connection and release function (120), after performing the connection, the process of performing the release is repeated until the user stops (121 to 123). If the user selects the traffic generation function (124), after performing the connection, the process of delivering the packet data is repeated until the user stops (125 to 128).

이러한 과정을 통해 수행된 결과는 화면상에 디스플레이 되는데, 그 과정이 도1d에 도시되어 있다.The result performed through this process is displayed on the screen, which is shown in FIG. 1D.

사용자가 디스플레이 메뉴를 선택하여(129), 수신된 모든 패킷 디스플레이를 선택하면(130), 수신된 모든 패킷을 디스플레이 한다(131). 그리고, 사용자가 자신의 IP 주소와 동일한 패킷의 디스플레이를 선택하면(132), 자신의 IP 주소와 동일한 패킷만 디스플레이 한다(133). 그리고, 사용자가 상대측 IP 주소와 동일한 패킷의 디스플레이를 선택하면(134), 상대측 IP 주소와 동일한 패킷만 디스플레이 한다(135). 그리고, 사용자가 자신의 TCP 포트와 동일한 패킷만 디스플레이를 선택하면(136), 자신의 TCP 포트와 동일한 패킷만 디스플레이 한다(137). 또한, 사용자가 상대측 TCP 포트와 동일한 패킷만 디스플레이를 선택하면(138), 상대측 TCP 포트와 동일한 패킷만 디스플레이 한다(139).When the user selects a display menu (129), selects all received packet displays (130), and displays all received packets (131). If the user selects the display of the same packet as his IP address (132), only the same packet as his IP address is displayed (133). If the user selects display of the same packet as the counterpart IP address (134), only the same packet as the counterpart IP address is displayed (135). If the user selects to display only the same packet as his TCP port (136), the user displays only the same packet as his TCP port (137). In addition, if the user selects display of only the same packet as the counterpart TCP port (138), only the same packet as the counterpart TCP port is displayed (139).

도 2 는 본 발명에 따른 도 1a 의 103 단계의 상세 흐름도이다.2 is a detailed flowchart of step 103 of FIG. 1A in accordance with the present invention.

사용자가 이더넷 헤더 형성의 입력 메뉴 중에서 상대측 이더넷 주소의 입력을 선택하면(201,202), 선택된 상대측 이더넷 주소를 입력한다(203). 사용자가 상대측 이더넷 주소 ARP 처리를 선택하면(204), 상대측 IP 주소를 획득한 다음, ARP 요구 패킷을 송신하고, 이에 대한 응답으로 ARP 응답 패킷을 수신하면, 상대측 주소를 생성한다(206 내지 209). 사용자가 메뉴 중 선택하지 않으면, 상대측 이더넷 주소를 디폴트 값으로 입력한다(205). 상대측 이더넷 주소를 입력한 다음, 이더넷 프로토콜 형태를 입력하고(211,212), 이렇게 생성된 이더넷 헤더를 점검하여(213), 정상이 아닌 경우에는 처음부터 다시 시작한다. 여기서, 프로토콜 형태의 입력은 사용자의 선택에 의해 이루어지거나, 디폴트 값의 입력에 의해 이루어진다.If the user selects the input of the counterpart Ethernet address from the input menu of Ethernet header formation (201, 202), the selected counterpart Ethernet address is input (203). If the user selects the counterpart Ethernet address ARP processing (204), the counterpart obtains the counterpart IP address, then sends an ARP request packet and receives an ARP response packet in response thereto, and generates a counterpart address (206 to 209). . If the user does not select one of the menus, the opposite Ethernet address is input as a default value (205). Enter the other side Ethernet address, then enter the Ethernet protocol type (211,212), and check the generated Ethernet header (213), if it is not normal to start from the beginning again. Here, the input of the protocol type is made by the user's selection or by input of a default value.

도 3a 및 도 3b 는 네트워크계층의 IP 헤더를 생성하는 흐름도이다.3A and 3B are flowcharts for generating an IP header of a network layer.

사용자가 IP 헤더 형성의 입력 메뉴중 핵사(HEXA) 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(302). 301 단계에서 사용자가 메뉴 입력을 선택하면, IP 헤더 형성의 입력 메뉴를 디스플레이하는데(303), 이 메뉴 중 사용자가 상대측 IP 주소의 입력을 선택하면 상대측 IP 주소를 입력받는다(304 내지 306). 여기서, 상대측 IP 주소는 사용자의 선택 입력 혹은 디폴트 값의 입력에 의해 얻어진다.When the user selects the input of the nucleus (HEXA) value from the input menu of the IP header formation, a screen is formed to input the HEXA, and the value is received from the user (302). If the user selects a menu input in step 301, an input menu of IP header formation is displayed (303). If the user selects the input of the counterpart's IP address, the counterpart's IP address is input (304 to 306). Here, the partner's IP address is obtained by a user's selective input or input of a default value.

그런 다음, 사용자의 선택한 값 혹은 디폴트 값으로, 자신의 IP 주소(307 내지 309), 프로토콜 형태(310 내지 312), 프로토콜 버전 형태(313 내지 315), TTL(Time To Live) 값(316 내지 318), 서비스 형태(319 내지 321), 플래그(322 내지 324), 단편 옵셋(325 내지 327), 옵션(328 내지 330)이 순차적으로 각각 입력된다. 그리고, 이후 입력 메뉴가 없으면 사용자 IP 헤더의 나머지를 계산하여, IP 헤더를 생성한다(331).Then, as the user's selected or default value, his IP address (307 to 309), protocol type (310 to 312), protocol version type (313 to 315), TTL (Time To Live) value (316 to 318) ), Service types 319 to 321, flags 322 to 324, fragment offsets 325 to 327, and options 328 to 330 are sequentially input. If there is no input menu thereafter, the rest of the user IP header is calculated to generate an IP header (331).

도 4a 및 도 4b 는 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 TCP 헤더 생성 흐름도이다.4A and 4B are TCP header generation flowcharts, which are protocols of the transport layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 TCP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다 (401, 402). 한편, 사용자가 메뉴 입력을 통한 TCP 헤더 입력을 선택하면, TCP 헤더 입력 메뉴를 디스플레이 하여(403), 순차적으로 상대측 TCP 포트(404 내지 406), 자신의 TCP 포트(407 내지 409), 윈도우(410 내지 412), 순서번호(413 내지 415), 응답번호(416 내지 418), 제어필드(419 내지 421), 긴급 포인터(422 내지 424), 옵션(425 내지 427)을 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 TCP 헤더의 나머지를 계산하여, TCP 헤더를 생성한다(428).First, when the user selects the input of the HEXA value from the input menu of the TCP header formation, a screen is formed to input the HEXA, and the value is received from the user (401, 402). On the other hand, when the user selects the TCP header input through the menu input, by displaying the TCP header input menu (403), the other side TCP ports (404 to 406), their own TCP port (407 to 409), the window 410 To 412, order numbers 413 to 415, response numbers 416 to 418, control fields 419 to 421, emergency pointers 422 to 424, and options 425 to 427, respectively. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the remainder of the user TCP header is calculated to generate a TCP header (428).

도 5 는 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 UDP 헤더 생성 흐름도이다.FIG. 5 is a flowchart for generating a UDP header which is a protocol of a transport layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 UDP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(501, 502). 한편, 사용자가 메뉴 입력을 통한 UDP 헤더 입력을 선택하면, UDP 헤더 입력 메뉴를 디스플레이 하여(503), 순차적으로 상대측 UDP 포트(504 내지 506), 자신의 UDP 포트(507 내지 509)를 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 UDP 헤더의 나머지를 계산하여, UDP 헤더를 생성한다(510).First, when the user selects the input of the HEXA value from the input menu of UDP header formation, a screen is formed to input the HEXA, and the value is received from the user (501 and 502). On the other hand, when the user selects the UDP header input through the menu input, by displaying the UDP header input menu (503), sequentially receiving the opposing UDP ports (504 to 506), their UDP ports (507 to 509), respectively. . Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the rest of the user UDP header is calculated to generate a UDP header (510).

도 6 은 도 1a 의 105 단계의 전달계층의 프로토콜인 ICMP 헤더 생성 흐름도이다.FIG. 6 is a flowchart for generating an ICMP header, which is a protocol of a transport layer of step 105 of FIG. 1A.

우선, 사용자가 ICMP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(601, 602). 한편, 사용자가 메뉴 입력을 통한 ICMP 헤더 입력을 선택하면, ICMP 헤더 입력 메뉴를 디스플레이 하여(603), 순차적으로 프로토콜 형태(604 내지 606), 코드(607 내지 609)를 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 ICMP 헤더의 나머지를 계산하여(610), ICMP 헤더를 생성한다.First, when the user selects the input of the HEXA value from the input menu of the ICMP header formation, a screen is formed to input the HEXA, and the value is received from the user (601, 602). On the other hand, when the user selects the ICMP header input through the menu input, and displays the ICMP header input menu (603), and sequentially receives the protocol type (604 to 606), and codes (607 to 609), respectively. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the rest of the user ICMP header is calculated (610) to generate an ICMP header.

도 7 은 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 EGP 헤더 생성 흐름도이다.7 is an EGP header generation flowchart which is a protocol of the transport layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 EGP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(701, 702). 한편, 사용자가 메뉴 입력을 통한 EGP 헤더 입력을 선택하면, EGP 헤더 입력 메뉴를 디스플레이 하여(703), 순차적으로 프로토콜 형태(704 내지 706), 버전(707 내지 709), 코드(710 내지 712)를 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 EGP 헤더의 나머지를 계산하여, EGP 헤더를 생성한다(713).First, when the user selects the input of the HEXA value from the input menu of the EGP header formation, a screen is formed to input the HEXA, and the value is received from the user (701, 702). On the other hand, when the user selects the EGP header input through the menu input, the EGP header input menu is displayed (703) to sequentially display the protocol types (704 to 706), the versions (707 to 709), and the codes (710 to 712). Receive each input. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the rest of the user EGP header is calculated to generate an EGP header (713).

도 8 은 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 RIP 헤더 생성 흐름도이다.FIG. 8 is a flowchart for generating a RIP header which is a protocol of a transport layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 RIP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(801, 802). 한편, 사용자가 메뉴 입력을 통한 RIP 헤더 입력을 선택하면, RIP 헤더 입력 메뉴를 디스플레이 하여(803), 순차적으로 명령어(804 내지 806), 버전(807 내지 809)을 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 RIP 헤더의 나머지를 계산하여, RIP 헤더를 생성한다(810).First, when the user selects the input of the HEXA value from the input menu of the RIP header formation, a screen is formed to input the HEXA, and the value is received from the user (801, 802). Meanwhile, when the user selects the RIP header input through the menu input, the RIP header input menu is displayed (803) to sequentially receive the commands 804 to 806 and the versions 807 to 809, respectively. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the rest of the user RIP header is calculated to generate a RIP header (810).

도 9 는 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 OSPF 헤더 생성 흐름도이다.9 is an OSPF header generation flowchart which is a protocol of a transport layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 OSPF 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(901, 902). 한편, 사용자가 메뉴 입력을 통한 OSPF 헤더 입력을 선택하면, OSPF 헤더 입력 메뉴를 디스플레이 하여(903), 순차적으로 프로토콜 형태(904 내지 906), 버전(907 내지 909)을 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 OSPF 헤더의 나머지를 계산하여, OSPF 헤더를 생성한다(910).First, when the user selects the input of the HEXA value from the input menu of OSPF header formation, a screen is formed to input the HEXA, and the value is received from the user (901, 902). On the other hand, when the user selects the OSPF header input through the menu input, by displaying the OSPF header input menu (903), and receives the protocol type (904 to 906), and the versions (907 to 909) sequentially. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the remainder of the user OSPF header is calculated to generate an OSPF header (910).

도 10 은 본 발명에 따른 도 1a 의 105 단계의 전달계층의 프로토콜인 IGMP 헤더 생성 흐름도이다.FIG. 10 is a flowchart illustrating generation of an IGMP header, which is a protocol of a delivery layer of step 105 of FIG. 1A according to the present invention.

우선, 사용자가 IGMP 헤더 형성의 입력 메뉴중 HEXA 값의 입력을 선택하면 HEXA 입력을 하도록 화면을 형성해 주어 사용자로부터 그 값을 입력받는다(1001, 1002). 한편, 사용자가 메뉴 입력을 통한 IGMP 헤더 입력을 선택하면, IGMP 헤더 입력 메뉴를 디스플레이 하여(1003), 순차적으로 프로토콜 형태(1004 내지 1006), 버전(1007 내지 1009)을 각각 입력받는다. 여기서, 각 데이터는 사용자가 선택한 값 혹은 디폴트 값으로 설정된다. 그런 다음, 입력 메뉴가 없으면 사용자 IGMP 헤더의 나머지를 계산하여, IGMP 헤더를 생성한다(1010).First, when the user selects the input of the HEXA value from the input menu of the IGMP header formation, a screen is formed to input the HEXA, and the value is received from the user (1001, 1002). On the other hand, when the user selects the IGMP header input through the menu input, by displaying the IGMP header input menu (1003), and sequentially receives the protocol type (1004 to 1006), version (1007 to 1009), respectively. Here, each data is set to a value selected by the user or a default value. Then, if there is no input menu, the rest of the user IGMP header is calculated to generate an IGMP header (1010).

또한, 본 발명은 LAN 상에 송, 수신된 패킷의 파일 저장후 이의 에디팅 기능을 제공하는데, 프레임 번호, 워드별, 페이지 업/다운 기능을 통해, 데이터를 디스플레이 한다.In addition, the present invention provides a file storing and editing function of a packet transmitted and received on a LAN, and displays data through frame number, word-by-word, and page up / down functions.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes can be made in the art without departing from the technical spirit of the present invention. It will be apparent to those of ordinary knowledge.

상기와 같은 본 발명은, 사용자가 직접 패킷을 생성하여, 다양한 기능의 에뮬레이션을 수행하고, 그 결과를 확인할 수 있도록 함으로써, 프로토콜에 대한 이해 및 설계 기술을 향상시킬 수 있는 우수한 효과가 있다.The present invention as described above, by allowing the user to directly generate a packet, to emulate a variety of functions, and to check the result, there is an excellent effect to improve the understanding of the protocol and design techniques.

Claims (14)

근거리통신망(LAN) 카드를 탑재한 컴퓨터에서 수행되는 근거리통신망 프로토콜의 에뮬레이션 방법에 있어서,In the emulation method of a local area network protocol performed in a computer equipped with a local area network (LAN) card, 사용자가 선택한 매체접근제어(MAC) 주소의 형태를 확인하는 제 1 단계;A first step of confirming a type of a medium access control (MAC) address selected by the user; 상기 제 1 단계에서 매체접근제어 주소가 이더넷이면, 데이터링크계층의 프로토콜 헤더와 네트워크계층의 프로토콜 헤더, 전달계층의 프로토콜 헤더를 각각 생성하고, 사용자 데이터를 입력받아 패킷을 생성하는 제 2 단계;A second step of generating a protocol header of a data link layer, a protocol header of a network layer, and a protocol header of a transport layer when the medium access control address is Ethernet in the first step, and generating a packet by receiving user data; 상기 제 1 단계에서 매체접근제어 주소가 IEEE802.3 관련 주소이면, 상대측 주소와, DASP, SASP, 제어필드, 논리적연결제어(LLC) 프로토콜데이터유닛(PDU) 사용자 데이터를 각각 입력받고, 상기 LLC PDU 사용자 데이터 길이를 계산하여, IEEE802.3 패킷을 생성하는 제 3 단계;In the first step, if the medium access control address is an IEEE802.3 related address, a counterpart address, DASP, SASP, control field, and logical connection control (LLC) protocol data unit (PDU) user data are respectively inputted, and the LLC PDU is input. Calculating a length of user data to generate an IEEE802.3 packet; 상기 제 2 단계 및 제 3 단계에서 생성된 패킷을 이용해 사용자가 선택한 에뮬레이션 기능에 따라 에뮬레이션을 수행하는 제 4 단계; 및A fourth step of performing emulation according to an emulation function selected by a user using the packets generated in the second and third steps; And 상기 수행된 에뮬레이션 결과를 사용자가 선택한 디스플레이 형태에 따라 디스플레이 하는 제 5 단계A fifth step of displaying the performed emulation result according to a display form selected by a user 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 데이터링크계층의 프로토콜 헤더 생성단계는,The protocol header generation step of the data link layer of the second step, 상대측 이더넷 주소를 입력받는 제 6 단계;A sixth step of receiving a counterpart Ethernet address; 상기 제 6 단계 수행 후, 프로토콜 형태를 입력받아 입력된 헤더의 정상 유무를 검사하는 제 7 단계; 및A seventh step of checking whether the input header is normal after receiving the protocol type after performing the sixth step; And 상기 검사결과 비정상이면 상기 제 6 단계 이하를 반복하고, 정상이면 입력된 정보를 이용해 데이터링크계층의 프로토콜 헤더를 생성하는 제 8 단계An eighth step of repeating the sixth step or less if the test result is abnormal, and generating a protocol header of the data link layer using the inputted information if the check result is normal; 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제 6 단계의 상대측 이더넷 주소는, 사용자의 직접 선택에 의해 입력되거나, 디폴트값으로 입력되거나, ARP 처리를 통해 입력되는 것을 특징으로 하는 근거리통신망 프로토콜의 에뮬레이션 방법.The counterpart Ethernet address of the sixth step is input by a user's direct selection, a default value, or input through ARP processing. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 네트워크계층 프로토콜(IP) 헤더의 생성단계는,Generating the network layer protocol (IP) header of the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 IP 헤더를 생성하는 제 6 단계; 및If the user selects the input of the header data as the nucleation value, a sixth step of verifying the nucleation data of the header input by the user through a menu window, and generating an IP header with the input value if the input is normal; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 상대측 IP 주소, 자신의 IP 주소, 프로토콜 형태, 프로토콜 버전, TTL(Time To Live), 서비스 형태, 플래그, 단편 옵셋, 옵션 정보를 각각 입력받고, 사용자 IP 헤더의 나머지를 계산하여, IP 헤더를 생성하는 제 7 단계When the user selects a menu input, the user receives the partner's IP address, his IP address, protocol type, protocol version, TTL (Time To Live), service type, flag, fragment offset, and option information through the menu screen. A seventh step of generating the IP header by calculating the remainder of the IP header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 TCP인 경우의 헤더 생성단계는,The header generation step when the protocol type is TCP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 TCP 헤더를 생성하는 제 6 단계; 및If the user selects the input of the header data as the nucleus value, verifying the nucleation data of the header input by the user through a menu window, and generating a TCP header with the input value when the user inputs the normal value; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 상대측 TCP 포트, 자신의 TCP 포트, 윈도우, 순서번호, 응답번호, 제어필드, 긴급포인터, 옵션 정보를 각각 입력받고, 사용자 TCP 헤더의 나머지를 계산하여, TCP 헤더를 생성하는 제 7 단계When the user selects the menu input, the user receives the TCP port, his TCP port, window, sequence number, response number, control field, emergency pointer, and option information through the menu screen, and calculates the rest of the user's TCP header. , The seventh step of generating a TCP header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 UDP인 경우의 헤더 생성단계는,The header generation step when the protocol type is UDP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 UDP 헤더를 생성하는 제 6 단계; 및If the user selects the header data as the nucleus value, verifying the nucleation data of the header input by the user through a menu window and generating a UDP header with the input value if the user inputs the header data; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 상대측 UDP 포트, 자신의 UDP 포트를 각각 입력받고, 사용자 UDP 헤더의 나머지를 계산하여, UDP 헤더를 생성하는 제 7 단계When the user selects a menu input, a seventh step of receiving a counterpart UDP port and his own UDP port through the menu screen, calculating the remainder of the user UDP header, and generating a UDP header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 ICMP인 경우의 헤더 생성단계는,The header generation step when the protocol type is ICMP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 ICMP 헤더를 생성하는 제 6 단계; 및A sixth step of, if the user selects the input of the header data as the nucleus value, verifying the nucleation data of the header input by the user through the menu window, and generating an ICMP header with the input value if the user inputs the header data; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 프로토콜 형태, 코드 정보를 각각 입력받고, 사용자 ICMP 헤더의 나머지를 계산하여, ICMP 헤더를 생성하는 제 7 단계When the user selects a menu input, a seventh step of receiving protocol type and code information through a menu screen, calculating the remainder of the user ICMP header, and generating an ICMP header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 EGP인 경우의 헤더 생성단계는,The header generation step when the protocol type is EGP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 EGP 헤더를 생성하는 제 6 단계; 및If the user selects the input of the header data as the nucleus value, verifying the nucleation data of the header input by the user through a menu window, and if it is normal, generating an EGP header with the input value; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 프로토콜 형태, 버전, 코드 정보를 각각 입력받고, 사용자 EGP 헤더의 나머지를 계산하여, EGP 헤더를 생성하는 제 7 단계Step 7 when the user selects a menu input, receives protocol type, version, and code information through a menu screen, calculates the remainder of the user EGP header, and generates an EGP header. 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 RIP인 경우의 헤더 생성단계는,The header generation step when the protocol type is RIP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 RIP 헤더를 생성하는 제 6 단계; 및A sixth step of, if the user selects the input of the header data as the nucleus value, verifying the nucleation data of the header input by the user through a menu window, and generating a RIP header with the input value if the user inputs the header data; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 상대측 명령어, 버전 정보를 각각 입력받고, 사용자 RIP 헤더의 나머지를 계산하여, RIP 헤더를 생성하는 제 7 단계When the user selects a menu input, a seventh step of receiving a counterpart command and version information through a menu screen, calculating the remainder of the user RIP header, and generating a RIP header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 OSPF인 경우의 헤더 생성단계는,The header generation step when the protocol type is OSPF in the generation of the transport layer protocol header of the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 OSPF 헤더를 생성하는 제 6 단계; 및If the user selects the input of the header data as the nucleus value, verifying the nucleation data of the header input by the user through a menu window, and generating a OSPF header with the input value if the user inputs the header data; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 프로토콜 형태, 버전 정보를 각각 입력받고, 사용자 OSPF 헤더의 나머지를 계산하여, OSPF 헤더를 생성하는 제 7 단계When the user selects a menu input, a seventh step of receiving protocol type and version information through the menu screen, calculating the remainder of the user OSPF header, and generating an OSPF header 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 2 단계의 전달계층 프로토콜 헤더의 생성단계에서 프로토콜 형태가 IGMP인 경우의 헤더 생성단계는,The header generation step when the protocol type is IGMP in the generation of the transport layer protocol header in the second step, 사용자가 핵사값으로 헤더 데이터의 입력을 선택하면, 메뉴창을 통해 사용자가 입력한 헤더의 핵사 데이터를 검증하여, 정상인 경우 입력된 값으로 IGMP 헤더를 생성하는 제 6 단계; 및A sixth step of, if the user selects the input of the header data with the nucleus value, verifying the nucleation data of the header input by the user through the menu window, and generating an IGMP header with the input value if it is normal; And 사용자가 메뉴 입력을 선택하면, 메뉴 화면을 통해 프로토콜 형태, 버전 정보를 각각 입력받고, 사용자 IGMP 헤더의 나머지를 계산하여, IGMP 헤더를 생성하는 제 7 단계When the user selects the menu input, the protocol type and version information are input through the menu screen, and the rest of the user IGMP header is calculated to generate the IGMP header. 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 3 단계의 상대측 주소는, 사용자의 직접 선택에 의해 입력되거나, 디폴트 값으로 입력되거나, ARP 처리를 통해 입력되는 것을 특징으로 하는 근거리통신망 프로토콜의 에뮬레이션 방법.The counterpart address of the third step is input by a user's direct selection, a default value, or is input through an ARP process. 제 3 항 또는 제 12 항에 있어서,The method according to claim 3 or 12, wherein 상기 ARP 처리단계는,The ARP processing step, 상대측의 IP 주소를 획득하는 제 9 단계;A ninth step of acquiring the other party's IP address; ARP 요구 패킷을 상기 획득된 상대 IP 주소로 송신하는 제 10 단계; 및A tenth step of transmitting an ARP request packet to the obtained relative IP address; And 상기 송신에 대한 응답으로 응답 패킷을 수신하여, 상대측 주소를 획득하는 제 10 단계A tenth step of receiving a response packet in response to the transmission to obtain a counter address; 를 포함하는 근거리통신망 프로토콜의 에뮬레이션 방법.Emulation method of a local area network protocol comprising a. 프로세서를 구비한 근거리통신망카드 탑재 컴퓨터 시스템에,In a computer system equipped with a local area network card having a processor, 사용자가 선택한 매체접근제어(MAC) 주소가 이더넷이면, 데이터링크계층의 프로토콜 헤더와 네트워크계층의 프로토콜 헤더, 전달계층의 프로토콜 헤더를 각각 생성하고, 사용자 데이터를 입력받아 패킷을 생성하는 제 1 기능;A first function of generating a protocol header of a data link layer, a protocol header of a network layer, and a protocol header of a transport layer, respectively, and generating a packet by receiving user data if the user-selected medium access control (MAC) address is Ethernet; 사용자가 선택한 상기 매체접근제어 주소가 IEEE802.3 관련 주소이면, 상대측 주소와, DASP, SASP, 제어필드, 논리적연결제어(LLC) 프로토콜데이터유닛(PDU) 사용자 데이터를 각각 입력받고, 상기 LLC PDU 사용자 데이터 길이를 계산하여, IEEE802.3 패킷을 생성하는 제 2 기능;When the medium access control address selected by the user is an IEEE802.3 related address, the partner side address, DASP, SASP, control field, and logical connection control (LLC) protocol data unit (PDU) user data are respectively inputted, and the LLC PDU user is inputted. A second function of calculating a data length to generate an IEEE802.3 packet; 상기 생성된 패킷을 이용해 사용자가 선택한 에뮬레이션 기능에 따라 에뮬레이션을 수행하는 제 3 기능; 및A third function of performing emulation according to an emulation function selected by a user using the generated packet; And 상기 수행된 에뮬레이션 결과를 사용자가 선택한 디스플레이 형태에 따라 디스플레이 하는 제 4 기능A fourth function of displaying the performed emulation result according to a display form selected by a user 을 실현시키기 위한 프로그램을기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019990045834A 1999-10-21 1999-10-21 Emulation method for protocol of LAN KR20010038029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990045834A KR20010038029A (en) 1999-10-21 1999-10-21 Emulation method for protocol of LAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990045834A KR20010038029A (en) 1999-10-21 1999-10-21 Emulation method for protocol of LAN

Publications (1)

Publication Number Publication Date
KR20010038029A true KR20010038029A (en) 2001-05-15

Family

ID=19616333

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990045834A KR20010038029A (en) 1999-10-21 1999-10-21 Emulation method for protocol of LAN

Country Status (1)

Country Link
KR (1) KR20010038029A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190116811A (en) * 2018-04-05 2019-10-15 국방과학연구소 Apparatus and method for generating simulated network traffic traces

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09326796A (en) * 1995-12-26 1997-12-16 Sun Microsyst Inc Method for generating test packet to simulate computer network communication and its device
KR0130860B1 (en) * 1994-07-15 1998-04-27 조백제 Apparatus and method of broadband isdn simulation for enabling accelerating test
KR0136424B1 (en) * 1995-02-08 1998-06-01 조백제 No.7-protocol
KR0146999B1 (en) * 1995-11-01 1998-08-17 양승택 Apparatus and control method of wide band protocol simulator
KR100197414B1 (en) * 1996-05-31 1999-06-15 유기범 Apparatus and method for testing interface between packet handler and digital service unit in a switching system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0130860B1 (en) * 1994-07-15 1998-04-27 조백제 Apparatus and method of broadband isdn simulation for enabling accelerating test
KR0136424B1 (en) * 1995-02-08 1998-06-01 조백제 No.7-protocol
KR0146999B1 (en) * 1995-11-01 1998-08-17 양승택 Apparatus and control method of wide band protocol simulator
JPH09326796A (en) * 1995-12-26 1997-12-16 Sun Microsyst Inc Method for generating test packet to simulate computer network communication and its device
KR100197414B1 (en) * 1996-05-31 1999-06-15 유기범 Apparatus and method for testing interface between packet handler and digital service unit in a switching system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190116811A (en) * 2018-04-05 2019-10-15 국방과학연구소 Apparatus and method for generating simulated network traffic traces

Similar Documents

Publication Publication Date Title
Sanders Practical packet analysis: Using Wireshark to solve real-world network problems
US9654303B2 (en) Method and apparatus for emulating network devices
JP5462905B2 (en) Protocol emulator
US7852789B2 (en) Methods, systems, and/or devices for providing network access
US7342897B1 (en) Network verification tool
US8417478B2 (en) Network test conflict checking
US7408883B2 (en) Apparatus and method for performing a loopback test in a communication system
US20050125697A1 (en) Device for checking firewall policy
US20130305091A1 (en) Drag and drop network topology editor for generating network test configurations
KR101454017B1 (en) Remote managing method and remote managing device using the method
JP2005006303A (en) Virtual network address
Dostálek et al. Understanding TCP/IP: A clear and comprehensive guide to TCP/IP protocols
Panek Networking fundamentals
US10656795B1 (en) Presenting, at a graphical user interface (GUI), a constellation view of communications associated with node groups in a network
KR20010038029A (en) Emulation method for protocol of LAN
Panwar TCP/IP Essentials: A Lab-Based Approach
US7505418B1 (en) Network loopback using a virtual address
KR20010073968A (en) Method for analysing and simulating protocol of local area network for education
Cisco Understanding the User Interface
Cisco Understanding the User Interface
US9043448B1 (en) Systems and methods for configuring a network component that involves TCAM
Kumar et al. Network Analysis Using Wireshark 2 Cookbook: Practical recipes to analyze and secure your network using Wireshark 2
WO2007040482A1 (en) Apparatus and method for performing a loopback test in a communication system
CN113067911B (en) NAT traversal method and device, electronic equipment and storage medium
Ramos Polymorph: A Real-Time Network Packet Manipulation Framework

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee