Unable to Ping PC2 [HELP]

zwei_91

Honorable
Jul 27, 2012
9
0
10,510
123li.png




i'm configuring the network using static routing from the information above. can i know why i'm unable to ping from pc 1 to pc2 and pc0 to pc2?
 

zwei_91

Honorable
Jul 27, 2012
9
0
10,510


Yup i think it's configure properly cause PC0 from HQ is able to ping branch 2 router but unable to ping PC2.
 

You can ping the branch 2 router from PC0 at HQ because the HQ router knows how to get to the branch 2 router as it's directly connected to it. However the HQ router has no way of determining that it has to go through IP address 192.168.20.66 to reach network 192.168.20.160. Unless you tell the HQ router how to get there and the branch 2 router how to get back to the 192.168.20.0 network, it won't work. Give it a try and you'll see that it resolves your issue. Why do you have more than 3 networks and why don't you use 10.x.x.x instead of 192.168.x.x?
 

zwei_91

Honorable
Jul 27, 2012
9
0
10,510



Acutally this is a revision question given by the lecture. Anyway thanks for your help, really appreciate it. By the way i solve the problem by changing the network address for PC2. Seems like 192.168.20.160 can't be use as the network address for PC2 no matter how i tell it to get to the other routers. Know why this happens?
 
192.168.20.160 can't be used because it's a network address (as you can see in the diagram). With a mask of 255.255.255.224 (19 bits), the following networks can be configured; therefore those IP addresses can't be assigned to a host:

192.168.20.0
192.168.20.32
192.168.20.64
192.168.20.96
192.168.20.128
192.168.20.160
192.168.20.192 - not used in the diagram
192.168.20.224 - not used in the diagram

Edit: Per the diagram, PC2 should have IP address 192.168.20.161
 

zwei_91

Honorable
Jul 27, 2012
9
0
10,510



But i set the IP address of PC2 to 192.168.20.162 and the address for Branch2 Fa0/0 to 192.168.20.161; isn't that suppose to we workable?
 
If you mean "will PC2 be reachable from other PCs" then the answer is yes as long as the routers have been configured properly. If the Branch2 router doesn't know how to get to the .0 and the .96 networks, then it won't work. You need to add the required static routes to the Branch2 router: network .0 is reached through .65 and network .96 is reached through .129. You also need to configure the HQ and the Branch1 routers and add the required static routes.
 

TRENDING THREADS