Network simulation method and system

A network emulation and emulation technology, applied in the field of network emulation, can solve problems such as inconvenient use, complicated operation process, and increased system operating overhead, and achieve the effect of simplifying the work process, improving work efficiency, and consistent configuration commands and equipment

Active Publication Date: 2019-07-12
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 8 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 method comprises the following steps of: a simulation starting process: after creating a virtual process and a virtual interface thereof, configuring the virtual process according to a preset configuration file; a data packet communication process: after the virtual process receivesthe data packet, forming the data packet into an Ethernet packet, if the communication mode of the virtual interface of the current virtual process is a virtual communication mode, packaging the Ethernet packet, and sending the Ethernet packet to a target virtual process; and if the communication mode of the virtual interface of the current virtual process is a real communication mode, directly sending the Ethernet packet to a target real device. When network simulation is carried out, the operation process can be simplified while the operation expenditure of the system is reduced, and peoplecan use the system conveniently.

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 Applications(China)
IPC IPC(8): H04L12/24H04L12/46
CPCH04L12/4641H04L41/145
Inventor 邓冬平杨萍
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products