Unable to Ping other interfaces when route appears to be there

All our devices are on vlan 1 in one building. However, we are trying to implemenet a new link. All devices
are using the 192.168.1.0 Network. However we are trying to add 192.168.21.0

On our 2950 switch we have 3 routers attached

Users have are given 2 default gateways via DHCP-One Gateway From Router A and the other from Router B

Router A-192.168.1.252
Router B-192.168.1.245

Router C will be the new subnet and Gateway -192.168.21.236

From Router B I can ping the 192.168.21.236 interface.



RouterB#sh ip route 192.168.21.236
Routing entry for 192.168.0.0/16, supernet
Known via "static", distance 1, metric 0

But from router A I cant
router A>sh ip route 192.168.21.236
% Network not in table

From my desktop on the 192.168.1.X subnet, I can ping the 192.168.21.236 interface. Perhaps I using Router B gateway when I do this??

However, when I switch over to the 192.168.21.X subnet, and use the .21.236 on router C-as my default gateway I CAN'T ping Router A but can Ping router B


BUT I have a route to the entire 192.168.1.0 network...via connection to router B. This would include a route to router A

Router A-192.168.1.252
Router B-192.168.1.245


Router C #sh ip route 192.168.1.252
Routing entry for 192.168.1.0/24
Known via "connected", distance 0, metric 0 (connected, via interface)
Redistributing via ospf 100

RouterC #ping 192.168.1.252
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.252, timeout is 2 seconds:
...
Success rate is 0 percent (0/3)
RouterC#ping 192.168.1.245

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.245, timeout is 2 seconds:
!!!!!



However, only when I log into router B-can I ping router A

I'm stumped


I see no access lists applied to any interface on Router A that would deny ICMP
njcomp3Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cedarghostCommented:
Did you add  static routes on the old routers to point to the new networks (one for your router to router connection and one for the LAN on the new router)? The directly connected router will only need a static route to the LAN. The other router will need a route to both.
0
njcomp3Author Commented:
No -no new static routes were added-since the routers can ping other IP interfaces on each other.and
since the new router as a route to the 1.0 subnet, it doesnt make sense that I cant ping
an active interface on a router that is assigned the 1.0 address range..does it?

also..can I add static routes even though the destination is not directlty connected, but connected
via 2950 switch...router 1 fe2/0.........and router 2 fe 3/0 on the switch?
0
njcomp3Author Commented:
also....router C  has a secondary IP interface of 1.236 which I can  ping from router A
but the primary interface of 21.236 I can not ping from router A
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

cedarghostCommented:
Can you ping the .252 address from the router it is assigned on? Also, I see that you are using OSPF. Can you post your entire routing table via "show ip route" and also post "show router ospf 100"
0
cedarghostCommented:
You are right by the way, you don't need static routes if you are using OSPF.
0
njcomp3Author Commented:
The .252 address is the HSRP interface of router A. From router C I can not ping any interfaces on Router A.  From router A I can only ping the secondary IP interface on router C.

This is form router C

router ospf 100
 router-id 192.168.21.236
 log-adjacency-changes
 redistribute connected subnets
 network 192.168.1.0 0.0.0.255 area 1
 network 192.168.100.0 0.0.0.255 area 1
 network 192.168.118.0 0.0.0.255 area 1
 network 192.168.255.0 0.0.0.255 area 1
0
cedarghostCommented:
Just a question, why are you using Area 1? Do you have an Area 0?
0
njcomp3Author Commented:
no sure..i didnt design this network...soooo

I did sh ip ospf border-routers and everything was in Area 1
0
njcomp3Author Commented:
I added a static route on  Router A  to  the secondary IP of router B

router B has these interfaces

interface FastEthernet0/0
 ip address 192.168.1.236 255.255.255.0 secondary
 ip address 192.168.21.236 255.255.255.0

Router A  has this interface
interface FastEthernet0/0
 ip address 192.168.1.250 255.255.255.0


I added this route to router A and was able to ping Router A  from the  192.168.21.0 subnet

ip route 192.168.21.0 255.255.255.255.0 192.168.1.236  <----------(.1 subnet)

However, when I changed the route to this

ip route 192.168.21.0 255.255.255.255.0 192.168.21.236  <-----------(.21 subnet)

I was unable to ping router A from the  192.168.21.0 subnet


These are interconnected via 2950 switch

Both routers have routes to each other via "connected" fe0/0-which is connected to the 2950 to
the  192.168.1.0 subnet

Why do I need to add a static route ONLY on router A to ping back and forth, and
why does this only work if the static route is pointing to the secondary .1.236 address
of router B?



0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.