CISCO PCKT Networking

miaarmy98miaarmy98 Member Posts: 6 ■□□□□□□□□□
Hey, I need help! Urgent! ):

There seems to be a problem when i tried to ping a computer from another. Currently in my topology, I connected two routers together, one switch to one router, and one PC to one switch. The ip addresses are all okay, none of them overlaps however, I don't understand why I cannot ping the other computer. When I tested to ping the G port of the router, it was still okay. When I moved on to the S port though, I wasn't able to pass it through. Does anyone know why?

These are the ip address that I used:

pc1
ip 139.40.0.2 (255.255.248.0) gateway = 139.40.28.33
router1
gport 139.40.0.1 (255.255.248.0) s0/0/0 139.40.28.33
pc2
ip 139.40.8.2 (255.255.248.0) gateway = 139.40.28.34
router2
gport 139.40.8.1 (255.255.248.0) s0/0/0 139.40.28.34

Comments

  • miaarmy98miaarmy98 Member Posts: 6 ■□□□□□□□□□
    wait sorry, I managed to ping the s ports but when i tried to ping the opposite router, it doesnt work):
  • dontstopdontstop Member Posts: 579 ■■■■□□□□□□
    A quick guess without looking at the rest of your configuration would be that you've got no routing protocol or static routes configured... correct? Run a "show ip route" on router1, do you see 139.40.8.0/21? Router1 will only know about the directly connected (configured networks) of 139.40.0.0/21 & 139.40.24.0/21. Because the 139.40.8.0 isn't directly connected to Router1 nor is 139.40.0.0 directly connected to Router2 they will need a routing protocol to learn about those networks connected to neighbouring routers.

    You'll either need to configure a static route or configure a dynamic routing protocol like RIP, EIGRP or OSPF. The simplest way to get connectivity would be static routes like this:

    router1:
    ip route 139.40.8.0 255.255.248.0 139.40.28.34

    router 2:
    ip route 139.40.0.0 255.255.248.0 139.40.28.33

    Give that a try
  • miaarmy98miaarmy98 Member Posts: 6 ■□□□□□□□□□
    I tried as you suggested but I still couldnt ping one computer to another
  • dontstopdontstop Member Posts: 579 ■■■■□□□□□□
    Could you post your packet tracer configuration as a pkt?
  • miaarmy98miaarmy98 Member Posts: 6 ■□□□□□□□□□
  • trac0detrac0de Member Posts: 27 ■□□□□□□□□□
    Seems like the file doesn't exist anymore.
    Could you share the packet tracer file so we can have a look your topology :)
    SCRAP that i manage to download the file :) it was just me hehe :)
  • Mr.Robot255Mr.Robot255 Member Posts: 196 ■■■□□□□□□□
    Have you checked default gateways on the PCs

    not sure if you uploaded the correct lab but the lab you shared is 5 router 5 switches + PCs

    i didn't check it all but none of the PCs have default gateways i stopped there.
  • trac0detrac0de Member Posts: 27 ■□□□□□□□□□
    Like Mr.Robot said PCs haven't got the Default gateway and routing tables need updating as they do not contain routes to all subnets.
Sign In or Register to comment.