我有一个服务器有两个网卡,每个configuration在一个单独的子网:
NIC1 xxx.xx.151.10, mask 255.255.252.0, gateway xxx.xx.148.1 NIC2 xxx.xx.148.10, mask 255.255.255.0, gateway None, but I tried setting same as NIC1 to see if it helped. Did not.
从服务器上,当我ping 148子网(即IP打印机,甚至网关)上的设备时,第一个请求总是返回与目标主机不可达作为答复从NIC2。 之后,其余的请求都可以。 同样,当我发送请求到148子网上的设备(在这种情况下是一个打印作业),第一次尝试是非常缓慢的,然后后续的打印是好的。 如果我什么也没有发送给一个给定的设备约15秒,它回到原来的状态。
在151子网上有几个打印机没有这个问题。
那么,我该如何消除这个最初的延迟?
其他信息:服务器:Windows Server 2008 R2
Pinging xxx.xx.148.1 with 32 bytes of data: Reply from xxx.xx.148.10: Destination host unreachable. Reply from xxx.xx.148.1: bytes=32 time=2ms TTL=64 Reply from xxx.xx.148.1: bytes=32 time=1ms TTL=64 Reply from xxx.xx.148.1: bytes=32 time=1ms TTL=64 Ping statistics for xxx.xx.148.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 2ms, Average = 1ms
netstat -rn:
IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 xxx.xx.148.1 xxx.xx.151.10 266 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 xxx.xx.148.0 255.255.252.0 On-link xxx.xx.151.10 266 xxx.xx.148.0 255.255.255.0 On-link xxx.xx.148.10 266 xxx.xx.148.10 255.255.255.255 On-link xxx.xx.148.10 266 xxx.xx.148.255 255.255.255.255 On-link xxx.xx.148.10 266 xxx.xx.151.10 255.255.255.255 On-link xxx.xx.151.10 266 xxx.xx.151.255 255.255.255.255 On-link xxx.xx.151.10 266 192.168.1.0 255.255.255.0 On-link 192.168.1.2 266 192.168.1.2 255.255.255.255 On-link 192.168.1.2 266 192.168.1.255 255.255.255.255 On-link 192.168.1.2 266 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link xxx.xx.151.10 266 224.0.0.0 240.0.0.0 On-link xxx.xx.148.10 266 224.0.0.0 240.0.0.0 On-link 192.168.1.2 266 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link xxx.xx.151.10 266 255.255.255.255 255.255.255.255 On-link xxx.xx.148.10 266 255.255.255.255 255.255.255.255 On-link 192.168.1.2 266 =========================================================================== Persistent Routes: Network Address Netmask Gateway Address Metric 0.0.0.0 0.0.0.0 xxx.xx.148.1 Default 0.0.0.0 0.0.0.0 xxx.xx.150.250 Default ===========================================================================
编辑2014年5月30日这是前一段时间,一些细节有雾,但我想在这里包括我的解决scheme。 最终,我们必须将148子网上的打印机组移动到(幸运的是未使用)150子网。 就像我说的,我不太清楚为什么发生这个事情的确切结论,但是它和我们使用的子网掩码和子网有关。