我有一个带有 2 个虚拟网络适配器的虚拟 Windows Server 2008 r2,一个是域的一部分,另一个不是。当我 ping 到属于域的特定 PC 时,它通过第二个网络适配器(不在域中的那个)连接到它,我尝试使用静态路由更改它:
ROUTE ADD -P <target PC's IP> MASK <Subnet mask from ipconfig> <Default Gateway of the adapter in the domain> if <tried it with all possible interfaces>
Run Code Online (Sandbox Code Playgroud)
不幸的是,这没有用,所以我很乐意得到协助如何制作此静态路由,以便我的服务器将通过域中的网络适配器连接到域中的 PC?
路由打印和 ipconfig 的输出:
C:\Users\user>route print
========================================
Interface List
18...00 15 5d 80 0f 47 ......Microsoft Virtual Machine Bus Network Adapter #2
11...00 15 5d 80 0f 1a ......Microsoft Virtual Machine Bus Network Adapter
1...........................Software Loopback Interface 1
12...00 00 00 …
Run Code Online (Sandbox Code Playgroud)