CN105323161B - The method and system of realization virtualization router based on windows platform - Google Patents

The method and system of realization virtualization router based on windows platform Download PDF

Info

Publication number
CN105323161B
CN105323161B CN201510906766.0A CN201510906766A CN105323161B CN 105323161 B CN105323161 B CN 105323161B CN 201510906766 A CN201510906766 A CN 201510906766A CN 105323161 B CN105323161 B CN 105323161B
Authority
CN
China
Prior art keywords
router
virtualization
virtual machine
embedded
code
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
CN201510906766.0A
Other languages
Chinese (zh)
Other versions
CN105323161A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Wuhan FiberHome Networks 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 Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN201510906766.0A priority Critical patent/CN105323161B/en
Publication of CN105323161A publication Critical patent/CN105323161A/en
Application granted granted Critical
Publication of CN105323161B publication Critical patent/CN105323161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks

Landscapes

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

Abstract

The invention discloses a kind of, and the realization based on windows platform virtualizes the method and system of router, is related to router virtual technical field.This approach includes the following steps:Windows operating system is installed on the server based on X86-based;Software virtual machine is installed in Windows operating system;Virtual machine is created using software virtual machine, according to conventional routers code architecture, by way of being cut to existing VxWorks operating system, exploitation virtualization embedded OS;Developed virtualization embedded OS is run in the virtual machine of establishment;Router code is run in developed virtualization embedded OS, internal debugging is carried out to the operating condition of router code, determines that router code operation is smooth.The present invention has not only reached the all-transparent processing of bottom layer realization details, has ensured safety;And implementation method is flexible, router efficiency optimization is simple, has good functions expanding.

Description

The method and system of realization virtualization router based on windows platform
Technical field
The present invention relates to router virtual technical fields, are specifically that a kind of realization based on windows platform is empty The method and system of quasi-ization router.
Background technology
It is virtualizing in field of cloud calculation, more popular virtualization technology is NFV (Network Function Virtualization, network function virtualization), the function of the network equipment is exactly moved to the virtual environment of x86 servers Middle realization.Virtualization technology can utilize the resource in generic server to fictionalize multiple host, to improve resource utilization.
Currently, application of the market to virtualization technology, is principally dedicated to how to realize in SDN using existing virtualization resource Application in (Software Defined Network, software defined network), cloud computing, that is, virtualize networking products.For The single network element that virtualization technology is relied on, such as virtual router, virtual switch, still by international large-scale virtual manufacturer (VMware, Vsphere, Xen, KVM etc.) is monopolized.Client uses or when developing the virtualization product of oneself, it is necessary to directly or The virtualization tool for indirectly using these virtualization manufacturers to be provided, using flexible is poor, confined condition is more.
And virtual router is developed, it even more to consider how to realize router code, virtualized environment, bottom hardware environment Best adaptation, virtualize the various problems such as promotion of router overall performance.The realization of traditional virtual router, is generally adopted With third party manufacturer routing component (such as routing protocol software Zebra or Quagga), unified API (Application is carried out Programming Interface, application programming interfaces) call mode.Above-mentioned realization method not only conceals route code Realization details, safety is not easy to ensure, and due to being called using unified API so that flexibility is inadequate, router efficiency optimization Difficulty, and be unfavorable for expanding.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, a kind of reality based on windows platform is provided The method and system for now virtualizing router have not only reached the all-transparent processing of virtualization technology bottom layer realization details, have ensured Safety;And implementation method is flexible, router efficiency optimization is simple, has good functions expanding.
To achieve the above objectives, the present invention provides a kind of method of the realization virtualization router based on windows platform, Include the following steps:
S1:Windows operating system is installed on the server based on X86-based, is transferred to S2;
S2:Software virtual machine is installed in Windows operating system, is transferred to S3;
S3:Virtual machine is created using software virtual machine;According to conventional routers code architecture, by existing embedded behaviour Make the mode that system VxWorks are cut, exploitation virtualization embedded OS;It runs and is opened in the virtual machine of establishment The virtualization embedded OS of hair, is transferred to S4;
S4:Router code is run in developed virtualization embedded OS;To the fortune of router code Market condition carries out internal debugging, determines that router code operation is smooth.
Based on the above technical solution, according to conventional routers code architecture described in S3, by existing insertion The mode that formula operating system VxWorks are cut, exploitation virtualization embedded OS, specifically includes following steps:
S301a:Judge whether the tornado translation and compiling environments for virtualizing router compile with the tornado of conventional routers Environment is consistent, if so, being directly transferred to S301b;Otherwise, by the translation and compiling environment file copy of conventional routers to virtualization router In, and its compiling is made to pass through, it is transferred to S301b;
S301b:According to the functional requirement of upper layer routing protocol stack, to related under tornado catalogues in VxWorks system The ln97xEnd.c files and ln97xEnd.h files of Microsoft Loopback Adapter driving are modified, and modified Microsoft Loopback Adapter driving branch is made The application for holding upper layer routing protocol stack, is transferred to S301c;
S301c:ICP/IP protocol stack code copies under tornado catalogues in VxWorks system to Windows are operated It is run in system, and compiles and pass through, so that ICP/IP protocol stack is successfully tied on the MUX interfaces of upper layer application protocol, be transferred to S301d;
S301d:Conventional routers socket interface codes are compareed, the virtualization router consistent with its functional form is made Socket interfaces;The socket interfaces of making are debugged, until passing through.
Based on the above technical solution, developed virtualization insertion is run described in S3 in the virtual machine of establishment Formula operating system, specifically includes following steps:
S302a:The startup file bootrom for making virtualization embedded OS, is transferred to S302b;
S302b:The virtualization embedded OS of exploitation is recompilated in tornado translation and compiling environments, is generated empty The image file of quasi-ization embedded OS, is transferred to S302c;
S302c:The image file of embedded OS is virtualized described in bootrom file starts using making; The image file that the virtualization embedded OS is run in the virtual machine of establishment, is used in combination related command row to test its work( Can, after judgement drives layer and ICP/IP protocol stack layer function smooth, it is transferred to S4.
Based on the above technical solution, further include S5 after S4:The virtualization router debugged is carried out outer Portion tests;After the completion of test, comparison conventional routers and the test result for virtualizing router, the property of analysis virtualization router Can, horizontal and vertical optimization is carried out to it, is terminated.
Based on the above technical solution, external testing, tool are carried out to the virtualization router debugged described in S5 Body includes the following steps:
S501:Setting band collar extension, is connected by secure CRT softwares with the band collar extension of setting in the virtual machine of establishment Virtual machine, the basic command row of test fictitious router, is transferred to S502 in the virtual machine;
S502:Virtualization router is connect with general switch, general switch is also connect with PC terminals;It is rich using thinking Simple two layers and three layer data packets are arranged in human relations Test Center instrument;Order line is inputted in virtual machine, utilizes the data Packet is tested, and observation virtualization router mac tables and routing table establish situation, are transferred to S503;
S503:The routing protocol stack function that router is virtualized using Spirent Test Center Meter Tests, is transferred to S504;
S504:It will be virtual using general switch as convergence switch using openflow interchangers as access switch Change router to connect with access switch by convergence switch, access switch is also connect with PC terminals;It is route in virtualization The routing table of operation openflow controllers in device, the test for the S503 that repeats the above steps, observation and analysis virtualization router, The correlation performance parameters such as openflow interchanger flow tables.
Based on the above technical solution, software virtual machine described in S2 is that VMware softwares or Virtualbox are soft Part.
Based on the above technical solution, software virtual machine described in S2 be VMware softwares when, S2 specifically include with Lower step:Installed in Windows operating system VMware softwares, tornado for Pentium softwares, Ramdisk softwares, Winimage softwares and DTLite softwares;Wherein, tornado for Pentium softwares are VxWorks operating system Development environment software;Ramdisk softwares generate startup file for establishing virtual floppy disk, auxiliary VxWorks system bootroom;Winimage softwares are used to convert bootrom files to floppy disk mirror image, and start VxWorks system;DTlite Software is for creating virtual drive to install tornado for Pentium softwares.
Based on the above technical solution, described in S3 using software virtual machine create virtual machine when, establishment it is virtual Machine memory should be greater than maximum memory needed for router code operation.
The present invention also provides what a kind of realization based on windows platform using the above method virtualized router to be System, including system installation module, software virtual machine installation module, virtualization embedded system development module and router code fortune Row module;
The system installation module is used for:Windows operating system is installed on the server based on X86-based, to void Quasi- machine software installation module sends software installation signal;
The software virtual machine installation module is used for:After receiving software installation signal, installed in Windows operating system Software virtual machine sends exploitation signal to virtualization embedded system development module;
The virtualization embedded system development module is used for:After receiving exploitation signal, created using software virtual machine empty Quasi- machine;It is opened by way of being cut to existing VxWorks operating system according to conventional routers code architecture Hair virtualization embedded OS;Developed virtualization embedded OS, Xiang Lu are run in the virtual machine of establishment Run signal is sent by device code operation module;
The router code operation module is used for:After receiving run signal, router code run on and is developed It virtualizes in embedded OS;Internal debugging is carried out to the operating condition of router code, determines that router code is run It is smooth.
Based on the above technical solution, which further includes external testing modules, and the external testing modules are used for: External testing is carried out to the virtualization router debugged;After the completion of test, comparison conventional routers and virtualization router Test result, the performance of analysis virtualization router, carries out it horizontal and vertical optimization.
The beneficial effects of the present invention are:
(1) present invention transplants the ICP/IP protocol stack of vxworks operating system, and further develops again Trawl performance is virtualized, virtualization embedded OS mirror image is then compiled into, which is run on into VMware virtual machines In, router code finally is run in the virtual machine, to realize virtualization router.The bottom of entire virtualization technology is real Existing details realizes all-transparent processing, and safety and efficiency can be effectively ensured.
(2) or traditional virtual router does further exploitation based on existing routing protocol software, and versatility is preferable, But it is difficult to virtualize router performance optimization;Increase programmable functions on the basis of original router, improves virtual Change the performance of router, but functions expanding is weak, and depend on hardware platform, versatility is not strong.And the present invention is based on general x86 Windows platform, from BSP (board support package, board suppot package) to router integrate code carried out depth Degree is integrated, and can be optimized from the root cause to the performance for virtualizing router on the basis of internal debugging and external testing, Good functions expanding is made it have, to enable the optimization simple possible of router efficiency, and the present invention is empty using pure software Quasi-ization technology, may be implemented the high universalizable of virtualization router, and flexibility is high.
Description of the drawings
Fig. 1 is the flow chart of the method for the realization virtualization router based on windows platform in the embodiment of the present invention;
Fig. 2 is the test topology figure of verification virtualization router protocol function in the embodiment of the present invention;
Fig. 3 is the test topology figure that verification virtualization router expands application in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of side of the realization virtualization router based on windows platform Method includes the following steps:
S1:Windows operating system is installed on the server based on X86-based, is transferred to S2.
Currently, the processor of X86-based is fairly perfect to the support of virtualization technology, and selected by the present invention VMware softwares are also based on X86-based exploitation, so select the server of X86-based as hardware platform, it not only can be with Using the high-performance of processor-server, and decrease the expense that conversion is instructed between different frameworks.
S2:Software virtual machine is installed in Windows operating system, is transferred to S3.
Traditional virtual technology carries out the virtualization of router using software virtual machine and its component, realizes and depends on it The software virtual machine that his manufacturer provides, and the present invention uses software virtual machine only as the carrying tool of virtualized environment, it can root According to needing to be adjusted, using flexible, this is also the place that the present invention is different from traditional virtual technology.
Software virtual machine described in S2 can be VMware softwares, Virtualbox softwares etc..The present embodiment is selected VMware softwares, then S2 specifically include following steps:VMware softwares are installed in Windows operating system, and are installed Tornado for Pentium softwares, Ramdisk softwares, winimage softwares and DTLite softwares.
Wherein, tornado for Pentium softwares are the development environment software of VxWorks operating system; Ramdisk softwares generate startup file bootroom for establishing virtual floppy disk, auxiliary VxWorks system;Winimage softwares For converting bootrom files to floppy disk mirror image (path of the floppy disk mirror image is configured in VMware softwares), and open Dynamic VxWorks system;DTlite softwares are for creating virtual drive to install tornado for Pentium softwares.
S3:Virtual machine is created using software virtual machine;According to conventional routers code architecture, by existing embedded behaviour Make the mode that system VxWorks are cut, exploitation virtualization embedded OS;It runs and is opened in the virtual machine of establishment The virtualization embedded OS of hair, is transferred to S4.
In order to ensure reliability when operation virtualization router, created using software virtual machine (VMware) described in S3 When virtual machine, the virutal machine memory of establishment should be greater than maximum memory needed for router code operation.
S4:Router code is run in developed virtualization embedded OS;CPU lifes based on server After goal systems, internal debugging is carried out to the operating condition of entire router code, determines that router code operation is smooth, this When virtualization router work be basically completed, be transferred to S5.Wherein, the content of debugging includes BSP (board support Package, board suppot package) it debugs, SDK (Software Development Kit, Software Development Kit) debugging, drive Debugging, routing protocol stack debugging, system integration debugging and webmaster debugging etc..
S5:External testing is carried out to the virtualization router debugged;After the completion of test, comparison conventional routers and virtual Change the test result of router, the performance of analysis virtualization router, from BSP, driving, protocol stack, router integrates and software Layer, carries out it horizontal and vertical optimization, terminates.
When carrying out the realization of virtualization router using the above method, since router code is to protocol stack and driving layer phase It closes interface parameters to be Resealed, therefore, when exploitation and compiling virtualize embedded OS mirror image, need according to road By the code details of device, to be customized again to virtualization embedded OS.Exploitation virtualization embedded OS, It is the process of a cutting system in fact, for VxWorks system used in the present invention, mainly cuts tornado catalogues Under, about Microsoft Loopback Adapter driving and ICP/IP protocol stack partial code, the normal work of these some effects Microsoft Loopback Adapters.
In view of this, in practical operation, according to conventional routers code architecture described in S3, by existing embedded behaviour Make the mode that system VxWorks are cut, exploitation virtualization embedded OS specifically includes following steps:
S301a:Judge whether the tornado translation and compiling environments for virtualizing router compile with the tornado of conventional routers Environment is consistent, if so, being directly transferred to S301b;Otherwise, the translation and compiling environment file copy of conventional routers is route to virtualization In device, and its compiling is made to pass through, is transferred to S301b.Wherein, the tornado translation and compiling environments include compiling path, header file, library File, component.
S301b:According to the functional requirement of upper layer routing protocol stack, to related under tornado catalogues in VxWorks system The ln97xEnd.c files and ln97xEnd.h files of Microsoft Loopback Adapter driving are modified, and modified Microsoft Loopback Adapter driving branch is made The application for holding upper layer routing protocol stack, is transferred to S301c.
Furthermore, it is understood that conventional routers code be based on dedicated network chip development, and virtualize router using Microsoft Loopback Adapter needs to change bottom layer driving code according to router upper layer application code.Relevant text is driven with Microsoft Loopback Adapter Part is mainly ln97xEnd.c files and ln97xEnd.h files under the tornado catalogues of VxWorks system.And the two are literary Part has mainly done the initial work of virtualization network interface card, and the process of the initialization is mainly with the end_ in end.h header files Object structures are related.So compiling Microsoft Loopback Adapter driving, mainly changes end_object structures, it is this to change Dynamic carried out according to the functional requirement of upper layer routing protocol stack, that is to say, that if upper layer application has newly increased original drive The function that dynamic code is not supported, it is necessary to increase member in the structure, to support upper layer application.
S301c:ICP/IP protocol stack code copies under tornado catalogues in VxWorks system to Windows are operated It is run in system, and compiles and pass through, so that ICP/IP protocol stack is successfully tied on the MUX interfaces of upper layer application protocol, be transferred to S301d。
S301d:Conventional routers socket interface codes are compareed, the virtualization router consistent with its functional form is made Socket interfaces;The socket interfaces of making are debugged, until passing through.
After the completion of underlying virtual trawl performance, it is necessary to do one between driving layer and router integrate code layer Socket interfaces, in this way, router integrate code layer can by socket interfaces come realize with bottom layer driving, protocol stack it is logical Letter.Interface between router integrated layer and driving layer is the channel of data transmission, and the interface is further encapsulated with socket, Rather than directly and the benefit of bottom layer driving communication is high cohesion lower coupling between realizing program by the integrated layer of router, have Robustness when being run conducive to code.
On this basis, developed virtualization embedded OS is run described in S3 in the virtual machine of establishment, Specifically include following steps:
S302a:The startup file bootrom for making virtualization embedded OS, is transferred to S302b.
BSP (board support package, board suppot package) contains the startup of virtualization embedded OS The driver of code and equipment component, main function are initialization system and drive part equipment.Bootrom is for starting institute The virtualization embedded OS of exploitation when specifically making, is compiled and is made in the build menus under tornado catalogues Floppy disk image file bootrom, and in the virtual machine created, select the image file embedding as the virtualization developed Enter the startup file of the mirror image of formula operating system.
S302b:The virtualization embedded OS of exploitation is recompilated in tornado translation and compiling environments, is generated empty The image file of quasi-ization embedded OS, is transferred to S302c.
S302c:The image file of embedded OS is virtualized described in bootrom file starts using making; The image file that the virtualization embedded OS is run in the virtual machine of establishment, is used in combination related command row to test its work( Can, after judgement drives layer and ICP/IP protocol stack layer function smooth, it is transferred to S4.
In addition to this, external testing is carried out to the virtualization router debugged described in S5, specifically include following step Suddenly:
S501:Setting band collar extension, is connected by secure CRT softwares with the band collar extension of setting in the virtual machine of establishment Virtual machine, the basic command row of test fictitious router, is transferred to S502 in the virtual machine;
S502:As shown in Fig. 2, virtualization router is connect with general switch, general switch also connects with PC terminals It connects;Using Spirent Test Center instrument, simple two layers and three layer data packets are set;Order line is inputted in virtual machine, It is tested using the data packet, observation virtualization router mac tables and routing table establish situation, are transferred to S503;
S503:Using the routing protocol stack function of the further test fictitious router of Spirent Test Center instrument, For example OSPF, BGP, RIP, IS-IS etc., test item include that routing table is established, data packet forwarding, VLAN isolation, ACL filterings etc., It is transferred to S504;
S504:As shown in figure 3, using openflow interchangers as access switch, handed over general switch as convergence It changes planes, virtualization router is connect by convergence switch with access switch, access switch is also connect with PC terminals; It virtualizes and runs openflow controllers in router, the test for the S503 that repeats the above steps, observation and analysis virtualize routing The correlation performance parameters such as routing table, the openflow interchanger flow tables of device, to which the expansion of further side virtualization router is answered Use function.
The present invention also provides what a kind of realization based on windows platform using the above method virtualized router to be System, including system installation module, software virtual machine installation module, virtualization embedded system development module and router code fortune Row module;
The system installation module is used for:Windows operating system is installed on the server based on X86-based, to void Quasi- machine software installation module sends software installation signal;
The software virtual machine installation module is used for:After receiving software installation signal, installed in Windows operating system Software virtual machine sends exploitation signal to virtualization embedded system development module;
The virtualization embedded system development module is used for:After receiving exploitation signal, created using software virtual machine empty Quasi- machine;It is opened by way of being cut to existing VxWorks operating system according to conventional routers code architecture Hair virtualization embedded OS;Developed virtualization embedded OS, Xiang Lu are run in the virtual machine of establishment Run signal is sent by device code operation module;
The router code operation module is used for:After receiving run signal, router code run on and is developed It virtualizes in embedded OS;Internal debugging is carried out to the operating condition of router code, determines that router code is run It is smooth.
In order to from the root cause to virtualize router performance optimize, make it have good functions expanding, from And the optimization simple possible of router efficiency is enabled, which further includes external testing modules.The external testing modules are used for:It exchanges The virtualization router tried carries out external testing;After the completion of test, comparison conventional routers and the test for virtualizing router As a result, the performance of analysis virtualization router, carries out it horizontal and vertical optimization.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (9)

1. a kind of method of the realization virtualization router based on windows platform, which is characterized in that include the following steps:
S1:Windows operating system is installed on the server based on X86-based, is transferred to S2;
S2:Software virtual machine is installed in Windows operating system, is transferred to S3;
S3:Virtual machine is created using software virtual machine;According to conventional routers code architecture, by existing embedded operation system The mode that system VxWorks are cut, exploitation virtualization embedded OS;Operation is developed in the virtual machine of establishment Embedded OS is virtualized, S4 is transferred to;
S4:Router code is run in developed virtualization embedded OS;To the operation feelings of router code Condition carries out internal debugging, determines that router code operation is smooth;
According to conventional routers code architecture described in S3, pass through what is cut to existing VxWorks operating system Mode, exploitation virtualization embedded OS, specifically includes following steps:
S301a:Judge virtualize router tornado translation and compiling environments whether the tornado translation and compiling environments with conventional routers Unanimously, if so, being directly transferred to S301b;Otherwise, by the translation and compiling environment file copy of conventional routers to virtualization router in, And its compiling is made to pass through, it is transferred to S301b;
S301b:According to the functional requirement of upper layer routing protocol stack, to related virtual under tornado catalogues in VxWorks system The ln97xEnd.c files and ln97xEnd.h files of trawl performance are modified, and modified Microsoft Loopback Adapter driving is made to support The application of layer routing protocol stack, is transferred to S301c;
S301c:By the ICP/IP protocol stack code copies under tornado catalogues in VxWorks system to Windows operating system Middle operation, and compile and pass through, so that ICP/IP protocol stack is successfully tied on the MUX interfaces of upper layer application protocol, is transferred to S301d;
S301d:Conventional routers socket interface codes are compareed, the virtualization router consistent with its functional form is made Socket interfaces;The socket interfaces of making are debugged, until passing through.
2. the method for the realization virtualization router based on windows platform as described in claim 1, it is characterised in that:S3 Described in developed virtualization embedded OS is run in the virtual machine of establishment, specifically include following steps:
S302a:The startup file bootrom for making virtualization embedded OS, is transferred to S302b;
S302b:The virtualization embedded OS of exploitation is recompilated in tornado translation and compiling environments, generates virtualization The image file of embedded OS, is transferred to S302c;
S302c:The image file of embedded OS is virtualized described in bootrom file starts using making;It is creating Virtual machine in run it is described virtualization embedded OS image file, be used in combination related command row to test its function, sentence After fixed driving layer and ICP/IP protocol stack layer function are smooth, it is transferred to S4.
3. the method for the realization virtualization router based on windows platform as described in claim 1, it is characterised in that: Further include S5 after S4:External testing is carried out to the virtualization router debugged;After the completion of test, comparison conventional routers and The test result of router is virtualized, the performance of analysis virtualization router carries out it horizontal and vertical optimization, terminates.
4. the method for the realization virtualization router based on windows platform as claimed in claim 3, it is characterised in that:S5 Described in external testing is carried out to the virtualization router debugged, specifically include following steps:
S501:Setting band collar extension, is connected virtually by secure CRT softwares with the band collar extension of setting in the virtual machine of establishment Machine, the basic command row of test fictitious router, is transferred to S502 in the virtual machine;
S502:Virtualization router is connect with general switch, general switch is also connect with PC terminals;Utilize Spirent Simple two layers and three layer data packets are arranged in Test Center instrument;Order line is inputted in virtual machine, utilizes the data packet It is tested, observation virtualization router mac tables and routing table establish situation, are transferred to S503;
S503:The routing protocol stack function that router is virtualized using Spirent Test Center Meter Tests, is transferred to S504;
S504:Using openflow interchangers as access switch road will be virtualized using general switch as convergence switch It is connect with access switch by convergence switch by device, access switch is also connect with PC terminals;In virtualizing router The routing table of operation openflow controllers, the test for the S503 that repeats the above steps, observation and analysis virtualization router, The correlation performance parameters such as openflow interchanger flow tables.
5. the method for the realization virtualization router based on windows platform according to any one of claims 1 to 4, It is characterized in that:Software virtual machine described in S2 is VMware softwares or Virtualbox softwares.
6. the method for the realization virtualization router based on windows platform as claimed in claim 5, it is characterised in that:S2 Described in software virtual machine be VMware softwares when, S2 specifically includes following steps:It is installed in Windows operating system VMware softwares, tornado for Pentium softwares, Ramdisk softwares, winimage softwares and DTLite softwares;
Wherein, tornado for Pentium softwares are the development environment software of VxWorks operating system;Ramdisk Software generates startup file bootroom for establishing virtual floppy disk, auxiliary VxWorks system;Winimage softwares are used for will Bootrom files are converted into floppy disk mirror image, and start VxWorks system;DTlite softwares are for creating virtual drive to install Tornado for Pentium softwares.
7. the method for the realization virtualization router based on windows platform according to any one of claims 1 to 4, It is characterized in that:When creating virtual machine using software virtual machine described in S3, the virutal machine memory of establishment should be greater than router code Maximum memory needed for operation.
8. a kind of virtualizing router using the realization based on windows platform of any one of claim 1 to 7 the method System, it is characterised in that:Including system installation module, software virtual machine installation module, virtualization embedded system development mould Block and router code run module;
The system installation module is used for:Windows operating system is installed on the server based on X86-based, to virtual machine Software installation module sends software installation signal;
The software virtual machine installation module is used for:After receiving software installation signal, installed in Windows operating system virtual Machine software sends exploitation signal to virtualization embedded system development module;
The virtualization embedded system development module is used for:After receiving exploitation signal, virtual machine is created using software virtual machine; According to conventional routers code architecture, by way of being cut to existing VxWorks operating system, exploitation is virtual Change embedded OS;Developed virtualization embedded OS is run in the virtual machine of establishment, to router generation Code operation module sends run signal;
The router code operation module is used for:After receiving run signal, router code is run on developed it is virtual Change in embedded OS;Internal debugging is carried out to the operating condition of router code, determines that router code operation is smooth.
9. the system of the realization virtualization router based on windows platform as claimed in claim 8, it is characterised in that:It should System further includes external testing modules, and the external testing modules are used for:External survey is carried out to the virtualization router debugged Examination;After the completion of test, comparison conventional routers and the test result for virtualizing router, the performance of analysis virtualization router, Horizontal and vertical optimization is carried out to it.
CN201510906766.0A 2015-12-09 2015-12-09 The method and system of realization virtualization router based on windows platform Active CN105323161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510906766.0A CN105323161B (en) 2015-12-09 2015-12-09 The method and system of realization virtualization router based on windows platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510906766.0A CN105323161B (en) 2015-12-09 2015-12-09 The method and system of realization virtualization router based on windows platform

Publications (2)

Publication Number Publication Date
CN105323161A CN105323161A (en) 2016-02-10
CN105323161B true CN105323161B (en) 2018-10-09

Family

ID=55249787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510906766.0A Active CN105323161B (en) 2015-12-09 2015-12-09 The method and system of realization virtualization router based on windows platform

Country Status (1)

Country Link
CN (1) CN105323161B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106603512B (en) * 2016-11-30 2019-07-09 中国人民解放军国防科学技术大学 A kind of authentic authentication method of the Intermediate System-Intermediate System based on SDN framework
CN107294806B (en) * 2017-06-26 2021-02-09 苏州浪潮智能科技有限公司 SRIOV test method and system based on Hyper-v system
CN107509215A (en) * 2017-07-26 2017-12-22 上海斐讯数据通信技术有限公司 A kind of wireless authentication automated testing method and system
CN109688062B (en) * 2017-10-19 2021-07-13 中兴通讯股份有限公司 Routing method and routing equipment
CN108762207A (en) * 2018-05-25 2018-11-06 深圳市广前电力有限公司 A kind of high fault-tolerant universal centralized management platform
CN110635999A (en) * 2018-06-22 2019-12-31 复旦大学 Cloud computing platform network control method based on router virtualization technology
CN111158845B (en) * 2018-11-07 2023-09-12 重庆金美通信有限责任公司 Method for realizing router and terminal integrated integration by adopting general-purpose computer
CN109413674A (en) * 2018-11-21 2019-03-01 深圳市吉祥腾达科技有限公司 A kind of more wireless clients band machine ageing testing method based on packet capturing playback technology
CN109800113A (en) * 2018-12-29 2019-05-24 北京奇安信科技有限公司 One kind being based on virtual platform performance test methods, system, equipment and medium
CN112527458B (en) * 2020-12-15 2022-02-25 西安中朗智控科技有限公司 Test method and test system of embedded system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383822A (en) * 2008-07-10 2009-03-11 北京邮电大学 Router virtual machine for aviation telecommunication network
CN102231708A (en) * 2011-07-04 2011-11-02 清华大学 Virtual routing device and routing method thereof
CN102231709A (en) * 2011-07-04 2011-11-02 清华大学 Control plane structure of virtual routing device and control method thereof
CN103259735A (en) * 2013-05-15 2013-08-21 重庆邮电大学 Communication method of programmable virtualized router based on NetFPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8514854B2 (en) * 2009-06-11 2013-08-20 Brocade Communications Systems, Inc. Virtual router redundancy for server virtualization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383822A (en) * 2008-07-10 2009-03-11 北京邮电大学 Router virtual machine for aviation telecommunication network
CN102231708A (en) * 2011-07-04 2011-11-02 清华大学 Virtual routing device and routing method thereof
CN102231709A (en) * 2011-07-04 2011-11-02 清华大学 Control plane structure of virtual routing device and control method thereof
CN103259735A (en) * 2013-05-15 2013-08-21 重庆邮电大学 Communication method of programmable virtualized router based on NetFPGA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
在VMWare上安装VxWorks操作系统,链接:https://wenku.baidu.com/view/7304da4f2e3f5727a5e96233.html;bbs598598;《百度文库》;20111016;1-7 *
基于mpc8260和VxWorks的WMMN路由器的研究与实现;杨涛;《中国优秀硕士学位论文全文数据库信息科技辑》;20111215;正文第42-62页,第65、69、70页 *

Also Published As

Publication number Publication date
CN105323161A (en) 2016-02-10

Similar Documents

Publication Publication Date Title
CN105323161B (en) The method and system of realization virtualization router based on windows platform
US10949246B2 (en) Automated network configuration of virtual machines in a virtual lab environment
Ahrenholz et al. CORE: A real-time network emulator
US9031081B2 (en) Method and system for switching in a virtualized platform
De Oliveira et al. Using mininet for emulation and prototyping software-defined networks
CN103139039B (en) A kind of virtual network realizing flow isolation control and construction method
CN102195803B (en) Data communication method and system
EP3410133A1 (en) System and method for voltage regulator self-burn-in test
CN110838954B (en) Lightweight large-scale autonomous network protocol function test method
CN116348841A (en) NIC supported distributed storage services
CN110011835B (en) Network simulation method and system
Bemby et al. ViNO: SDN overlay to allow seamless migration across heterogeneous infrastructure
CN105049464A (en) Technologies for accelerating network virtualization
CN106254178B (en) network test platform NFVNTP based on NFV and test method thereof
CN103780674B (en) A kind of virtual machine communication method and device based on hardware simulation
CN102571474B (en) Virtualized Radius test macro and method
CN102760114B (en) Communication emulation method, engine and system for multi-processor system
Fernández et al. Distributed virtual scenarios over multi-host Linux environments
CN105141484A (en) Android equipment remote debugging method based on cloud server
Werthmann et al. Vmsimint: a network simulation tool supporting integration of arbitrary kernels and applications
KR20110064539A (en) Apparatus and method for virtual network simulation using multiple virtual machines
US10489121B2 (en) Method and apparatus for determining system information in a device having a plurality of processors, each including virtual machines and some located on separate insertable boards
Anuzelli et al. Dynamips/dynagen tutorial
Landau et al. Plugging the hypervisor abstraction leaks caused by virtual networking
Canonico et al. Virtualization techniques in network emulation systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190117

Address after: 430074 No. 6, High-tech Fourth Road, Donghu High-tech Development Zone, Wuhan City, Hubei Province

Patentee after: Fenghuo Communication Science &. Technology Co., Ltd.

Address before: 430074 Guandong Optical Communication Industry Building, No. 5 Donghu High-tech Dongxin Road, Wuhan City, Hubei Province

Patentee before: Wuhan Fenghuo Network Co., Ltd.