cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
573
Views
3
Helpful
4
Replies

Another Static Routing Not Working

Arren
Level 1
Level 1

Arren_0-1696823768751.png

I've seen many discussion on this, I repeat the procedure but still does not work on my project.

1. I tried to configure

Router0

as following:

- FastEthernet 0/0: 192.168.1.254       255.255.255.0

- Fast Ethernet 0/1: 192.168.10.2       255.255.255.0

- Static routing: ip route 172.16.1.0 255.255.255.0 172.16.10.2

 

2. And then for the

Router1

configuration as following:

- FastEthernet 0/0: 172.16.1.254      255.255.255.0

- FastEthernet 0/1: 172.16.10.2       255.255.255.0

- Static Routing: ip route 192.168.1.0 255.255.255.0 192.168.10.2

 

But, when I tried to ping any computer from one subnet to another computer in another subnet. it always failed:

Arren_1-1696824908666.png

I also attach the file in .zip form, thankyou.

 

 

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

Hello @Arren

Diffrents things are wrong on your PT project. Let's clarify:

First, Gateways of Pc are no correct. Example on PC0:

M02rt37_0-1696826675684.png

Gateway have to be on the same subnet to play its role of Gateway!

For PC on the left side 192.168.0.0/24, you could use IP Gw as 192.168.0.254 ; IP GW configured on the
Router0
.

For PC on the right side 172.16.0.0/24, you could use IP Gw as 172.16.0.254 ; IP GW configured on the
Router1.

Also, between Switches and Routers, you need a Router On A Stick:

https://www.grandmetric.com/knowledge-base/design_and_configure/router-on-a-stick-approach-cisco-configuration/

Configures Switch's interface facing the router as a trunk:

M02rt37_1-1696826931083.png

Do the same on the two switches. 

On Router's interface facing the switch configure

sub-interface (Router on a stick)

- Example on

Router0:

M02rt37_2-1696827096638.png

Do the same on

Router1

, but adjust IP address with this IP: 172.16.0.254 255.255.255.0.

After that, PC should ping their Gateway, assuming you modify Gateway on Pc:

Example for PC0, is able to ping its Gateway now:

M02rt37_3-1696827222301.png

Then modify Fa0/1 on

Router0

. You configure 2 different subnet on that interconnection between R0 and R1. You can use 172.16.1.0/24 for that interco:

On

Router0

you should have this on Fa0/1:

M02rt37_4-1696827654305.png

Try a ping from

 Router0 to Router1

fa0/1 interface:

M02rt37_5-1696827699959.png

Then, adjust static route on

 Router0 and Router1:

Router0: 

M02rt37_6-1696827732959.png

Router1:

M02rt37_7-1696827750704.png

Finally, you should be able to ping PC from each other. Example PC0 ping towards PC2 after all the modifications:

M02rt37_8-1696827809156.png

 

Notes:

--For Router's interconnection, you should use a /30 subnet, only 2 IP are needed.

--Use an other vlan id for PCs - vlan 1 is not recommended -

--Configure switch's port where PC are conencted as Acess port like this:

switchport mode access

switcport access vlan <id_vlan>

 

 

 

 

 

 

 

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

4 Replies 4

M02@rt37
VIP
VIP

Hello @Arren

Diffrents things are wrong on your PT project. Let's clarify:

First, Gateways of Pc are no correct. Example on PC0:

M02rt37_0-1696826675684.png

Gateway have to be on the same subnet to play its role of Gateway!

For PC on the left side 192.168.0.0/24, you could use IP Gw as 192.168.0.254 ; IP GW configured on the
Router0
.

For PC on the right side 172.16.0.0/24, you could use IP Gw as 172.16.0.254 ; IP GW configured on the
Router1.

Also, between Switches and Routers, you need a Router On A Stick:

https://www.grandmetric.com/knowledge-base/design_and_configure/router-on-a-stick-approach-cisco-configuration/

Configures Switch's interface facing the router as a trunk:

M02rt37_1-1696826931083.png

Do the same on the two switches. 

On Router's interface facing the switch configure

sub-interface (Router on a stick)

- Example on

Router0:

M02rt37_2-1696827096638.png

Do the same on

Router1

, but adjust IP address with this IP: 172.16.0.254 255.255.255.0.

After that, PC should ping their Gateway, assuming you modify Gateway on Pc:

Example for PC0, is able to ping its Gateway now:

M02rt37_3-1696827222301.png

Then modify Fa0/1 on

Router0

. You configure 2 different subnet on that interconnection between R0 and R1. You can use 172.16.1.0/24 for that interco:

On

Router0

you should have this on Fa0/1:

M02rt37_4-1696827654305.png

Try a ping from

 Router0 to Router1

fa0/1 interface:

M02rt37_5-1696827699959.png

Then, adjust static route on

 Router0 and Router1:

Router0: 

M02rt37_6-1696827732959.png

Router1:

M02rt37_7-1696827750704.png

Finally, you should be able to ping PC from each other. Example PC0 ping towards PC2 after all the modifications:

M02rt37_8-1696827809156.png

 

Notes:

--For Router's interconnection, you should use a /30 subnet, only 2 IP are needed.

--Use an other vlan id for PCs - vlan 1 is not recommended -

--Configure switch's port where PC are conencted as Acess port like this:

switchport mode access

switcport access vlan <id_vlan>

 

 

 

 

 

 

 

 

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Gopinath_Pigili
Spotlight
Spotlight

Hi Arren...

Router0 fa0/1 and Router1 fa0/1

must be in same network...

but in your case it is different...

Router0 fa0/1 ip address is 192.168.10.2 and Router1 fa0/1 ip address is 172.16.10.2...

Change any router to match those ip address...issue will solve...

Best regards
******* If This Helps, Please Rate *******

 

Thankyou

You're so welcome @Arren 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card