cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3664
Views
5
Helpful
19
Replies

Cannot successfully setup static routes so devices can ping each other

jahedhussein
Level 1
Level 1

In my diagram on packet tracer, I have 3 routers. I have connected all 3 routers together so I now need to setup static routes so that a PC on one of the subnets can successfully ping another PC from a different subnet. 

 

For example, PC1 in subnet A has:

Screenshot_8.png

AND I want it to ping PC2 in subnet B which has:

Screenshot_7.png

however, I cannot do this as I am struggling to setup the static routes.

 

I managed to connect the routers to one another but I cannot get my head around the static routes. Any help would be appreciate as I need to have it completed very very soon.

 

19 Replies 19

Also with your configuration, I can only ping from Edingburgh to Aberdeen and vice versa. Glasgow is unreachable and it cannot ping the other two.

Hello,

 

the Glasgow router has no LAN IP address (FastEthernet0/0), you need to configure an IP address that does not overlap with anything else.

I tried 133.221.192.254 with a subnet mask 255.255.255.240 but it does not work. I have no clue what I could use.

 

Edit: I am using 133.221.192.50 and it works, now all three subnet PCs can ping one another, I was wondering, could you explain why you used 0.0.0.0/0 in the routing tables for Edinburgh and Aberdeen?


@jahedhussein wrote:

Thank you for your response Paul, I appreciate it. 

 

I was told to stay away from the CLI for now but I think I get it.

 

So if I wanted PC1 from subnet A to communicate with PC2 from subnet B from subnet A router my static route would look like this 

 


Hello
You need to understand for static routing to work the routers need to be told manually how to route traffic to each other,

Below is a description on how to accommodate this, the PCA & PCB networks need to be in different ip ranges, so below I have created two different networks for the PCs and two different networks for the intercommunication of the 3 routers

 

PCA and PCB are separated by 3 routers A<>C<>B

Router A is connected to PCA and also router C
Router A needs to know how to reach PCB network so we add a static route for PCB network to point and route traffic to router C via its directly connect link.

Router A
int x/x
description connecting to pc A
ip address 133.221.192.99 255.255.255.128

int x/x
description connecting to Router C
ip address 10.1.12.1 255.255.255.252

ip route 133.221.193.0 255.255.255.128 10.1.12.2   < static route for PC B network via its connected link to Router C


Router B is connected to PCB and also router C
Router B needs to know how to reach PCA network, so we add a static route for PCA network to point and route traffic to router C via its directly connect link.


Router B
int x/x
description connecting to pc B
ip address 133.221.193.99 255.255.255.128

int x/x
description connecting to RC
ip address 10.1.23.1 255.255.255.252

ip route 133.221.192.0 255.255.255.128 10.1.23.2 < static route for PC A network via its connected link to Router C

 


Router C interconnects both routers A/B, this router will have static routes pointing to PCA network and PCB network so it can pass traffic between routers A/B

Router C
int x/x
description connecting to Router A
ip address 10.1.12.2 255.255.255.252

int x/x
description connecting to Router B
ip address 10.1.23.2 255.255.255.252


ip route 133.221.192.0 255.255.255.128 10.1.12.1  < towards PC A network via its connected link to Router A
ip route 133.221.193.0 255.255.255.128 10.1.23.1 < towards PC B network via its connected link to Router B


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

 

I have added an IP address to FastEthernet0/0 on the Glasgow router, and changed the subnet mask on the LAN interface of the Edinburg router. All PCs have been set to DHCP.

 

Attached the revised file.

Review Cisco Networking for a $25 gift card