cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
310
Views
3
Helpful
5
Replies

static routing not working

carlbert1999
Level 1
Level 1

Hi, I'm a newbie in networking. I set up static routing correctly according to my CCNA course, but when I test it, it's not working—even though it's very simple. Can anyone please help me? Thank you!

3 Accepted Solutions

Accepted Solutions

sasanka1912
Level 1
Level 1

@carlbert1999 could you paste the configuration and  highlight the connectivity ..I cannot open your zip file unfortunately due to my FW settings

View solution in original post

Hello,

the problem is that the interfaces connecting both of your routers are not in the same subnet. Make the changes marked in bold:

Router0

interface GigabitEthernet0/0

ip address 192.168.3.2 255.255.255.0

 

Router1

Router(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.2

 

Attached the revised, working file.

View solution in original post

Blue_Bird
VIP
VIP

Hello carlbert1999,

Bother router's (Router0 and Router1) Gig0/0 interfaces must be in the same network.

Gopinath_Pigili_2-1741940976079.png

Based on that you will be needed modify the configurations...

Perfrom the following steps:

Router1(config)# interface Gig0/0

Router1(config-if)# no ip address

Router1(config-if)# ip address 192.168.2.2 255.255.255.0

Router1(config-if)# no shutdown

Rotuer0(config)# no  ip route 192.168.4.0 255.255.255.0 192.168.3.1

Rotuer0(config)#  ip route 192.168.4.0 255.255.255.0 192.168.2.2

Now, ping from pc to pc..it works..!

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

 

View solution in original post

5 Replies 5

sasanka1912
Level 1
Level 1

@carlbert1999 could you paste the configuration and  highlight the connectivity ..I cannot open your zip file unfortunately due to my FW settings

Hello,

the problem is that the interfaces connecting both of your routers are not in the same subnet. Make the changes marked in bold:

Router0

interface GigabitEthernet0/0

ip address 192.168.3.2 255.255.255.0

 

Router1

Router(config)#no ip route 192.168.1.0 255.255.255.0 192.168.2.1

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.2

 

Attached the revised, working file.

Thank you, sir. My understanding was that I thought I could connect it using a different network address.

Blue_Bird
VIP
VIP

Hello carlbert1999,

Bother router's (Router0 and Router1) Gig0/0 interfaces must be in the same network.

Gopinath_Pigili_2-1741940976079.png

Based on that you will be needed modify the configurations...

Perfrom the following steps:

Router1(config)# interface Gig0/0

Router1(config-if)# no ip address

Router1(config-if)# ip address 192.168.2.2 255.255.255.0

Router1(config-if)# no shutdown

Rotuer0(config)# no  ip route 192.168.4.0 255.255.255.0 192.168.3.1

Rotuer0(config)#  ip route 192.168.4.0 255.255.255.0 192.168.2.2

Now, ping from pc to pc..it works..!

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

 

carlbert1999
Level 1
Level 1

Thank you, sir. Now it's working.