[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Unable to Ping other interfaces when route appears to be there

Posted on 2008-02-05
9
Medium Priority
?
353 Views
Last Modified: 2010-04-17
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
0
Comment
Question by:njcomp3
  • 5
  • 4
9 Comments
 
LVL 6

Expert Comment

by:cedarghost
ID: 20824155
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
 

Author Comment

by:njcomp3
ID: 20824209
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
 

Author Comment

by:njcomp3
ID: 20824224
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 6

Expert Comment

by:cedarghost
ID: 20824317
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
 
LVL 6

Expert Comment

by:cedarghost
ID: 20824324
You are right by the way, you don't need static routes if you are using OSPF.
0
 

Author Comment

by:njcomp3
ID: 20824541
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
 
LVL 6

Expert Comment

by:cedarghost
ID: 20824563
Just a question, why are you using Area 1? Do you have an Area 0?
0
 

Author Comment

by:njcomp3
ID: 20824630
no sure..i didnt design this network...soooo

I did sh ip ospf border-routers and everything was in Area 1
0
 

Accepted Solution

by:
njcomp3 earned 0 total points
ID: 20832535
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question