05-12-2012 08:50 AM - edited 03-04-2019 04:20 PM
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
Solved! Go to Solution.
05-12-2012 09:26 AM
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?
05-12-2012 09:02 AM
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
05-12-2012 09:09 AM
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
05-12-2012 09:16 AM
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
05-12-2012 09:22 AM
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
05-12-2012 09:26 AM
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?
05-12-2012 09:31 AM
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
05-12-2012 09:33 AM
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
05-12-2012 09:22 AM
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
05-12-2012 09:24 AM
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
05-12-2012 09:32 AM
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.
05-12-2012 09:35 AM
Hi Nandan
yes, I can ping both the interfaces NIC of pcs, via router
and double sure that fire wall is off
05-12-2012 09:37 AM
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..:)
05-12-2012 09:38 AM
hahaha lol ok. some confusion for me
05-12-2012 09:34 AM
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
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: