客户的网络设置,公司与工厂通过***设备相连构成一个局域网。公司的网络是192.1.1.0,工厂的网络是192.1.2.0.财务的服务器在公司,另一台服务器在工厂。因财务服务器的系统恢复。导致工厂的服务器的SQL不可以连接到财务服务器。同时,工厂的服务器ping公司的服务器正常。公司的财务服务器不可以ping通工厂的服务器。但,公司的电脑可以ping通。故排除***设备的问题。查看了公司可以ping通的电脑的路由表与财务服务器的路由表。发现财务服务器的路由表中有一条静态路由。记录如下:
C:\Documents and Settings\user>ping 192.1.2.1

Pinging 192.1.2.1 with 32 bytes of data:

Request timed out.

Ping statistics for 192.1.2.1:
    Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),

C:\Documents and Settings\user>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a e6 5d 43 18 ...... VIA PCI 10/100Mb Fast Ethernet Adapter - 数据包
计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
          0.0.0.0 0.0.0.0 192.1.1.50 192.1.1.245 20
        127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
        192.1.1.0 255.255.255.0 192.1.1.245 192.1.1.245 20
      192.1.1.245 255.255.255.255 127.0.0.1 127.0.0.1 20
      192.1.1.255 255.255.255.255 192.1.1.245 192.1.1.245 20
        192.1.2.0 255.255.255.0 192.1.1.10 192.1.1.245 1
        224.0.0.0 240.0.0.0 192.1.1.245 192.1.1.245 20
  255.255.255.255 255.255.255.255 192.1.1.245 192.1.1.245 1
Default Gateway: 192.1.1.50
===========================================================================
Persistent Routes:
  Network Address Netmask Gateway Address Metric
        192.1.2.0 255.255.255.0 192.1.1.10 1

因财务服务器的ip地址是192.1.1.2.而静态路由的指定的ip跟本机的ip地址不通。导致路由不同。删除静态路由。两台服务器互访经常。记录如下:
C:\Documents and Settings\user>route delete 192.1.2.0

C:\Documents and Settings\user>ping 192.1.2.11 -t

Pinging 192.1.2.11 with 32 bytes of data:

Reply from 192.1.2.11: bytes=32 time=100ms TTL=63
Reply from 192.1.2.11: bytes=32 time=257ms TTL=63