我们配置了一台 RD 网关服务器(在同一台机器上安装 Web Access),该服务器有两个网卡。服务器运行正常,但应用程序的“连接”需要很长时间。通过 Wireshark 调查后发现,RD 网关服务器正尝试通过端口 389 上的错误网络接口卡连接到 Active Directory 服务器。
已经设置了静态路由以强制通过特定 NIC 连接到 AD 服务器,但显然远程桌面服务中的某些内容强制其使用错误的网络接口(0;带有默认网关)。
如果我尝试 ping 和 telnet(在端口 389 上),连接工作正常。此外,我后来在 Wireshark 跟踪中看到使用正确的网络接口(使用相同端口)通信成功。但那只是在 1 分钟之后,所以这似乎解释了登录延迟。
我希望通信从 RD 网关开始,是否有直接绑定到它的 NIC,以及如何更改它?
编辑详细内容如下:
- 内部网络位于接口 192.39.212.112
- 外部网络(客户端)位于接口 192.39.58.112
- AD 服务器位于 192.39.212.227
编辑路线打印输出: ==================================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.39.58.97 192.39.58.112 281
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
129.224.72.60 255.255.255.255 192.39.212.97 192.39.212.112 26
129.224.72.61 255.255.255.255 192.39.212.97 192.39.212.112 26
129.225.79.115 255.255.255.255 192.39.212.97 192.39.212.112 26
169.254.0.0 255.255.0.0 On-link 169.254.176.205 281
169.254.176.205 255.255.255.255 On-link 169.254.176.205 281
169.254.255.255 255.255.255.255 On-link 169.254.176.205 281
172.19.91.14 255.255.255.255 192.39.212.97 192.39.212.112 26
192.39.58.96 255.255.255.224 On-link 192.39.58.112 281
192.39.58.112 255.255.255.255 On-link 192.39.58.112 281
192.39.58.127 255.255.255.255 On-link 192.39.58.112 281
192.39.212.96 255.255.255.224 On-link 192.39.212.112 281
192.39.212.112 255.255.255.255 On-link 192.39.212.112 281
192.39.212.127 255.255.255.255 On-link 192.39.212.112 281
192.39.212.192 255.255.255.224 192.39.212.97 192.39.212.112 26
192.39.212.224 255.255.255.224 192.39.212.97 192.39.212.112 26
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.39.212.112 281
224.0.0.0 240.0.0.0 On-link 192.39.58.112 281
224.0.0.0 240.0.0.0 On-link 169.254.176.205 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.39.212.112 281
255.255.255.255 255.255.255.255 On-link 192.39.58.112 281
255.255.255.255 255.255.255.255 On-link 169.254.176.205 281
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
129.224.72.60 255.255.255.255 192.39.212.97 1
129.224.72.61 255.255.255.255 192.39.212.97 1
129.225.79.115 255.255.255.255 192.39.212.97 1
172.19.91.14 255.255.255.255 192.39.212.97 1
192.39.212.192 255.255.255.224 192.39.212.97 1
192.39.212.224 255.255.255.224 192.39.212.97 1
0.0.0.0 0.0.0.0 192.39.58.97 Default
===========================================================================