取消
显示结果 
搜索替代 
您的意思是: 
cancel
1490
查看次数
3
有帮助
3
回复

(Cisco Packet Tracer)无法ping通不同网关下的pc段

210094010
Level 1
Level 1

相同网关可以相互ping通,但是不同路由器下的两个pc不能ping通

3 条回复3

Hi @210094010 

 I will answer in English and you can use the translator as I did.

  The hosts (PCs) need to be on the same network as the Router´s interface. For example, PC0 have IP address 10.2.11.2 and gateway 10.2.11.1. Then, the Router´s interface where the switch connects need to be 10.2.11.1.  This is true for both sides of the network. PCs and gateway needs to be on the same network.

  And you need Route. The Router0 does not know about the networks that is behind the Router1. The same way Router1 does not know about networks that is behind Router0. You need to tell them and you do that by using routes.

On Router0:

ip route 0.0.0.0 0.0.0.0 30.2.13.1

 

On Router1

ip route 0.0.0.0 0.0.0.0 30.2.13.2

 

Meaning, everything you dont know, send to the other router.

 

Look the file I attached.

Thank you very much, I don't know much about the Internet, let me see your attachments, I will ask you again if I have any questions after learning

 

fortune
VIP Alumni
VIP Alumni

QQ截图20230626143751.jpg

你有两个地方配置都错了

1.router 0 的F0/0 你配置的应该是PC 0 1的网关10.2.11.1  但是你却配置为了13.1

2.router 1 你的F0/0  F0/1的IP地址配置反了,对换过来。

 

你首先不要去管其他网段,你自己的网关都ping 不通

 

QQ截图20230626143951.jpg

快捷链接