CN113285873B - Virtual-real mixed network system supporting virtual construction of real route - Google Patents

Virtual-real mixed network system supporting virtual construction of real route Download PDF

Info

Publication number
CN113285873B
CN113285873B CN202110537659.0A CN202110537659A CN113285873B CN 113285873 B CN113285873 B CN 113285873B CN 202110537659 A CN202110537659 A CN 202110537659A CN 113285873 B CN113285873 B CN 113285873B
Authority
CN
China
Prior art keywords
switch
virtual
real
port
machine
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202110537659.0A
Other languages
Chinese (zh)
Other versions
CN113285873A (en
Inventor
吴建亮
胡鹏
暨福俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jeeseen Network Technologies Co Ltd
Original Assignee
Guangzhou Jeeseen Network Technologies Co Ltd
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 Guangzhou Jeeseen Network Technologies Co Ltd filed Critical Guangzhou Jeeseen Network Technologies Co Ltd
Priority to CN202110537659.0A priority Critical patent/CN113285873B/en
Publication of CN113285873A publication Critical patent/CN113285873A/en
Application granted granted Critical
Publication of CN113285873B publication Critical patent/CN113285873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • H04L49/354Switches specially adapted for specific applications for supporting virtual local area networks [VLAN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a virtual-real mixed network system supporting virtual construction of a real route, and belongs to the technical field of computer networks. The real network in the network system at least comprises a second switch, a first PC (personal computer) and a virtual physical machine which are used as gateways, and a first switch which is not used as a gateway and is used for two-layer forwarding; installing a virtualization platform on a virtual physical machine, utilizing a simulator, adopting a virtual machine technology on the virtualization platform, installing an operating system on the virtual machine, installing simulator software through the virtual machine operating system, generating a virtual network card, bridging the physical network card and the simulator network card by adopting the virtual network card technology of the virtual machine, and reasonably tuning the CPU and the memory of the virtual machine. The invention realizes the networking of the whole physical network and the routing/switching system on the simulator software in the virtual machine.

Description

Virtual-real mixed network system supporting virtual construction of real route
Technical Field
The invention relates to the technical field of computer networks, in particular to a virtual-real mixed network system supporting virtual construction of a real route.
Background
Generally, when a privileged account management system or a network target site is deployed and a link involving a routing switching system is constructed, the instructions and related configuration of the router switching system need to be familiar first. Or the learning of the network technology is worried about experiencing the instructions of the real machine system under the condition that no network equipment capable of being mastered exists, and in a test scene, the requirement of simulating the characteristics of the real machine in a complex virtual-real network environment is often required to be involved; meanwhile, by combining virtual routing with physical network networking, specific environmental requirements can be met without really purchasing one or more routers. The virtual network environment is an environment formed by networking the inside of a virtual machine after the physical server is virtualized.
The existing realization technology of analog route switching mainly adopts: installing router switch simulators or third-party simulators of various manufacturers (such as Cisco and Huashi), and operating the software simulators on a computer operating system to build a virtual topology, familiarizing instructions and completing network experiments. The specific method comprises the following steps:
1. simulator software such as EnSP simulator tool of Huaye, Cisco simulator Packet tracker, network structure simulation software-GNS 3 with more specialized Cisco system is installed on the operating system, and the simulator software is installed on the operating system of the computer and corresponding network plug-in is installed.
2. On these simulators, it is usually desirable to pull and drag the router, switch and virtual PC icons to build a topology and to connect network devices with virtual network cables as in a real environment and perform network configuration on the network devices.
3. Configuring the network to a corresponding router and a corresponding switch through instructions according to network implementation requirements, configuring an IP for a virtual PC (personal computer), or knocking instructions on simulator software for familiarity; and after the experiment is completed on the simulator, the equipment is built and configured in the real environment of the machine room.
4. A virtual network card (such as a network card generated by installing virtual software such as vmware work) is installed on a physical machine, and some simulators supporting the extended bridging virtual network card can realize the interaction of physical and virtual environments in the mode.
The realization can carry out the building, experiment and virtual-real interaction of some network environments through the simulator under the operating system.
Chinese patent application document CN111371591A discloses a configuration method and system for fast deploying SDN networking by dual-machine virtualization, the method includes the following steps: s1, establishing an overlay virtual network, configuring a test script on an overlay virtualization platform, and initializing an SDN network; s2, configuring a test script through SDN API (software defined network application programming interface) to manage and issue the configuration test script, and issuing the management data to a database of an overlay virtualization platform; s3, setting a management node of an SDN API running on an overlay virtualization platform, configuring the management node, adopting dual-machine virtualization deployment, and setting data synchronization of a main machine and a standby machine; and S4, configuring a neutron-server component to obtain management data issued by an SDN API to an overlay virtualization platform database, and performing operation of adding switches, networks and subnets to complete configuration of the SND networking. The scheme depends on the one-to-one correspondence of the IP of the external network and the IP of the virtual machine, the SNAT source address conversion technology and the SDN technology module, so that the limitation of virtual and real combination of the network is small, and the authenticity of the route cannot be reflected.
The prior art has at least the following disadvantages:
1. the equipment on the simulator can only realize the communication with the network card bridging of the software real machine where the simulator is located, and the extensibility of virtual and real networking is greatly hindered.
2. Usually, the number of CPU cores and the memory of a real PC are not too high, the flexibility in use is not high, and when only one PC is used as a virtual-real relay, an ideal load cannot be completed when more than one simulated router system is used in resource utilization.
3. The method has the problems of resource utilization limitation and network topology extensibility.
4. In the case where the number of virtual devices increases, resources of an ordinary PC are difficult to implement.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a virtual-real mixed network system supporting the virtual construction of a real route, wherein a real network in the system at least comprises a first switch, a second switch, a virtual physical machine and a first PC (personal computer), and the second switch is a gateway; by utilizing a simulator, such as GNS3, on a virtualization platform, adopting a virtual machine technology, installing an operating system on the virtual machine, installing simulator software through the virtual machine operating system, generating a virtual network card, bridging a physical network card and a simulator network card by adopting the virtual network card technology of the virtual machine, and reasonably tuning the CPU and the memory of the virtual machine. The invention realizes the networking of the whole physical network and the routing/switching system on the simulator software in the virtual machine.
The invention provides a virtual-real mixed network system supporting virtual construction of a real route, wherein a real network at least comprises a first switch, a second switch and a first PC (personal computer), and the virtual-real mixed network system is characterized by comprising the following components:
the real network further comprises a virtualized physical machine;
the second switch is a gateway;
the second switch comprises a plurality of VLANs respectively;
at least one port of the second switch is set to an ACCESS mode, and at least one port of the second switch is set to a TRUNK mode;
a first physical network card of the virtualized physical machine is connected with an ACCESS Port1 in the second switch;
the second physical network card of the virtualized physical machine is connected to a TRUNK Port2 of the second switch,
a virtualization platform system is installed on the virtualization physical machine;
the virtualization platform and the second switch communicate through TRUNK;
the virtualization platform comprises at least one virtual machine, wherein the virtual machine comprises a first virtual machine vm1, and a windows operating system is installed on the virtual machine;
the first virtual machine vm1 on the virtualization platform comprises a plurality of virtual network cards, which comprise a virtual network card VMnet 8;
a simulator and a real router system are installed on the virtualization platform;
the simulator comprises at least one topological graph, wherein the topological graph comprises a first virtual machine vm1 on a virtualization platform, a router on the simulator and at least one virtual PC machine vPC1 on the simulator;
the virtual PC machine vPC1 on the simulator in the topological diagram has an interface named as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform;
a virtual network card VMnet8 of the first virtual machine vm1 is connected with an F0/0 interface of a router on the simulator;
a routing gateway of a router on the simulator points to a virtual network card VMnet8 of the first virtual machine vm 1;
the port at which the router on the emulator connects to the first virtual machine vm1 on the virtualization platform has the same IP address as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform.
Preferably, the first virtual machine vm1 has a windows route forwarding function.
Preferably, the virtual-real hybrid network system supporting the virtualization of the real route further comprises a first switch;
the first switch is used for forwarding the second-layer VLAN and is not set as a gateway; the first exchanger is at least a two-layer exchanger;
the first switch comprises a plurality of VLANs, the VLAN on the second switch comprises a VLAN on the first switch;
at least one port of the first switch is set to be in an ACCESS mode, and at least one port of the first switch is set to be in a TRUNK mode;
one port of the first switch set to TRUNK mode is connected to one port of the second switch set to TRUNK mode.
Preferably, a TRUNK Port2 of the second switch connected to a second physical network card of the virtualized physical machine is connected to a Port of the first switch set to TRUNK mode;
the ACCESS port1 in the second switch that is connected to the first physical network card of the virtualized physical machine is not connected to the first switch.
Preferably, the IP address of the VLAN interface on the second switch, which has the same VLAN number as the VLAN on the first switch, is configured as a gateway of the VLAN created by the first switch;
and the gateway of the first physical network card of the virtual physical machine is the address of any VLAN with the number different from that of the VLAN on the first switch in the second switch.
Preferably, the first port G10 of the first switch is in ACCESS mode for all VLANs on the first switch;
the second port G11 of the first switch is TRUNK mode and passes all VLANs.
The third port G20 and the fourth port G11 of the second switch are in TRUNK mode and pass all VLANs;
a fifth port G10 of the second switch is an ACCESS mode of a VLAN with a different number on the second switch and the first switch;
the second port G11 set to TRUNK of the first switch is connected with the third port G20 set to TRUNK of the second switch;
a fifth port G10 of the second switch is connected with a first network card of the first PC;
the first physical network card of the virtualized physical machine is connected with a fifth port G10 of the second switch;
and connecting the second physical network card of the virtual physical machine with the fourth port G11 of the second switch.
Preferably, the virtualization platform communicates with the second switch through TRUNK, and is implemented by configuring an internet access of the virtualization platform and adding a VLAN tag.
Preferably, the real network further includes a plurality of third switches and a plurality of second PCs, the third switches and the second switches are connected through TRUNK ports, and the third switches have the same function as the first switches;
the second PC machine and the first PC machine have the same function, and any second PC machine is connected with any third switch.
Preferably, the third switch includes a plurality of VLANs, at least one port is configured to be in ACCESS mode of the VLAN created on the third switch, and the IP addresses of the first PC and the second PC are configured to be the same IP address as the VLAN created by the first switch and the third switch connected thereto, respectively.
Preferably, the simulator is a GNS3 simulator, and the virtualization workstation software is vmware work software.
The invention also provides a method for realizing virtual-real networking based on the virtual-real routing system, wherein the real network at least comprises a first switch, a second switch and a first PC, and the method comprises the following steps:
the real network further comprises a virtualized physical machine; the first switch and the second switch are at least two layers of switches;
the first switch is used for forwarding the second-layer VLAN and is not set as a gateway;
the second switch acts as a gateway;
the networking method comprises the following steps:
creating a VLAN on the switch, comprising:
respectively creating a plurality of VLANs on the first switch and a second switch, wherein the VLANs on the second switch comprise the VLAN on the first switch;
the switch connecting and configuring step comprises the following steps:
setting at least one port of the first switch to an ACCESS mode, and setting at least one port to a TRUNK mode;
setting at least one port of the second switch to an ACCESS mode, and setting at least one port to a TRUNK mode;
connecting the port of the first switch set to TRUNK mode with the port of the second switch set to TRUNK mode;
connecting a first physical network card of the virtual physical machine with one ACCESS port which is not connected with the first switch in the second switch;
connecting a second physical network card of the virtual physical machine with a TRUNK port of the second switch, wherein the TRUNK port of the second switch is a TRUNK port connected with the first switch;
the installation and configuration steps of the virtualization platform comprise:
installing a virtualization platform system on the virtualized physical machine;
configuring a network port of a virtualization platform and adding a VLAN (virtual local area network) tag, so that the virtualization platform and the second switch communicate through TRUNK;
the step of building a real route in a virtualization mode comprises the following steps:
creating at least one virtual machine vm1 on a virtualization platform, installing a windows operating system on the virtual machine vm1, and configuring a windows routing forwarding function of the virtual machine vm 1;
installing virtualization workstation software on a virtual machine established on a virtualization platform to generate a plurality of virtual network cards;
installing a simulator on the virtualization platform, and loading a real router system;
building a topological graph in a simulator, wherein the topological graph comprises at least one created virtual machine vm1, at least one router1 on the simulator and at least one virtual machine virtual PC1 on the simulator;
adding an interface to a virtual machine on a simulator as a virtual network card generated by the virtual machine established on the virtualization platform, wherein the virtual network cards generated by the virtual machine added to the virtual machine on the simulator are different;
connecting one port of any router in the simulator topological graph with a virtual network card generated by any virtual machine established on a virtualization platform;
and configuring the IP address of the port of the router on the simulator connected with the virtual machine established on the virtualization platform, wherein the IP address and the IP address of the virtual network card of the virtual machine established on the virtualization platform are the same IP address.
Preferably, the switch connecting and configuring step specifically includes the steps of:
dividing at least one port first port G10 of the first switch into an ACCESS mode of a VLAN created by the first switch;
dividing at least one port second port G11 of the first switch into a TRUNK mode and releasing all VLANs;
configuring the IP address of the VLAN interface on the second switch, which has the same VLAN number as the VLAN created by the first switch, as a gateway of the VLAN created by the first switch;
dividing at least two ports of the second switch, a third port G20 and a fourth port G11, into a TRUNK mode and releasing all VLANs;
dividing at least one port of a fifth port G10 of a second switch into an ACCESS mode of a VLAN which is created by the second switch and a VLAN which is created by the first switch and has different numbers;
connecting the at least one second port G11 of the first switch set to TRUNK with the at least one third port G20 of the second switch set to TRUNK.
Preferably, after connecting TRUNK ports of the first switch and the second switch in the switch connecting and configuring step, the method further includes the following steps:
dividing the second switch into at least one port G10 of an ACCESS mode of a VLAN (virtual local area network) created by the second switch and a VLAN with different numbers in the VLAN created by the first switch, and connecting the port G10 with a first network card of the first PC;
dividing the first physical network card of the virtualized physical machine and the second switch into at least one port G10 in ACCESS mode of VLAN with different numbers in the VLAN established by the second switch and the VLAN established by the first switch to be connected;
configuring a gateway of a first physical network card of the virtualized physical machine as an address of any VLAN (virtual local area network) with a VLAN number different from that of the first VLAN set in the second switch;
and dividing a second physical network card of the virtualized physical machine and the second switch into a TRUNK mode and allowing at least one port of all VLANs to be connected with a fourth port G11.
Preferably, the step of virtually constructing the real route specifically includes the following steps:
creating at least one virtual machine on a virtualization platform, wherein the virtual machine comprises a first virtual machine vm1, installing a windows operating system on the created virtual machine, and configuring a windows routing and forwarding function of the created virtual machine;
installing virtualization workstation software on the created virtual machine, and generating a plurality of virtual network cards on the created virtual machine;
installing a simulator on the virtualization platform, and loading a real router system;
and building a topological graph in the simulator, wherein the topological graph at least comprises at least one router on the simulator, at least one virtual machine first virtual machine vm1 created on the virtualization platform and at least one virtual machine virtual PC on the simulator, and the router on the simulator is connected with any virtual network card of the virtual machine created on the virtualization platform.
Preferably, after the topology is built in the simulator in the step of virtually building the real route, the method further comprises the following steps:
bridging any virtual machine on the simulator in the topological graph to any virtual network card VMnet8 of any virtual machine created by the virtualization platform;
connecting the virtual network card VMnet8 with an F0/0 interface of any router on the simulator;
and configuring the route of the router on the simulator to enable the route gateway of the router on the simulator to point to the VMnet8 of the virtual network card.
Preferably, the step of creating a VLAN on the switch specifically includes the steps of:
creating a plurality of VLANs on the first switch, the plurality of VLANs created by the first switch forming a first set of VLANs;
creating a plurality of VLANs on the second switch, the plurality of VLANs created by the second switch forming a second set of VLANs;
the second set of VLANs includes the first set of VLANs.
Preferably, the real network further includes a plurality of third switches and a plurality of second PCs, the third switches and the second switches are connected through TRUNK ports, and any one of the second PCs is connected to any one of the third switches.
Preferably, a plurality of VLANs are created on the third switch, at least one port is configured to be in ACCESS mode of the VLAN created on the third switch, and the IP addresses of the first PC and the second PC are configured to be the same segment of IP addresses as the VLAN created by the first switch and the third switch connected thereto, respectively.
Preferably, the simulator is a GNS3 simulator, and the virtualization workstation software is vmware work software.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention can complete the formation of the virtual network on the simulator by only needing to create one virtual machine by utilizing the performance of the virtual platform and the physical server.
2. The invention can reasonably distribute the CPU and memory ratio of the virtual router in the simulator, can build complex virtual-real combined network topology, and is not limited by the PC.
3. The virtual-real networking topology is derived by providing a virtual network card (the virtual network card is an external physical network card for the simulator) as a bridge for the communication between the simulator and an external network.
4. The routing system realized by the virtual-real networking has no difference with the real system instruction, and has great significance for virtual-real networking in the network boundary.
Drawings
Fig. 1 is a schematic diagram of a network system architecture of virtual-real networking according to an embodiment of the present invention;
FIG. 2 is a network topology diagram of a virtual network portion created in a simulator of one embodiment of the invention;
fig. 3 is a network topology diagram of a virtual network portion created in the GNS3 simulator in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram of a data communication flow in a virtual-real network implemented by an embodiment of the present invention;
FIG. 5 is a diagram of the IP address configuration of a real PC in a verification topology according to one embodiment of the invention;
FIG. 6 is a ping verification diagram of a real PC communicating with a route on a simulator in accordance with one embodiment of the present invention;
FIG. 7 is a telnet verification diagram of the real PC communicating with the router on the simulator according to one embodiment of the invention;
FIG. 8 is a diagram of ping verification on a simulator of one embodiment of the present invention for routing communications with a real PC;
fig. 9 is a flowchart of a method for implementing virtual-real networking by building a real routing system based on virtualization according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention is provided in conjunction with the accompanying drawings of fig. 1-9.
The invention combines the real iso of various versions on the simulator with the physical network to perform networking by utilizing the virtualization flexibility and easily allocates the resources of the virtual routing equipment.
The invention provides a virtual-real mixed network system supporting virtual construction of a real route, wherein a real network at least comprises a first switch, a second switch and a first PC (personal computer), and the virtual-real mixed network system is characterized by comprising the following components:
the real network further comprises a virtualized physical machine;
the second switch is a gateway;
the second switch comprises a plurality of VLANs respectively;
at least one port of the second switch is set to an ACCESS mode, and at least one port of the second switch is set to a TRUNK mode;
a first physical network card of the virtualized physical machine is connected with an ACCESS Port1 in the second switch;
a second physical network card of the virtualized physical machine is connected with a TRUNK Port2 of the second switch, and a virtualized platform system is installed on the virtualized physical machine;
the virtualization platform and the second switch communicate through TRUNK;
the virtualization platform comprises at least one virtual machine, wherein the virtual machine comprises a first virtual machine vm1, and a windows operating system is installed on the virtual machine;
the first virtual machine vm1 on the virtualization platform comprises a plurality of virtual network cards, which comprise a virtual network card VMnet 8;
a simulator and a real router system are installed on the virtualization platform;
the simulator comprises at least one topological graph, wherein the topological graph comprises a first virtual machine vm1 on a virtualization platform, a router on the simulator and at least one virtual PC machine vPC1 on the simulator;
the virtual PC machine vPC1 on the simulator in the topological diagram has an interface named as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform;
a virtual network card VMnet8 of the first virtual machine vm1 is connected with an F0/0 interface of a router on the simulator;
a routing gateway of a router on the simulator points to a virtual network card VMnet8 of the first virtual machine vm 1;
the port at which the router on the emulator connects to the first virtual machine vm1 on the virtualization platform has the same IP address as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform.
In a preferred embodiment, the first virtual machine vm1 has a windows routing and forwarding function.
As a preferred embodiment, the virtual-real hybrid network system supporting the virtualization of the real route further includes a first switch;
the first switch is used for forwarding the second-layer VLAN and is not set as a gateway; the first exchanger is at least a two-layer exchanger;
the first switch comprises a plurality of VLANs, the VLAN on the second switch comprises a VLAN on the first switch;
at least one port of the first switch is set to be in an ACCESS mode, and at least one port of the first switch is set to be in a TRUNK mode;
one port of the first switch set to TRUNK mode is connected to one port of the second switch set to TRUNK mode.
As a preferred embodiment, the TRUNK Port2 of the second switch connected to the second physical network card of the virtualized physical machine is connected to a Port of the first switch set to TRUNK mode;
the ACCESS port1 in the second switch that is connected to the first physical network card of the virtualized physical machine is not connected to the first switch.
As a preferred embodiment, the IP address of the VLAN interface on the second switch, which has the same VLAN number as the VLAN on the first switch, is configured as a gateway of the VLAN created by the first switch;
and the gateway of the first physical network card of the virtual physical machine is the address of any VLAN with the number different from that of the VLAN on the first switch in the second switch.
In a preferred embodiment, the first port G10 of the first switch is in ACCESS mode for all VLANs on the first switch;
the second port G11 of the first switch is TRUNK mode and passes all VLANs.
The third port G20 and the fourth port G11 of the second switch are in TRUNK mode and pass all VLANs;
a fifth port G10 of the second switch is an ACCESS mode of a VLAN with a different number on the second switch and the first switch;
the second port G11 set to TRUNK of the first switch is connected with the third port G20 set to TRUNK of the second switch;
a fifth port G10 of the second switch is connected with a first network card of the first PC;
the first physical network card of the virtualized physical machine is connected with a fifth port G10 of the second switch;
and connecting the second physical network card of the virtual physical machine with the fourth port G11 of the second switch.
In a preferred embodiment, the virtualization platform and the second switch communicate through TRUNK, and the virtualization platform and the second switch are implemented by configuring a portal of the virtualization platform and adding a VLAN tag.
As a preferred embodiment, the real network further includes a plurality of third switches and a plurality of second PCs, the third switches and the second switches are connected through TRUNK ports, and the third switches have the same functions as the first switches;
the second PC machine and the first PC machine have the same function, and any second PC machine is connected with any third switch.
As a preferred embodiment, the third switch includes a plurality of VLANs, at least one port is configured as ACCESS mode of the VLAN created on the third switch, and the IP addresses of the first PC and the second PC are configured as the same segment of IP addresses as the VLAN created by the first switch and the third switch connected thereto, respectively.
In a preferred embodiment, the simulator is a GNS3 simulator, and the virtualization workstation software is vmware work software.
The invention provides a method for realizing virtual-real networking based on a virtual-real routing system, wherein a real network at least comprises a first switch, a second switch and a first PC (personal computer), and the method comprises the following steps:
the real network further comprises a virtualized physical machine; the first switch and the second switch are at least two layers of switches;
the first switch is used for forwarding the second-layer VLAN and is not set as a gateway;
the second switch acts as a gateway; the first PC is a real computer and a physical machine; the invention can finally realize that the first PC communicates with networking equipment (such as a virtual machine on a simulator and a router on the simulator) on simulator software on a virtual machine on a virtualization platform;
the networking method comprises the following steps:
creating a VLAN on the switch, comprising:
respectively creating a plurality of VLANs on the first switch and a second switch, wherein the VLANs on the second switch comprise the VLAN on the first switch;
the switch connecting and configuring step comprises the following steps:
setting at least one port of the first switch to an ACCESS mode, and setting at least one port to a TRUNK mode;
setting at least one port of the second switch to an ACCESS mode, and setting at least one port to a TRUNK mode;
connecting the port of the first switch set to TRUNK mode with the port of the second switch set to TRUNK mode;
connecting a first physical network card of the virtual physical machine with one ACCESS port which is not connected with the first switch in the second switch;
connecting a second physical network card of the virtual physical machine with a TRUNK port of the second switch, wherein the TRUNK port of the second switch is a TRUNK port connected with the first switch;
the installation and configuration steps of the virtualization platform comprise:
installing a virtualization platform system on the virtualized physical machine;
configuring a network port of a virtualization platform and adding a VLAN (virtual local area network) tag, so that the virtualization platform and the second switch communicate through TRUNK;
the step of building a real route in a virtualization mode comprises the following steps:
creating at least one virtual machine vm1 on a virtualization platform, installing a windows operating system on the virtual machine vm1, and configuring a windows routing forwarding function of the virtual machine vm 1;
installing virtualization workstation software on a virtual machine established on a virtualization platform to generate a plurality of virtual network cards;
installing a simulator on the virtualization platform, and loading a real router system;
building a topological graph in a simulator, wherein the topological graph comprises at least one created virtual machine vm1, at least one router1 on the simulator and at least one virtual machine virtual PC1 on the simulator;
adding an interface to a virtual machine on a simulator as a virtual network card generated by the virtual machine established on the virtualization platform, wherein the virtual network cards generated by the virtual machine added to the virtual machine on the simulator are different;
connecting one port of any router in the simulator topological graph with a virtual network card generated by any virtual machine established on a virtualization platform;
and configuring the IP address of the port of the router on the simulator connected with the virtual machine established on the virtualization platform, wherein the IP address and the IP address of the virtual network card of the virtual machine established on the virtualization platform are the same IP address.
As a preferred embodiment, the switch connecting and configuring step specifically includes the following steps:
dividing at least one port first port G10 of the first switch into an ACCESS mode of a VLAN created by the first switch;
dividing at least one port second port G11 of the first switch into a TRUNK mode and releasing all VLANs;
configuring the IP address of the VLAN interface on the second switch, which has the same VLAN number as the VLAN created by the first switch, as a gateway of the VLAN created by the first switch;
dividing at least two ports of the second switch, a third port G20 and a fourth port G11, into a TRUNK mode and releasing all VLANs;
dividing at least one port of a fifth port G10 of a second switch into an ACCESS mode of a VLAN which is created by the second switch and a VLAN which is created by the first switch and has different numbers;
connecting the at least one second port G11 of the first switch set to TRUNK with the at least one third port G20 of the second switch set to TRUNK.
As a preferred embodiment, after connecting TRUNK ports of the first switch and the second switch in the switch connecting and configuring step, the method further includes the following steps:
dividing the second switch into at least one port G10 of an ACCESS mode of a VLAN (virtual local area network) created by the second switch and a VLAN with different numbers in the VLAN created by the first switch, and connecting the port G10 with a first network card of the first PC;
dividing the first physical network card of the virtualized physical machine and the second switch into at least one port G10 in ACCESS mode of VLAN with different numbers in the VLAN established by the second switch and the VLAN established by the first switch to be connected;
configuring a gateway of a first physical network card of the virtualized physical machine as an address of any VLAN (virtual local area network) with a VLAN number different from that of the first VLAN set in the second switch;
and dividing a second physical network card of the virtualized physical machine and the second switch into a TRUNK mode and allowing at least one port of all VLANs to be connected with a fourth port G11.
As a preferred embodiment, the step of building a real route in a virtualization manner specifically includes the following steps:
creating at least one virtual machine on a virtualization platform, wherein the virtual machine comprises a first virtual machine vm1, installing a windows operating system on the created virtual machine, and configuring a windows routing and forwarding function of the created virtual machine;
installing virtualization workstation software on the created virtual machine, and generating a plurality of virtual network cards on the created virtual machine;
the virtual network card is generated by installing virtualized software, or by adding a device into a device manager of the windows system to generate a tap virtual network card. The virtual network card (such as openvpn of an open source) can also be installed through other software forms of a third party.
Installing a simulator on the virtualization platform, and loading a real router system;
and building a topological graph in the simulator, wherein the topological graph at least comprises at least one router on the simulator, at least one virtual machine first virtual machine vm1 created on the virtualization platform and at least one virtual machine virtual PC on the simulator, and the router on the simulator is connected with any virtual network card of the virtual machine created on the virtualization platform.
Considering how many gateways of the same terminal as the first PC will be born by the virtual router, the number of devices connected to the virtual router in the downstream (i.e. how many virtual PC gateways point to the virtual router) can be adjusted when the number of devices connected in the downstream is small. For example, when the number of terminals is less than 10, usually, the CPU and the memory of the virtual router on the simulator are respectively set to 1 core and 1G, and the router system is configured through simulator software to complete the setting or change at any time, so that the CPU and the memory of the router in the simulator are reasonably allocated, a complex virtual-real combined network topology can be established, and the limitation of a PC is avoided.
As a preferred embodiment, after the topology is built in the simulator in the step of building the real routing by virtualization, the method further comprises the following steps:
bridging any virtual machine on the simulator in the topological graph to any virtual network card VMnet8 of any virtual machine created by the virtualization platform;
connecting the virtual network card VMnet8 with an F0/0 interface of any router on the simulator;
and configuring the route of the router on the simulator to enable the route gateway of the router on the simulator to point to the VMnet8 of the virtual network card.
As a preferred embodiment, the step of creating a VLAN on a switch specifically includes the following steps:
creating a plurality of VLANs on the first switch, the plurality of VLANs created by the first switch forming a first set of VLANs;
creating a plurality of VLANs on the second switch, the plurality of VLANs created by the second switch forming a second set of VLANs;
the second set of VLANs includes the first set of VLANs.
As a preferred embodiment, the real network further includes a plurality of third switches and a plurality of second PCs, the third switches and the second switches are connected through TRUNK ports, and any one of the second PCs is connected to any one of the third switches. The third switch is used for expanding the first switch to realize the same function as the first switch, and the second PC is used for expanding the first PC to realize the same function as the first PC.
As a preferred embodiment, a plurality of VLANs are created on the third switch, at least one port is configured to be in ACCESS mode of the VLAN created on the third switch, and the IP addresses of the first PC and the second PC are configured to be the same segment of IP addresses as the VLAN created by the first switch and the third switch connected thereto, respectively.
In a preferred embodiment, the simulator is a GNS3 simulator, and the virtualization workstation software is vmware work software.
As a preferred embodiment, the method further comprises configuring a router in the simulator to open a telnet remote access service.
According to a specific embodiment of the present invention, as shown in fig. 1, which is a schematic diagram of a network system architecture of a virtual-real network, a virtualization platform is installed on a virtualization physical machine, the virtualization physical machine may be a virtualization server in general, vm1 is a virtual machine created by the virtualization platform, and a virtual router is a virtual router in a simulator.
The creation of VLANs and switch configuration in the present invention will be described in detail below, according to an embodiment of the present invention.
In the present embodiment, the real network includes a first switch SW1, a second switch SW2, and a third switch SW3, a first PC1 and a second PC2, virtualized physical machines. The three VLANs established on the second switch SW2 are respectively VLAN-100, VLAN-101 and VLAN-103, the IP address of VLAN-100 is 192.168.132.1, the IP address of VLAN-101 is 192.168.133.1 and the IP address of VLAN-103 is 192.168.134.1; the VLANs are configured to communicate with each other.
1. Configuration of the first switch SW1 is performed: creating a VLAN with VLAN number 100, which does not need to configure an IP address, because the VLAN's gateway is on the second switch SW 2; the port G10 of the first switch SW1 is divided into ACCESS mode for VLAN100, the port G11 of the first switch SW1 is divided into TRUNK mode, and all VLANs are released.
2. The configuration of the third switch SW3 is performed: creating a VLAN with the VLAN number being 101, and no IP address needs to be configured, because the gateway of the VLAN is on the second switch SW 2; the port G10 of the third switch is divided into ACCESS mode for VLAN101, the port G11 of the third switch is divided into TRUNK mode and all VLANs are released.
3. The configuration of the second switch SW2 is performed: three VLANs are created, VLAN100, VLAN101 and VLAN103 respectively. Configuring the IP address of each VLAN interface as a gateway, that is, the IP address of VLAN100 is configured as 192.168.132.1; the IP address of VLAN101 is configured as 192.168.133.1; the IP address of VLAN103 is configured as 192.168.134.1. The ports G20, G21 and G11 of the second switch are divided into TRUNK mode and pass through all VLANs; port G10 of the second switch is divided into ACCESS mode for VLAN 103.
The physical wire connections of the present invention are described below using the above-described IP address and port configurations, according to one embodiment of the present invention.
The virtualization platform in this embodiment employs an ESXI virtualization platform.
Connecting the G11 port of the first switch SW1 and the G20 port of the second switch SW2 with physical lines;
connecting a G10 port of the first switch SW1 with a network card of the first PC1 by using a physical line;
connecting a first network card of the virtual physical machine with a G10 port of a second switch SW2 by using a physical line;
configuring the IP address of the first network card of the virtual physical machine as follows: 192.168.134.99, the gateway is the VLAN103 address of the second switch SW 2: 192.168.134.1, the network port is used as a management port for configuring and managing the ESXI virtualization platform;
and connecting the second network card of the virtual physical machine with the G11 port of the second switch by using a physical wire.
According to a specific embodiment of the present invention, a virtualized physical machine platform is logged in through a management port, a second network card of the virtualized physical machine is configured, a network tag is added, a vSwitch2 is edited to add a tag with VLAN-id 103, and the VLAN id103 is a VLAN number corresponding to the second switch SW2, so that data can be transmitted through trunk.
According to a specific embodiment of the invention, a virtual machine vm1 is created on a virtualization platform, a windows2008R system is installed, and VMware work software is installed on the virtual machine vm1, so that 2 virtual Network cards are generated at this time, namely VMware Network Adapter VMnet1 and VMware Network Adapter VMnet 8. The VMware Network Adapter VMnet8 is used as a springboard of a simulator and an external Network, the IP address of the VMware Network Adapter VMnet8 is configured to be 192.168.187.1, and the subnet mask is configured to be 255.255.255.0.
According to a specific embodiment of the invention, a simulator GNS3 is installed on a virtual machine vm1 created by a virtualization platform, a real router system is loaded, a topological graph is built, a virtual PC in the topological graph of the simulator is bridged with a virtual Network card VMware Network Adapter VMnet8, and then the virtual Network card VMware Network Adapter VMnet8 is connected with an F0/0 interface of a router c7200-route on the simulator.
The routing icon and the virtual PC of the ISO model can be dragged on the icon by configuring the GNS3 to import the ISO file of the routing system, the topology is built, and then the virtual PC can be configured to bridge the idle network card (not in use) of the virtual machine vm1 (host); thus, the network card corresponding to the host is connected with the F0/0 port of the simulator.
In the implementation, a plurality of routers can be pulled arbitrarily according to needs, and since the router operation system ISO on the GNS3 supports the configuration of an additional routing board block or a switch board block as a switch, the configuration of a switch board as a switch, and the shutdown of the routing function (no routing), the router becomes a "computer". After the ISO system file is imported to GNS3, the router can act as a router, a switch, or a computer.
According to a specific embodiment of the invention, a router on a simulator is configured, the IP address of an F0/0 port of the router on the simulator is set to be 192.168.187.100/24, a gateway is set to be 192.168.187.1, and the router points to a virtual Network card VMware Network Adapter VMnet8 of a virtual machine vm 1; the router on the simulator can also be configured to start telnet remote access service, so that the PC1 and the PC2 serve as external network environments, and the connectivity of virtual and real networks can be tested through telnet subsequently.
According to a specific embodiment of the invention, a windows route is configured, and the virtual machine vm1 is configured into a windows system with a routing function. Only if the vm1 (host) has a routing function, the virtual machine vm1 (host) can forward data between the simulator and an external network, open a configuration manager and complete installation of roles 'network policy and access service'; then, static routing is configured, a routing Network segment on the simulator is announced, that is, a second switch sw2 in an external Network environment (for the simulator, the external Network) is informed that the routing Network segment on the simulator can be addressed through a virtual machine vm1, the announced Network segment is 192.168.187.0/24, and a gateway is an IP address of a VMware Network Adapter VMnet8 Network card of the virtual machine vm 1.
The virtualized physical host is usually a server and is a host of the virtualized platform; the virtual machine is a virtual machine established on a virtualization platform and is equivalent to a computer after an operating system is installed; a virtual PC refers to a computer on a simulator on a virtual machine. (Here via two-tier virtualization, virtual machine on virtualization platform, simulator on virtual machine, virtual PC on simulator)
According to a specific embodiment of the present invention, referring to fig. 4, a forwarding flow of virtual-real network networking communication is described in detail below, and the process is as follows:
1. the physical network PC1 initiates telnet network access services or other access to the virtual router in the virtual network, first handing the packet over to the default route, i.e. the second switch SW2, via the directly connected first switch SW 1.
2. The next hop of the route to the router segment on the second switch SW2 is set to vm1 (the host of the emulator) on the virtualization platform, and the packet arrives at vm 1.
3. The virtual network card vmnet8 of the virtual machine vm1 is a gateway of the router, contains a routing entry of the router, and finally delivers the data packet to the router.
4. At this time, the router needs to perform packet return, the router hands the IP packet with the destination address of PC1 to the default route, i.e., virtual machine vm1 (host of the simulator), and the virtual PC only serves as a bridge connecting PC1 and the host of the simulator in the process, i.e., becomes a network card channel of the virtual route. In practical applications, multiple virtual PCs may be added to communicate with PCs in a physical environment.
5. The vm1 (host of the simulator) forwards the packet to the second switch SW2 because the route forwarding function is turned on.
6. The second switch SW2 then returns the packet to the PC1, at which point a full TCP transaction, network traffic, is completed.
To this end, the physical network has access to the routes within the virtual network and has real instructions. The same is true for the PC2 and router communication. Thus, the physical network and the virtual network establish a networking 'channel', and the networks on both sides can intercommunicate according to the policy configuration.
According to a specific embodiment of the present invention, the following is the presentation of the key content for implementing the configuration using the instructions of the loaded Ciso real routing system.
The key to the implementation configuration is as follows:
1. configuration of
The physical switch SW1 is configured as follows (this instruction uses cisco):
a:
#conf t
(conf t)vlan 100
exit
b:
(config)#interface gigabitEthernet 1/0/10
(config-if)#switchport mode access
(config-if)#switchport access vlan 100
exit
(config)#interface gigabitEthernet 1/0/11
(config-if)#switchport trunk encapsulation dot1q
(config-if)#switchport mode trunk
(config-if)#switchport trunk allowed vlan all
end
the ab instruction mentioned above means that the switch global configuration mode is entered, VLAN132 is created, the port G10 is configured to ACCESS mode and is divided into VLAN100, the port G11 is configured to TRUNK mode and all VLANs are released.
Secondly, the physical switch SW3 is configured as follows:
a:
#conf t
(conf t)vlan 101
exit
b:
(config)#interface gigabitEthernet 1/0/10
(config-if)#switchport mode access
(config-if)#switchport access vlan 101
exit
(config)#interface gigabitEthernet 1/0/11
(config-if)#switchport trunk encapsulation dot1q
(config-if)#switchport mode trunk
(config-if)#switchport trunk allowed vlan all
end
the ab instruction means that the switch global configuration mode is entered, the VLAN101 is created, the port G10 is configured to be ACCESS mode and is divided into the VLAN101, the port G11 is configured to be TRUNK mode, and all VLANs are released.
Physical switch SW2 is configured as follows:
a:
#conf t
(conf t)vlan 100
exit
(conf t)vlan 101
exit
(conf t)vlan 103
exit
b:
(config) # interface gigabit Ethernet 1/0/G11(G20 and G21 are the same as in this configuration)
(config-if)#switchport trunk encapsulation dot1q
(config-if)#switchport mode trunk
(config-if)#switchport trunk allowed vlan all
Exit
(conf t) int vlan100 (vlan101 and vlan103 are equivalent)
(config-if)ip address 192.168.132.1255.255.255.0
end
c:
(config)#interface gigabitEthernet 1/0/10
(config-if)#switchport mode access
(config-if)#switchport access vlan 103
end
The abc command means that the global switch configuration mode is entered, the VLAN100, the VLAN101 and the VLAN103 are created and configured with the interface IP, the port G10 is configured to ACCESS mode and is divided into the VLAN103, the port G11, the port G20 and the port G21 are configured to TRUNK mode, and all the VLANs are released.
Fourthly, the route C7200-route on the simulator is configured as follows:
#conf t
R1(config-if)interface FastEthernet0/0
R1(config-if)ip address 192.168.187.100255.255.255.0
exit
R1(config)ip route 0.0.0.00.0.0.0192.168.187.1
exit
R1(config)line vty 04
R1(config)password 123456
R1(config)login
the instruction means that a global switch configuration mode is entered, an F0/0 port is configured with IP and a default route is configured.
According to a specific embodiment of the present invention, referring to fig. 5-7, the virtual-real networking experimental proving stage:
1. the IP address, i.e. the network segment address of the vlan100, here configured as 192.168.132.68, is configured using a physical machine (PC1/PC2 for the same reason), then this terminal can use the open CMD input command ping/telnet emulator for routing (everything else).
2. Similarly, the routing on the simulator can also access the machines to the physical environment.
Through verification, the virtual-real networking method disclosed by the invention has the advantages that a communicable virtual-real network is constructed, the physical machine can access the router in the virtual machine environment, and the instruction of the router is completely the same as that of the Cisco real machine.
The networking implementation case of the invention has actually built practice in an enterprise intranet through a physical server, a switch, a GNS3 simulator and a router ISO file, so that the number of routes/exchanges deployed in a virtual environment can be far more than 1, and the networking implementation case is significant in the conditions of topology extension of a virtual network, network experiment by replacing a real router, drilling before configuration or no purchase of a related real machine.
The invention combines the open source simulator with the ISO file of the real routing system to realize virtual and real networking, derives the Cisco router switch (or other switches) which has the same command as the real seen Cisco router switch, can easily replace the ISO file to reach the model of the router switch (such as C3750C 7200 and the like), can debug the command of the real equipment, and can ensure that the PC (computer terminal) in the local area network can access to obtain the virtual routing configuration command. Therefore, the invention not only embodies the virtual networking of the real routing system, but also realizes the real routing and the debugging equipment of the exchange command of the virtual routing of the physical environment accessing the virtual environment, and can realize the networking.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A virtual-real hybrid network system supporting a virtual-real routing, the real network including at least a first switch, a second switch, and a first PC, the system comprising:
the real network further comprises a virtualized physical machine;
the second switch is a gateway;
the second switch comprises a plurality of VLANs respectively;
at least one port of the second switch is set to an ACCESS mode, and at least one port of the second switch is set to a TRUNK mode;
a first physical network card of the virtualized physical machine is connected with an ACCESS Port1 in the second switch;
the second physical network card of the virtual physical machine is connected with a TRUNK Port2 of the second switch;
a virtualization platform system is installed on the virtualization physical machine;
the virtualization platform and the second switch communicate through TRUNK;
the virtualization platform comprises at least one virtual machine, wherein the virtual machine comprises a first virtual machine vm1, and a windows operating system is installed on the virtual machine;
the first virtual machine vm1 on the virtualization platform comprises a plurality of virtual network cards, which comprise a virtual network card VMnet 8;
a simulator and a real router system are installed on the virtualization platform;
the simulator comprises at least one topological graph, wherein the topological graph comprises a first virtual machine vm1 on a virtualization platform, a router on the simulator and at least one virtual PC machine vPC1 on the simulator;
the virtual PC machine vPC1 on the simulator in the topological diagram has an interface named as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform;
a virtual network card VMnet8 of the first virtual machine vm1 is connected with an F0/0 interface of a router on the simulator;
a routing gateway of a router on the simulator points to a virtual network card VMnet8 of the first virtual machine vm 1;
the port at which the router on the emulator connects to the first virtual machine vm1 on the virtualization platform has the same IP address as the virtual network card VMnet8 of the first virtual machine vm1 on the virtualization platform.
2. The virtual-real hybrid network system supporting virtualization of real routing as claimed in claim 1, wherein the first virtual machine vm1 has a windows routing forwarding function.
3. The network system supporting virtualisation of a mix of real routes according to claim 1,
the first switch is used for forwarding the second-layer VLAN and is not set as a gateway; the first exchanger is at least a two-layer exchanger;
the first switch comprises a plurality of VLANs, the VLAN on the second switch comprises a VLAN on the first switch;
at least one port of the first switch is set to be in an ACCESS mode, and at least one port of the first switch is set to be in a TRUNK mode;
one port of the first switch set to TRUNK mode is connected to one port of the second switch set to TRUNK mode.
4. The virtual-real hybrid network system supporting the virtualization of real routing as claimed in claim 3, wherein the TRUNK Port2 of the second switch connected to the second physical network card of the virtualized physical machine is connected to a Port of the first switch set to TRUNK mode;
the ACCESS port1 in the second switch that is connected to the first physical network card of the virtualized physical machine is not connected to the first switch.
5. The network system supporting virtualisation of a mix of real routes according to claim 3,
the IP address of the VLAN interface on the second switch, which has the same VLAN number as the VLAN number on the first switch, is configured as a gateway of the VLAN established by the first switch;
and the gateway of the first physical network card of the virtual physical machine is the address of any VLAN with the number different from that of the VLAN on the first switch in the second switch.
6. The virtual-real hybrid network system supporting virtualization of real routing of claim 3, wherein the first port G10 of the first switch is ACCESS mode for all VLANs on the first switch;
the second port G11 of the first switch is in TRUNK mode and passes through all VLANs;
the third port G20 and the fourth port G11 of the second switch are in TRUNK mode and pass all VLANs;
a fifth port G10 of the second switch is an ACCESS mode of a VLAN with a different number on the second switch and the first switch;
the second port G11 set to TRUNK of the first switch is connected with the third port G20 set to TRUNK of the second switch;
a fifth port G10 of the second switch is connected with a first network card of the first PC;
the first physical network card of the virtualized physical machine is connected with a fifth port G10 of the second switch;
and connecting the second physical network card of the virtual physical machine with the fourth port G11 of the second switch.
7. The network system supporting virtualisation of a mix of real routes according to claim 1,
the virtualization platform and the second switch communicate through TRUNK, and the virtualization platform is realized by configuring an internet access of the virtualization platform and adding a VLAN tag.
8. The virtual-real hybrid network system supporting virtualization of building a real route according to claim 1, wherein the real network further includes a plurality of third switches and a plurality of second PCs, the third switches and the second switches are connected through TRUNK ports, and the third switches have the same function as the first switches;
the second PC machine and the first PC machine have the same function, and any second PC machine is connected with any third switch.
9. The virtual-real hybrid network system supporting virtualization of real routing as claimed in claim 8, wherein the third switch comprises a plurality of VLANs, at least one port is configured as ACCESS mode of the VLAN created on the third switch, and the IP addresses of the first PC and the second PC are configured as the same segment of IP address as the VLAN created by the first switch and the third switch connected thereto, respectively.
10. The virtual-real hybrid network system supporting the virtualization of real routing as claimed in claim 1, wherein the simulator is a GNS3 simulator, and the virtualization workstation software is vmware work station software.
CN202110537659.0A 2021-05-18 2021-05-18 Virtual-real mixed network system supporting virtual construction of real route Active CN113285873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110537659.0A CN113285873B (en) 2021-05-18 2021-05-18 Virtual-real mixed network system supporting virtual construction of real route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110537659.0A CN113285873B (en) 2021-05-18 2021-05-18 Virtual-real mixed network system supporting virtual construction of real route

Publications (2)

Publication Number Publication Date
CN113285873A CN113285873A (en) 2021-08-20
CN113285873B true CN113285873B (en) 2022-03-11

Family

ID=77279531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110537659.0A Active CN113285873B (en) 2021-05-18 2021-05-18 Virtual-real mixed network system supporting virtual construction of real route

Country Status (1)

Country Link
CN (1) CN113285873B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243118A (en) * 2016-12-27 2018-07-03 华为技术有限公司 The method and physical host to E-Packet
CN109120494A (en) * 2018-08-28 2019-01-01 无锡华云数据技术服务有限公司 The method of physical machine is accessed in cloud computing system
CN109450701A (en) * 2018-12-07 2019-03-08 北京金山云网络技术有限公司 A kind of virtual switch switching method, device, host and storage medium
CN109861839A (en) * 2017-11-30 2019-06-07 华为技术有限公司 The unbroken virtual switch upgrade method of business and relevant device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9864623B2 (en) * 2013-11-21 2018-01-09 Centurylink Intellectual Property Llc Physical to virtual network transport function abstraction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243118A (en) * 2016-12-27 2018-07-03 华为技术有限公司 The method and physical host to E-Packet
CN109861839A (en) * 2017-11-30 2019-06-07 华为技术有限公司 The unbroken virtual switch upgrade method of business and relevant device
CN109120494A (en) * 2018-08-28 2019-01-01 无锡华云数据技术服务有限公司 The method of physical machine is accessed in cloud computing system
CN109450701A (en) * 2018-12-07 2019-03-08 北京金山云网络技术有限公司 A kind of virtual switch switching method, device, host and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于VMware vSphere、VLAN和RouterOS的虚拟网络应用;李玉杰;《软件导刊(教育技术)》;20141123(第11期);第76-79页 *

Also Published As

Publication number Publication date
CN113285873A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN113259164B (en) Method for realizing virtual-real networking based on virtual routing system construction
CN113169928B (en) Logical router including a disaggregated network element
Ahrenholz et al. CORE: A real-time network emulator
US9137105B2 (en) Method and system for deploying at least one virtual network on the fly and on demand
CN108123818B (en) Simulation method for flexible and extensible fusion of virtual and actual networks
CN107592216B (en) Virtual-real network fusion simulation method supporting multi-scene experimental isolation
CN114363021A (en) Network shooting range system, virtual network implementation method and device of network shooting range system
US20210204191A1 (en) Inter-slice sharing in 5g core networks
CN110838954A (en) Lightweight large-scale autonomous network protocol function test method
CN112187674B (en) Network structure and networking method supporting IPv4 and IPv6 dual-stack mixing
CN108512737B (en) Data center IP layer interconnection method and SDN controller
CN113285873B (en) Virtual-real mixed network system supporting virtual construction of real route
CN103634290B (en) Network (WSN) emulation system
CN110505095B (en) Method for building large-scale virtual data center by using small number of servers
US20110122879A1 (en) System for seamless connection of real and virtual networks
Ventre et al. Sdn-based ip and layer 2 services with an open networking operating system in the geant service provider network
CN105871676A (en) Network connection method and system of far-end virtual machine in desktop cloud
CN115865601A (en) SDN network communication system of cross-cloud data center
CN112671811B (en) Network access method and equipment
JP5063726B2 (en) Configuration control method for virtual node device
CN115118607A (en) SDN-based automatic virtual network topology construction method
Mostafaei et al. SDNetkit: A testbed for experimenting SDN in multi-domain networks
Kim et al. A Case Study of the Implementation and Verification of VLAN-applied Network Based on a Five-step Scenario
Li et al. Toward scalable routing experiments with real-time network simulation
Jia et al. Mtos: Multi-tenant network over software defined networking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant