12-22-2020 01:10 AM
Dear all
i'm studying and refreshing my knowledge in order to apply for CCNA.
i was practising with Cisco Packet Tracer (last version 7.3) and i was configuring static routes on a router.
we have two lans which are directly connected to this router with two gigabit ports and cables
Router giga 0/1 172.16.3.1 255.255.255.0 (line and protocol UP) connected to Lan A 172.16.3.0 255.255.255.0
Router giga 0/2 172.16.2.1 255.255.255.0 (line and protocol UP) connected to Lan B 172.16.2.0 255.255.255.0
Router has 172.16.1.1 255.255.255.0 (line and protocol UP)
at the end of Lan A i have a switch 172.16.3.2 255.255.255.0 (line and protocol UP on VLAN 1)
at the end of LAn B i have a switch 172.16.2.2 255.255.255.0 (line and protocol UP on VLAN 1)
I configured two static routes on the router
ip route 172.16.3.0 255.255.255.0 172.16.3.2
ip route 172.16.2.0 255.255.255.0 172.16.2.2
if i ping from the router my router's two internal ports is successful
if i ping from the switches router's port to each connected (Lan A ping router 172.16.3.1 - Lan B ping router 172.16.2.1)is successful
- when i try to ping from one switch to the other nothing happens (time out)
may you pleale help me in order to understand what i'm missing in order to ping from one LAN to the other ?
may you please help me in order to understad what i'm doing wrongly ?
thks very much for your help
Solved! Go to Solution.
12-22-2020 03:03 AM - edited 12-22-2020 03:04 AM
Looking at your config, you only have...1 router ? You do not need any static routes at all. Make sure the switches have configured:
ip default-gateway 172.16.3.1
ip default-gateway 172.16.2.1
respectively.
Router giga 0/1 172.16.3.1 255.255.255.0 (line and protocol UP) connected to Lan A 172.16.3.0 255.255.255.0
Router giga 0/2 172.16.2.1 255.255.255.0 (line and protocol UP) connected to Lan B 172.16.2.0 255.255.255.0
Router has 172.16.1.1 255.255.255.0 (line and protocol UP)
at the end of Lan A i have a switch 172.16.3.2 255.255.255.0 (line and protocol UP on VLAN 1)
at the end of LAn B i have a switch 172.16.2.2 255.255.255.0 (line and protocol UP on VLAN 1)
I configured two static routes on the router
ip route 172.16.3.0 255.255.255.0 172.16.3.2
ip route 172.16.2.0 255.255.255.0 172.16.2.2
12-22-2020 06:43 AM
Hi Georg, you are right and i'm stupid... i forgot to set the GW .. sorry for this bull**bleep**
12-22-2020 01:42 AM
Hello,
post the zipped Packet Tracer project (.pkt) file.
12-22-2020 01:55 AM
Pkt is not supported ,either PKZ, 7zip either i don't have zip software
is that relevant ?
may i help you with what u need to know ?
router configuration just started ... there is nothing else configured but IP addresses , routes , names
..
12-22-2020 02:16 AM
Hello,
in 7ziip, if you right click on the .pkt file, the second option from below is 'Add to x.zip', does that not work ?
If not, post the output of:
sh run
of both routers.
12-22-2020 03:03 AM - edited 12-22-2020 03:04 AM
Looking at your config, you only have...1 router ? You do not need any static routes at all. Make sure the switches have configured:
ip default-gateway 172.16.3.1
ip default-gateway 172.16.2.1
respectively.
Router giga 0/1 172.16.3.1 255.255.255.0 (line and protocol UP) connected to Lan A 172.16.3.0 255.255.255.0
Router giga 0/2 172.16.2.1 255.255.255.0 (line and protocol UP) connected to Lan B 172.16.2.0 255.255.255.0
Router has 172.16.1.1 255.255.255.0 (line and protocol UP)
at the end of Lan A i have a switch 172.16.3.2 255.255.255.0 (line and protocol UP on VLAN 1)
at the end of LAn B i have a switch 172.16.2.2 255.255.255.0 (line and protocol UP on VLAN 1)
I configured two static routes on the router
ip route 172.16.3.0 255.255.255.0 172.16.3.2
ip route 172.16.2.0 255.255.255.0 172.16.2.2
12-22-2020 06:43 AM
Hi Georg, you are right and i'm stupid... i forgot to set the GW .. sorry for this bull**bleep**
12-22-2020 06:51 AM
Glad that you got it resolved.
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