cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1474
Views
1
Helpful
7
Replies

Destination Host Unreachable

olzhik
Level 1
Level 1

Whenever I try to ping "PC-A" to "PC-C" it says "Destination Host Unreachable", I use vlan 30 for PC-C and vlan 40 for PC-D

 

pkk file: https://drive.google.com/file/d/1RPaWgtuWZUl1Pnm6PWUS70isN73lsiLd/view?usp=sharing

7 Replies 7

Martin L
VIP
VIP

You do not have any routes; neither dynamic or static;  Routers know about their directly connected interfaces and put them into routing table; see ip route .  So, there is no need to do  anything for vlan 10 and 20 172.30.10.0/24 and 172.30.20.0/24 which are directly connected on B1R2. But check other routers; do they have routes to reach vlan 10 and 20? use show ip route to see routes.  Routers will use ICMP message "Destination Host Unreachable" to inform us about missing routes.

Adding static routes or dynamic protocols like EIGRP or OSPF is the next step; Add router ospf 1 and network 0.0.0.0 255.255.255.255 area 0 on all routers and ping everyone; if pings are ok, then replace ospf with eigrp and run all pings; then remove eigrp and add static routes. Test with pings; use show ip rotue x.x.x.x to see if u have routes or missing ones. (simple testing your skills)

There is also missing ip address on one of router's interfaces ! Can u find it?

Regards, ML
**Please Rate All Helpful Responses **

 

 

 

M02@rt37
VIP
VIP

Hello @olzhik

First on B2R2 router configure IP on serial 0/0/1:

M02rt37_3-1697000782836.png

 

After that, you need ip static routes on ALL routers:

M02rt37_0-1697000655689.png

 

M02rt37_1-1697000687159.png

Miss: ip route 172.30.20.0 255.255.255.0 192.168.1.2

M02rt37_2-1697000721283.png

You will be able to ping PCs each others.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

I did everything, yet I'm still not able to ping PC-D to PC-B it gives me the same error, how could I fix that? I'm able to ping everything else

OK @olzhik 

-Share #sh ip route output of all Routers.

-Check connectivity between Routers doing a ping.

-Do the PCs ping their own Gateway?

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Yes, PCs ping their own gateway, and the connectivity is fine.

Here is the new pkk file: https://drive.google.com/file/d/1RPaWgtuWZUl1Pnm6PWUS70isN73lsiLd/view?usp=sharing

olzhik_2-1697088040730.png

 

olzhik_0-1697088005281.png

olzhik_1-1697088026679.png

 

 

@olzhik 

On HQR2 router, miss the static route towards 172.30.20.0/24

Please add on that router under configure-terminal:

ip route 172.30.20.0 255.255.255.0 192.168.1.2

M02rt37_0-1697094404809.png

 

- Always check routing table in this case. You could verify if subnets are well routed or not.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Can't ping PC-B from PC-Z as well. Is there a fix for that?

Review Cisco Networking for a $25 gift card