问题背景
路由器及连接PC配置如下:
接口 | 接口IP | 连接设备 | 设备IP |
---|---|---|---|
Fa0/0 | 192.168.0.2/24 | PC0 | 192.168.0.1/24 |
Fa0/1 | 192.168.1.2/24 | PC1 | 192.168.1.1/24 |
Fa1/0 | 192.168.2.2/24 | PC2 | 192.168.2.1/24 |
此时PC1与PC2、PC3为连通状态:
C:\>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time<1ms TTL=127
Reply from 192.168.1.1: bytes=32 time<1ms TTL=127
Reply from 192.168.1.1: bytes=32 time<1ms TTL=127
Reply from 192.168.1.1: bytes=32 time<1ms TTL=127
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip