2개의 서버가 회사 LAN(10.0.0.0\24)에 연결되어 있고 별도의 LAN(192.168.1.0\30)에도 연결되어 있습니다. 192.168.1.0 네트워크의 한 서버에서 다른 서버로 핑을 보낼 수 없으며 Tracert를 수행하면 첫 번째 홉이 10.0.0.226으로 표시됩니다. 다음은 현재 라우팅 테이블입니다. 경로는 거기에 있습니다. 뭔가 빠졌나요?
Ethernet adapter Migration:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.1.2
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
Ethernet adapter vEthernet (Microsoft Network Adapter Multiplexor Driver - Virtu
al Switch):
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.0.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.226
Tunnel adapter isatap.{C8FB357B-225E-4F71-84A1-0B455B78D021}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{E1F1126B-0ED7-4DF3-BDD6-82DA53340448}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
===========================================================================
Interface List
45...a0 36 9f 6d 0d e0 ......Microsoft Network Adapter Multiplexor Driver #2
21...70 e2 84 06 d6 e9 ......Hyper-V Virtual Ethernet Adapter #2
1...........................Software Loopback Interface 1
14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
48...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.226 10.0.0.1 261
10.0.0.0 255.255.255.0 On-link 10.0.0.1 261
10.0.0.1 255.255.255.255 On-link 10.0.0.1 261
10.0.0.255 255.255.255.255 On-link 10.0.0.1 261
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
192.168.1.0 255.255.255.252 192.168.1.1 10.0.0.1 261
192.168.1.0 255.255.255.252 On-link 192.168.1.1 261
192.168.1.1 255.255.255.255 On-link 192.168.1.1 261
192.168.1.3 255.255.255.255 On-link 192.168.1.1 261
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 10.0.0.1 261
224.0.0.0 240.0.0.0 On-link 192.168.1.1 261
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 10.0.0.1 261
255.255.255.255 255.255.255.255 On-link 192.168.1.1 261
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 10.0.0.226 Default
0.0.0.0 0.0.0.0 10.0.0.226 Default
0.0.0.0 0.0.0.0 10.0.0.226 256
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
45 261 fe80::/64 On-link
45 261 fe80::9df2:675b:7dac:43d7/128
On-link
1 306 ff00::/8 On-link
45 261 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
기타 시스템
Ethernet adapter Migration:
Connection-specific DNS Suffix . :
Autoconfiguration IPv4 Address. . : 192.168.1.1
Subnet Mask . . . . . . . . . . . : 255.255.255.252
Default Gateway . . . . . . . . . :
Ethernet adapter vEthernet (Microsoft Network Adapter Multiplexor Driver - Virtual Switch):
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 10.0.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.226
Tunnel adapter isatap.{C6D18C23-8682-48F7-91CA-29CBA7926666}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{B2032040-F6AE-467E-911C-9F72C77B0B51}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
===========================================================================
Interface List
24...78 2b cb 0a 63 67 ......Microsoft Network Adapter Multiplexor Driver #2
23...78 2b cb 0a 63 65 ......Hyper-V Virtual Ethernet Adapter #2
1...........................Software Loopback Interface 1
16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
50...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.0.226 10.0.0.2 261
10.0.0.0 255.255.255.0 On-link 10.0.0.2 261
10.0.0.2 255.255.255.255 On-link 10.0.0.2 261
10.0.0.255 255.255.255.255 On-link 10.0.0.2 261
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
192.168.1.0 255.255.255.252 On-link 192.168.1.2 7
192.168.1.2 255.255.255.255 On-link 192.168.1.2 261
192.168.1.3 255.255.255.255 On-link 192.168.1.2 261
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 10.0.0.2 261
224.0.0.0 240.0.0.0 On-link 192.168.1.2 261
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 10.0.0.2 261
255.255.255.255 255.255.255.255 On-link 192.168.1.2 261
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 10.0.0.226 Default
0.0.0.0 0.0.0.0 10.0.0.226 256
===========================================================================
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
24 261 fe80::/64 On-link
24 261 fe80::4d95:7747:bd8f:81f5/128
On-link
1 306 ff00::/8 On-link
24 261 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
답변1
정적 경로를 추가했을 때 시스템 1의 잘못된 인터페이스에 추가한 것 같습니다. 인터페이스를 지정하지 않으면 Windows가 자체적으로 하나를 선택하고 선택하는 데 무엇을 사용하는지 잘 모르겠지만 본 적이 없습니다. 그것은 올바른 것을 선택합니다. route delete 192.168.1.1
그것을 해야 한다.
둘째, 머신 2에 유효하지 않은 고정 경로가 있습니다. 이 두 가지를 모두 삭제하면(고정 경로를 전혀 사용하지 않고) 제대로 작동합니다.