Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

R1841 does not shows static routes configuration

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

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: R1841 does not shows static routes configuration

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 ***
18 REPLIES

Re: R1841 does not shows static routes configuration

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 ***
New Member

R1841 does not shows static routes configuration

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

R1841 does not shows static routes configuration

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 ***
New Member

R1841 does not shows static routes configuration

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

Re: R1841 does not shows static routes configuration

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 ***
New Member

R1841 does not shows static routes configuration

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

New Member

R1841 does not shows static routes configuration

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

Re: R1841 does not shows static routes configuration

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

New Member

R1841 does not shows static routes configuration

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

Re: R1841 does not shows static routes configuration

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.

New Member

R1841 does not shows static routes configuration

Hi Nandan

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

and double sure that fire wall is off

New Member

R1841 does not shows static routes configuration

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..:)

Re: R1841 does not shows static routes configuration

hahaha lol ok. some confusion for me

Hall of Fame Super Silver

Re: R1841 does not shows static routes configuration

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

New Member

R1841 does not shows static routes configuration

Hi Richard

the ping on the pc is working fine

i have off the fire wall

Hall of Fame Super Silver

R1841 does not shows static routes configuration

Abhishek

To be sure that I am understanding the issue correctly, am I correct in understanding that the router is able to ping both of the PCs but the PCs are not able to ping each other?

If that is the case then I would like to see the output of a test where each PC attempts to ping all of the interfaces on the router (each PC pings to 192.168.1.25, to 192.168.1.33, and to10.233.13.9.

HTH

Rick

New Member

R1841 does not shows static routes configuration

from pc 0, 192.168.1.26, ping to

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

Ping statistics for 192.168.1.25:

C:\Users\Abhi>ping 192.168.1.33

Pinging 192.168.1.33 with 32 bytes of data:

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Ping statistics for 192.168.1.33:

    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

Please do not include the

10.233.13.9., as of now, as my E1 is not up currently, so no point , but still copying it

C:\Users\Abhi>ping 10.233.13.9

Pinging 10.233.13.9 with 32 bytes of data:

Request timed out.

Request timed out.

Request timed out.

Request timed out.

Ping statistics for 10.233.13.9:

    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

but , from Pc1

I am actually able to reach 192.168.1.25, and ofcourse 192.168.1.33 (this is may be because, I have turn off fw, and restart the machine during our conversation), this machine is win xp,

let me do same thing with pc0, which is win 7, (turn off fw and restart pc)

New Member

R1841 does not shows static routes configuration

hi all

the problem was with the pc0, fw, which is on Win7,

i have replaced it with another xp mahcine, and now everything is fine

thanks for all quick support

2156
Views
5
Helpful
18
Replies
CreatePlease to create content