cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2233
Views
40
Helpful
15
Replies

host unreachable

grid9
Level 1
Level 1

hello 

i am a collage student trying to make a project in connecting 2 networks togather

everything went fine but when trying to ping from the network to the other one it gave me host unreachable error

https://ufile.io/h290wii3

networking

thank you

15 Replies 15

pman
Spotlight
Spotlight

Hi,


In the second network - PC0 / 1/2 is missing default gateway just put the address of router1 which is 172.16.32.1 as default gateway for PC0/1/2

 

about wireless network:

Did you intention that the router0 will be the default gateway of the wireless hosts?

If so simply change the IP address to 172.16.16.1.on the wireless router and subnet 

WC.PNG

hello

 

I did what you told me to related to the router ip address and default gateway, but i still get the same error where is it unreachable or request timed out

 

pman
Spotlight
Spotlight

I have attached the file for your reference

** To change the wireless hosts deafult gateway from 172.16.16.2 to 172.16.16.1 (after you have changed the configuration in the wireless router) the simplest thing in packet tracker is to change the wireless hosts from static to dhcp

yes everything is the same as i did it but now i cannot ping the laptop to the pc 0 /1 /2 it fails to ping 

 

but everything else is fine 

not sure where is the error

Is the next ping test what you're trying to do?
(Made from the file I attached)

 

 

‏‏WC2.PNG

pinging the laptop to pc1 that is what i am looking for 

 

the next ping made from laptop0, this is what you're trying to do?

(made from the file I attached)

‏‏WC3.PNG

yeah its happening with you but it does not work for me i tried pinging from the laptop to every pc i sitll get destination host unreachable

pman
Spotlight
Spotlight

try to change router0 fa0/0 subnet to /24.

int fa0/0

ip add 172.16.16.1 255.255.255.0

 

Hi

 Lab with Linksys is a bit complicate.  I got this to work but I had to use PPPoE on the internet interface of the Wireless router.

I also added a router but it does not make any difference. All routers are running RIP v2.

I am able to ping from Wireless device to Wired device, hope you also can.

 

ping_ok.JPG

everyone was helpful here they helped a lot

 

but I still cannot get to ping the laptop to the pc on the other network i tried multiple solutions and even once I succeeded to ping but the issue is I cannot use the sub netmask 255.255.255.0 because i have to use a certain subnet on the project 

 

 First, did you succeeded using my file?

 

About the mask. It is not a problem.  However, the LinkSys router does have mask greater then /24.

 

 

 

Nope still does not ping for me with ur file 

Make sure the Laptop and the PC is configured with gateway. Some config must be lost on the file saving and transfer.

Make sure you can ping the gateway as well. I will share the routers config as files.

 

Check the routing table. Must be like this:

 

Router 0

k-012131016#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

Router 1

 

R 1.0.0.0/8 [120/2] via 172.16.0.1, 00:00:08, Serial2/0

172.16.0.0/20 is subnetted, 3 subnets

C 172.16.0.0 is directly connected, Serial2/0

S 172.16.16.0 [1/0] via 172.16.0.1

C 172.16.32.0 is directly connected, FastEthernet0/0

R 192.168.0.0/24 [120/2] via 172.16.0.1, 00:00:08, Serial2/0

 

Router2

 

Router#

Router#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

 

R 1.0.0.0/8 [120/1] via 172.16.18.1, 00:00:05, FastEthernet0/0

172.16.0.0/20 is subnetted, 3 subnets

C 172.16.0.0 is directly connected, Serial2/0

C 172.16.16.0 is directly connected, FastEthernet0/0

R 172.16.32.0 [120/1] via 172.16.0.2, 00:00:20, Serial2/0

R 192.168.0.0/24 [120/1] via 172.16.18.1, 00:00:05, FastEthernet0/0

 

 

Gateway of last resort is not set

 

1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 1.0.0.0/8 is directly connected, FastEthernet0/0

C 1.1.1.2/32 is directly connected, Virtual-Access1.1

172.16.0.0/20 is subnetted, 3 subnets

R 172.16.0.0 [120/1] via 172.16.18.2, 00:00:15, FastEthernet0/1

C 172.16.16.0 is directly connected, FastEthernet0/1

R 172.16.32.0 [120/2] via 172.16.18.2, 00:00:15, FastEthernet0/1

S 192.168.0.0/24 [1/0] via 1.1.1.2

 

 

If the router table is OK, check the PCs and Laptops.