【问题标题】:Unable to ping from GNS3 topology to Physical Adapter无法从 GNS3 拓扑 ping 到物理适配器
【发布时间】:2021-05-17 15:48:22
【问题描述】:

我正在尝试建立一个黑白 GNS3 路由器和本地 PC 的连接。以下是到目前为止在 GNS3 中完成的步骤:-

1.设置路由器接口,e0/0/ = 192.168.1.1 255.255.255.0
2.创建云环回适配器,接口,并分配IP = 192.168.1.5 255.255.255.0 (注意:环回适配器已在我的 PC 上创建为 Mictosoft KM-Test 环回。相同的接口已添加到 GNS3 中的云中,然后连接到路由器接口 e0/0)

当我尝试从我的 PC ping 到 GNS3 R 时,在路由器中创建了 arp 条目(在 GNS3 拓扑上运行)。见下文:

RTR#sh arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface  
Internet  192.168.1.1             -   aabb.cc00.0200  ARPA   Ethernet0/0  
Internet  192.168.1.5           134   0200.4c4f.4f50  ARPA   Ethernet0/0  

但是 ICMP 在路由器上不成功(见下文):-

RTR#ping 192.168.1.5  
Type escape sequence to abort.  
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:  
.....

成功率为 0% (0/5)

有人可以帮忙吗??

【问题讨论】:

    标签: icmp gns3


    【解决方案1】:

    尝试将 KM-Test 适配器的 IP 地址设置为家庭网络之外的地址。如 10.0.0.1/24。将您的云连接到网络适配器,然后通过以管理员身份打开命令提示符并输入命令来创建持久静态路由。

    route -p add [Destination] mask [Subnet Mask] [Gateway(KM-Test)]
    

    请注意,您在 GNS3 中创建的任何其他网络都需要静态路由,以便 Windows 知道通过 KM-Test 而不是您的家庭网络网关发送您的数据包。

    【讨论】:

      猜你喜欢
      • 2016-10-21
      • 1970-01-01
      • 1970-01-01
      • 2020-12-29
      • 1970-01-01
      • 1970-01-01
      • 2016-09-05
      • 1970-01-01
      • 2015-01-21
      相关资源
      最近更新 更多