Method for virtual machines to share IP (Internet Protocol) of host machine to provide outer net services
A virtual machine and host machine technology, applied in the field of cloud computing, can solve the problems of insufficient IPv4 public network addresses and the inability to have virtual machines at the same time, achieving the effect of reliable principle, simple implementation, and improved utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] Such as figure 1 As shown, the present invention first creates a network bridge on the host computer, here we take the linuxbridge bridge as an example for illustration, and other implementations such as openvswitch bridges are similar to this. Execute the following command to create and activate the bridge:
[0038] brctladdbrbr-nat
[0039] ifconfigbr-natup
[0040] Then connect the network card connected to the external network on the host to the bridge br-nat created above. Assuming that the network card name of the host connected to the external network is eth0, then:
[0041] brctladdifbr-nateth0
[0042] ifconfigeth0up
[0043] Set the external network IP and the internal network IP of the internal network where the virtual machine is located for the created bridge br-nat:
[0044] ipaddradd20.251.32.25 / 24devbr-nat
[0045] ipaddradd192.168.0.1 / 24devbr-nat
[0046] As above, we set the external network IP to 20.251.32.25 and the internal network IP to 192...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com