Unlock instant, AI-driven research and patent intelligence for your innovation.

Network simulation method and system

A network emulation and simulation technology, applied in the field of network emulation, can solve the problems of inconvenience, complicated operation process, and increased system operation overhead, and achieve the effect of simplifying the work process, improving work efficiency, and consistent configuration commands and equipment.

Active Publication Date: 2021-10-01
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, when performing network simulation, it is generally simulated through a virtual machine (such as a VMware virtual machine, a VirtualBox virtual machine, and a LINUX virtual machine, etc.), but using a virtual machine will not only increase the operating overhead of the system (1 virtual machine needs 200M memory), and the operation process is more complicated, which is not convenient for people to use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network simulation method and system
  • Network simulation method and system
  • Network simulation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] see figure 1 As shown, the simulation startup process includes the following steps:

[0058] S101: Create a script configuration file (i.e. a preset configuration file) for each virtual process, the script configuration file includes virtual process parameters, and the virtual process parameters include virtual process routing, ARP (Address Resolution Protocol, Address Resolution Protocol) and MAC address, etc. information, go to S102.

[0059] The purpose of S101 is to create a virtual process directly according to the script configuration file in the future, and execute the corresponding configuration commands without manual configuration one by one; and it can improve flexibility and avoid recompiling the program to change a certain parameter, which is mainly used for complex topologies.

[0060] S102: Create a virtual process: initialize the LINUX TCP / IP protocol stack, create a virtual process and its virtual interface, the communication mode of the virtual interf...

Embodiment 2

[0074] On the basis of Embodiment 1, S101 also includes the following steps: form all script configuration files into a batch file; specifically, create a batch file (.bat type) under the Windows environment, which includes several start instructions, each start instruction Corresponds to a virtual network device. The process of configuring virtual processes according to the script configuration file in S103 is: configure all virtual processes according to the batch file, and its purpose is to complete the configuration of all virtual processes in batches, thereby simplifying the work flow and improving work efficiency.

Embodiment 3

[0076] On the basis of embodiment one, see figure 2 As shown, the data packet communication process includes the following steps:

[0077] S201: After the virtual process associates the received data packet (the type of the data packet corresponds to the upper layer protocol, such as an IP data packet, an IPv6 data packet, an ISIS data packet, etc.) with the virtual interface information (virtual interface number) of the virtual process, form Ethernet package, go to S202.

[0078] S202: Determine the communication mode of the current virtual interface. If the communication mode is a virtual communication mode, go to S203. If the communication mode is a real communication mode, go to S204.

[0079] S203: Add encapsulation information to the Ethernet packet, the encapsulation information includes the connection ID and the MAC address of the virtual interface configured in S102; call the host network card associated with the virtual interface in S102, according to the destinati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a network simulation method and system, and relates to the field of network simulation. The steps of the method include: simulation startup process: after the virtual process and its virtual interface are created, the virtual process is configured according to a preset configuration file; data packet communication process: after the virtual process receives the data packet, the data packet is formed into an Ethernet If the communication mode of the virtual interface of the current virtual process is the virtual communication mode, the Ethernet packet is encapsulated and sent to the destination virtual process; if the communication mode of the virtual interface of the current virtual process is the real communication mode, the Ethernet packets are sent to the destination real device. When the present invention performs network simulation, it can reduce the operating cost of the system, simplify the operation process, and facilitate people to use.

Description

technical field [0001] The present invention relates to the field of network simulation, in particular to a network simulation method and system for NVO3 (Network VirtualizationOver Layer 3, a virtual network technology based on a three-layer IP overlay network). Background technique [0002] A physical server in a data center network can virtualize multiple hosts. For users, a virtual machine is equivalent to a physical host. Traditional switches do not support virtualization well. For this reason, the industry has proposed the NVO3 solution, which encapsulates Layer 2 frames in a tunnel and forwards them through the Layer 3 network, thereby expanding the scope of the Layer 2 network. [0003] The NVO3 solution includes a variety of optional tunneling technologies, such as IP, UDP (User Datagram Protocol, User Datagram Protocol), and VXLAN (Virtual Extensible LAN, Virtual Extended Local Area Network). After tunnel encapsulation is added before the Layer 2 Ethernet frame, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24H04L12/46
CPCH04L12/4641H04L41/145
Inventor 邓冬平杨萍
Owner FENGHUO COMM SCI & TECH CO LTD