Sign in with
Sign up | Sign in
Your question

Unable to Ping PC2 [HELP]

Last response: in Networking
Share
July 27, 2012 2:39:29 PM





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?

More about : unable ping pc2

July 28, 2012 1:30:21 PM

Are the routers configured properly to reach other networks? As an example, is the HQ router configured to use the branch 2 router in order to reach network 192.168.20.160?
m
0
l
July 28, 2012 3:37:01 PM

GhislainG said:
Are the routers configured properly to reach other networks? As an example, is the HQ router configured to use the branch 2 router in order to reach network 192.168.20.160?


Yup i think it's configure properly cause PC0 from HQ is able to ping branch 2 router but unable to ping PC2.
m
0
l
Related resources
July 28, 2012 8:16:35 PM

zwei_91 said:
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?
m
0
l
July 29, 2012 2:49:21 AM

GhislainG said:
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?



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?
m
0
l
July 29, 2012 12:10:30 PM

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
m
0
l
July 29, 2012 5:39:49 PM

GhislainG said:
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



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?
m
0
l
July 30, 2012 3:06:15 AM

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.
m
0
l
July 30, 2012 4:22:46 AM

ok thanks for the help =)
m
0
l
!