[英]Issue with VMNet8 and/or DNS configuration in VMWare Workstation 12
I set up a virtual private network by enabling VMNet8 in VMWare Workstation 12.5. 我通过在VMWare Workstation 12.5中启用VMNet8来建立虚拟专用网络。 The network entails an Active Directory domain controller (and DNS server role) installed with Windows Server 2012 R2. 网络需要在Windows Server 2012 R2中安装Active Directory域控制器(和DNS服务器角色)。 In addition, I have set up a SQL Server, an app server and a web server with Windows Server 2016. 此外,我还使用Windows Server 2016设置了SQL Server,应用程序服务器和Web服务器。
I am unable to ping from the AD/DNS server to other servers, but the other way works. 我无法从AD / DNS服务器ping到其他服务器,但另一种方法可行。
All 4 servers have connectivity to the Internet, even though all of them have an exclamation mark superimposed over the network icon (in the taskbar). 尽管所有4台服务器的网络图标(在任务栏中)上都有一个感叹号,但它们都可以连接到Internet。
I have assigned static IP addresses in succession, from 192.168.153.15
to 192.168.153.18
. 我已从192.168.153.15
到192.168.153.18
连续分配了静态IP地址。 Using Virtual Network Editor, I enabled a Virtual Network Adapter VMNet8
with following properties: 使用虚拟网络编辑器,我启用了具有以下属性的Virtual Network Adapter VMNet8
:
NAT
类型: NAT
192.168.153.0
子网地址192.168.153.0
192.168.153.2
网关IP默认设置为192.168.153.2
In the AD/DNS VM, following properties are set on the single network adapter: 在AD / DNS VM中,在单个网络适配器上设置以下属性:
192.168.153.15
静态IP 192.168.153.15
255.255.255.0
子网掩码是255.255.255.0
192.168.153.2
默认网关为192.168.153.2
127.0.0.1
(loopback address) 首选DNS服务器是127.0.0.1
(环回地址) contoso.local
domain (established by AD setup) 计算机属于contoso.local
域(通过AD安装程序建立) In the other VMs, following properties are set on the single network adapter: 在其他VM中,在单个网络适配器上设置以下属性:
192.168.153.16
, 192.168.153.17
and 192.168.153.18
(respectively) 的静态IP 192.168.153.16
, 192.168.153.17
和192.168.153.18
(分别) 255.255.255.0
子网掩码是255.255.255.0
192.168.153.2
默认网关为192.168.153.2
192.168.153.15
(IP of the AD/DNS server) 首选的DNS服务器是192.168.153.15
(AD / DNS服务器的IP) contoso.local
domain (established by AD setup) 计算机属于contoso.local
域(通过AD安装程序建立) Firewall rules on the other VMs prevented any traffic flowing in or out of them. 其他VM上的防火墙规则阻止了任何流量流入或流出它们。 Since this is only a playground, I turned off the firewall at the scope of the domain network on all of them. 由于这只是一个游乐场,因此我关闭了所有域网络上的防火墙。 This immediately allowed all the VMs to communicate with one another. 这立即允许所有VM相互通信。
I should set up inbound/outbound rules for the specific routes, in the real world. 我应该在现实世界中为特定路由设置入站/出站规则。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.