0

Network map

How can I ping the default gateway from PC2? I have tried IP <address> [/<mask>] [<gateway>] command for R1, but is says "not in subnet".

And when I tried the same command for R3, it works but I still can't ping R1 and I don't know why.

3
  • R1 R2 and R3 can ping each other perfectly .does this means that the default route for each router is being set already?
    – james T
    May 27 '15 at 14:15
  • Welcome to NE, we hope you will both contribute to and learn from this community. You could improve your question by editing it to add more details. You may find our Question Checklist helpful when editing your question. For example: configuration from at least your routers, routing tables from same, etc.
    – YLearn
    May 27 '15 at 17:46
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Aug 11 '17 at 17:04
2
  • PC2 needs a route for 144.120.8.1 (or default route) that points at R3
  • R3 needs a route for 144.120.8.1 (or default route) that points at R2
  • R2 needs a route for PC2 (or default route) that points at R3
  • R1 needs a route for PC2 (or default route) that points at R2

Check the routing tables on these devices to confirm these routes exist.

15
  • thanks so much sir ill try apply this one my work and see if it work..
    – james T
    May 27 '15 at 14:11
  • this is the routing table for R2 i notice that the gateway is ot set..do i have to set it? Gateway of last resort is not set 144.120.0.0/16 is variably subnetted, 5 subnets, 3 masks R 144.120.11.128/25 [120/1] via 144.120.9.2, 00:00:13, FastEthernet0/1 C 144.120.8.0/30 is directly connected, FastEthernet0/0 C 144.120.9.0/30 is directly connected, FastEthernet0/1 R 144.120.10.0/24 [120/1] via 144.120.9.2, 00:00:13, FastEthernet0/1 R 144.120.11.0/25 [120/1] via 144.120.9.2, 00:00:13, FastEthernet0/1
    – james T
    May 27 '15 at 14:20
  • You don't need a default gateway no. But R2 does need a route to PC2 via R3. This appears to be either your .10.0/24 or your .11.0/24? It is unclear from the diagram the subnets for PC1/2/3. In any case, your next step after verify the routes is to trace a ping and see where it is getting dropped (usually done with simultaneous tcpdumps on each device in the chain)
    – jhenn
    May 27 '15 at 14:50
  • ohh ok ok thanks..am working on ip route now.. thanks so much for helping me sir.
    – james T
    May 27 '15 at 14:57
  • do i need to close the ip route command with a no shoutdown or a no auto-summary command or i just exit after doing the ip route?
    – james T
    May 27 '15 at 15:04
0

Configure a host route on your PC telling it that the PC's default gateway is R3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.