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

Two servers under the virtual machine can access each other across network segments through NAT settings.

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Two virtual machines are created under vmware workstation

The operating systems are windows server2008 R2 and windows server 2012 R2 respectively.

Server 2008 R2 is set to AD DC, the domain name is test.com, and soft routing is enabled

Server 2012 R2 also enables soft routing.

Add two network cards to the two virtual machines respectively.

One of the two network cards of server 2008 R2 sets the intranet

IP: 192.168.10.6

Subnet mask: 255.255.255.0

Gateway: 192.168.10.2

(refer to the net setting of vmware network adapter vmnet8 on the host)

DNS:192.168.10.6.

The other network card is set to the same network segment as the host.

One of the two network cards of the server 2012 R2 is set to the intranet

IP: 192.168.10.65

Subnet mask: 255.255.255.0

Gateway: 192.168.10.2 DNSbank 192.168.10.6.

The other network card is set to the same network segment as the host.

Then set the two network cards of the two virtual machines to NAT mode.

In this way, two virtual machines can communicate with each other by ping.

Two virtual machines can ping each other with the host.

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

Servers

Wechat

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

12
Report