Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Server 2008 R2 maps virtual machines to public networks after installing hyper-v

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Limit: there is only one public network ip address

Solution: use the routing and remote services that come with server 2008 in conjunction with Microsoft Loopback Adapter.

Steps:

Add expired hardware Microsoft Loopback Adapter

Add routing and remote services

Configure routing and remote services, use loopback as the public network connection, the system automatically sets the private network address to 172.16.1.1 as the real private network address, and uses this address as the gateway address of the virtual machine.

Configure hyperv, add virtual switch, "extranet" type and link to loopback

Set the virtual machine gateway to 172.16.1.1 and configure dns

Turn on the ping function and test the intranet connection

The port that needs to be mapped, such as 8800 to a virtual machine, needs to set the ip address of the virtual machine, open the virtual machine firewall, set the real machine route mapping, and turn on the real machine firewall. So that the external network can be accessed.

Deficiency: unable to implement reverse proxy, that is, which virtual machine is determined by domain name. That is, the same port cannot realize the function of assigning to different virtual machines.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report