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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com