Cisco – Computer unable to ping another over two routers

ciscopacket-tracerpingroutingsubnet

I am using Cisco Packet Tracer to simulate a network of two routers each connected to a switch and two hosts per switch. The network is setup as so:
Current configuration

I'm using a default subnet mask of 255.255.255.0. Between router to router, they can ping each other successfully. Between computers on the same switch, they can ping each other successfully. However, when I try to ping PC7 to PC1 for instance, or vice versa, the requests time out. The IP Address of the Seattle Router is 23.12.0.1/24 and Van Nuys is 23.12.0.2/24. I think it might have something to do with the ip route command, but I feel like I've tried everything and still won't work.

Any ideas?

Best Answer

Based on you comments, it seems that you first problem is that you don't know how to subnet, and you need to divide your 23.12.0.0/24 network into four subnets. You can do this by using /26 networks.

Assign a different /26 network to each of the sites, and you will need a network different than the site-assigned networks for you router-to-router link. Usually, you will use a /30 or /31 network for a point-to-point link like you have between the routers.

Once you have the networks correctly assigned, you can set up your routing. Each router will inherently know about the networks directly connected to it, but the router will need to be told about the networks on the other side of the other router. You can do this with static routes (this doesn't scale well), or you can run a common routing protocol between the routers that will automatically tell each router about the networks connected to to the other router.