cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1271
Views
10
Helpful
6
Replies

CCNA static routes on ROUTER and routing between LANs

mstillante
Level 1
Level 1

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

 

2 Accepted Solutions

Accepted Solutions

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

View solution in original post

Hi Georg, you are right and i'm stupid... i forgot to set the GW .. sorry for this bull**bleep**

View solution in original post

6 Replies 6

Hello,

 

post the zipped Packet Tracer project (.pkt) file.

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

..

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.

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

Hi Georg, you are right and i'm stupid... i forgot to set the GW .. sorry for this bull**bleep**

Glad that you got it resolved.