cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4429
Views
5
Helpful
18
Replies

R1841 does not shows static routes configuration

Abhishek Nagar
Level 1
Level 1

Hi

I have the cisco 1841, where I am trying to put the static routes on it,

it does execute the route commnad but does not show the static route

can you please help on this, what can be the problem?

Below is the out come

lab_router1(config)#ip route 192.168.1.24 255.255.255.248 fas 0/0

lab_router1(config)#ip route 192.168.1.32 255.255.255.248 fas 0/1

lab_router1(config)#exit

lab_router1#sh ip route stati

lab_router1#sh ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

       E1 - OSPF external type 1, E2 - OSPF external type 2

       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2

       ia - IS-IS inter area, * - candidate default, U - per-user static route

       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.1.0/29 is subnetted, 2 subnets

C       192.168.1.32 is directly connected, FastEthernet0/1

C       192.168.1.24 is directly connected, FastEthernet0/0

1 Accepted Solution

Accepted Solutions

Can you post a diagram? This should be working. Do you have anything in between you and the router? Did you check your firewalls on the workstations?

HTH, John *** Please rate all useful posts ***

View solution in original post

18 Replies 18

John Blakley
VIP Alumni
VIP Alumni

Abhishek,

What are you trying to accomplish? Your interface is configured at 192.168.1.33 and you're trying to route the network address out the interface that the subnet is connected to. For example:

You're subnet is 192.168.1.32/29. That gives you a useable address of 192.168.1.33 - 38. You won't be able to route the way that you're wanting to, which is why the static route doesn't show up in your routing table.

This also goes for the other interface that you have addressed at 192.168.1.25/29. The network is 192.168.1.24/29 with .25 - .30 as useable addresses.

HTH,

John

HTH, John *** Please rate all useful posts ***

Hi John

I have pc connected on the each fa 0/0 and 0/1

pc0- 192.168.1.26   and pc-1 192.168.1.34

But I am not able to reach from one pc 0 to 1 and vice versa

although I can see the connected networks on the router

Do you have a default gateway set up on the pc? You don't need to do anything more on the router because they're connected networks. The router will just route for them, but you will need default gateways on the hosts pointing to their respective gateways:

pc0 192.168.1.26 - default gateway 192.168.1.25

pc1 192.168.1.34 - default gateway 192.168.1.33

If you can't ping between the two, see if you can ping the gateway's address. If you can, then make sure your firewalls aren't on on the hosts.

HTH,

John

HTH, John *** Please rate all useful posts ***

yes I have gw on pc and able to reach each gw respectively by pc 0 and 1

pc0

Link-local IPv6 Address . . . . . : fe80::2135:14

IPv4 Address. . . . . . . . . . . : 192.168.1.26

Subnet Mask . . . . . . . . . . . : 255.255.255.248

Default Gateway . . . . . . . . . : 192.168.1.25

C:\Users\Abhi>ping 192.168.1.25

Pinging 192.168.1.25 with 32 bytes of data:

Reply from 192.168.1.25: bytes=32 time=1ms TTL=255

Reply from 192.168.1.25: bytes=32 time<1ms TTL=255

Reply from 192.168.1.25: bytes=32 time=1ms TTL=255

Reply from 192.168.1.25: bytes=32 time<1ms TTL=255

pc1

IPv4 Address. . . . . . . . . . . : 192.168.1.34

Subnet Mask . . . . . . . . . . . : 255.255.255.248

Default Gateway . . . . . . . . . : 192.168.1.33

Can you post a diagram? This should be working. Do you have anything in between you and the router? Did you check your firewalls on the workstations?

HTH, John *** Please rate all useful posts ***

no there is nothing coming in between pc and router

I have simulated things on packet tracer, and its working fine, but not with the actual cisco 1841.

I am attaching it here

Originally, I am trying to use this router as the WAN link between two nodes in the network, using the WIC card, E1 media

but that was failing

so while doing further diagnosis I came with this problem where I am not able to actually reach through within any two interfaces of this router

Nandan Mathure
Level 1
Level 1

Hi Abhishek,

You dont see those routes in routing table as same networks are connected interfaces. So they have Administrative distance of 0 and static routes have AD of 1 which makes them less preffered.

Thanks,

Nandan

hi Nandan

I have pc connected on the each fa 0/0 and 0/1

pc0- 192.168.1.26   and pc-1 192.168.1.34

But I am not able to reach from one pc 0 to 1 and vice versa

although I can see the connected networks on the router

yes I have gw on pc and able to reach each gw respectively by pc 0 and 1

pc0

Link-local IPv6 Address . . . . . : fe80::2135:14

IPv4 Address. . . . . . . . . . . : 192.168.1.26

Subnet Mask . . . . . . . . . . . : 255.255.255.248

Default Gateway . . . . . . . . . : 192.168.1.25

C:\Users\Abhi>ping 192.168.1.25

Pinging 192.168.1.25 with 32 bytes of data:

Reply from 192.168.1.25: bytes=32 time=1ms TTL=255

Reply from 192.168.1.25: bytes=32 time<1ms TTL=255

Reply from 192.168.1.25: bytes=32 time=1ms TTL=255

Reply from 192.168.1.25: bytes=32 time<1ms TTL=255

pc1

IPv4 Address. . . . . . . . . . . : 192.168.1.34

Subnet Mask . . . . . . . . . . . : 255.255.255.248

Default Gateway . . . . . . . . . : 192.168.1.33

As what John mentioned that there is possibility of Firewall being present on the hosts. Just to rule out this possibility can you ping from router to the invidual hosts? let us know.

Nandan.

Hi Nandan

yes, I can ping both the interfaces NIC of pcs, via router

and double sure that fire wall is off

no no,

i have used packet tracer, before positng this, to make sure its not configuration problem in my actuall (physical) router

and provided to the screen shot using packet tracer

actually its physical router 1841..:)

hahaha lol ok. some confusion for me

Abhishek

Nandan has given the correct details to explain why your configured static routes do not show up in the routing table. (and +5 to him for this good explanation).

If the PCs do have the addresses and gateways correct and do not ping each other I would guess that there are personal firewalls on the PCs that are preventing ping from working. I would suggest that you check the PCs for personal firewall and whether it is denying ping. As a test, you might try turning off the personal firewall and see if ping works. Or you might try using some other application to test connectivity between the PCs.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card