Method for implementing two-wire access through virtual machine with single network card
A virtual machine and virtual network interface technology, which is applied in the field of dual-line access to a virtual machine with a single network card, can solve the problems of high cost, increase the difficulty of maintenance work for application managers, increase the workload of virtual machine managers, etc., and achieve saving Effects of cost and workload reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] See attached figure 1 , 2 As shown, the present invention first: configure the operating system kernel parameters of the host computer, and set it to allow IP forwarding. The specific configuration is as follows:
[0026] Configure the / etc / sysctl.conf file:
[0027] net.ipv4.ip_forward=1
[0028] After configuration, execute the sysctl-p command to take effect immediately
[0029] Step 2: Configure two network cards in the host machine, one network card is bridged to the bridge br1, br1 is configured with a private IP, and a virtual machine is created with br1; the other network card is connected to the switch of the external network, and bridged to br0, but br0 No IP is configured, which is used to assign the public IP of the virtual machine;
[0030] Step 3: After creating the virtual machine, assign it a private IP. To set the intranet IP of the virtual machine, a private IP and a MAC address are bound and stored in the DNSmasq configuration file. The DNSmasq ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com