在一个子网/NIC 上,Ping 请求首次失败。其他流量非常慢

在一个子网/NIC 上,Ping 请求首次失败。其他流量非常慢

我有一台配备 2 个 NIC 的服务器,每个 NIC 都配置在单独的子网上:

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 日 这是很久以前的事了,有些细节还不清楚,但我想在这里列出我的解决方案。最终,我们不得不将 148 子网上的打印机组移至(幸运的是未使用)150 子网。就像我说的,我不太记得确切的结论为什么发生了这种情况,但这与子网掩码和我们正在使用的子网有关,从而导致了冲突。

相关内容