10-08-2023 09:20 PM - last edited on 10-09-2023 11:42 PM by Translator
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:
I also attach the file in .zip form, thankyou.
Solved! Go to Solution.
10-08-2023 10:07 PM - last edited on 10-09-2023 11:51 PM by Translator
Hello @Arren
Diffrents things are wrong on your PT project. Let's clarify:
First, Gateways of Pc are no correct. Example on PC0:
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:
Configures Switch's interface facing the router as a trunk:
Do the same on the two switches.
On Router's interface facing the switch configure
sub-interface (Router on a stick)
- Example on
Router0:
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:
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:
Try a ping from
Router0 to Router1
fa0/1 interface:
Then, adjust static route on
Router0 and Router1:
Router0:
Router1:
Finally, you should be able to ping PC from each other. Example PC0 ping towards PC2 after all the modifications:
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>
10-08-2023 10:07 PM - last edited on 10-09-2023 11:51 PM by Translator
Hello @Arren
Diffrents things are wrong on your PT project. Let's clarify:
First, Gateways of Pc are no correct. Example on PC0:
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:
Configures Switch's interface facing the router as a trunk:
Do the same on the two switches.
On Router's interface facing the switch configure
sub-interface (Router on a stick)
- Example on
Router0:
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:
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:
Try a ping from
Router0 to Router1
fa0/1 interface:
Then, adjust static route on
Router0 and Router1:
Router0:
Router1:
Finally, you should be able to ping PC from each other. Example PC0 ping towards PC2 after all the modifications:
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>
10-09-2023 02:33 AM - last edited on 10-09-2023 11:54 PM by Translator
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 *******
10-09-2023 02:40 AM
Thankyou
10-09-2023 03:06 AM
You're so welcome @Arren
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide