Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to ping network devices

Status
Not open for further replies.

cmorales

Instructor
Oct 18, 2002
22
0
0
US
Here's my topology.
DLink Router connected to Cable Modem
LAN Network: 192.168.0.0
Default Gateway 192.168.0.1
Host 192.168.0.2
Host 192.168.0.3

The router above is connected to Cisco 2501 Router which has 2 Ehernet ports.
E0 is part of network 192.168.0.0
E0 ip is 192.168.0.200

E1 is connected to network 172.16.0.0
E1 ip is 172.16.0.1
Host 172.16.0.2

Cisco router also has a default gateway address:
ip route 0.0.0.0 0.0.0.0 192.168.0.1

Here is my dilemma. From the Cisco Router I can ping all Cisco interface and host on both networks. I can even ping Cable WAN ip on cable modem.
However, I cannot ping other network devices from host DOS command line. I can only ping within the network. I can also ping the other network gateway but cannot ping any further.

I'm not sure what the problem is.



 
Hi Cmorales,
It looks slightly like an IP subnetting Issue,
your subnet masks would be of some interest.

-Mesa
 
172.16.0.0 192.168.0.0
You have two different blocks here, if you don't have a routing protocol enabled did you enable routing on the router itself.
COMMAND

IP ROUTING

As well as creat a static map to each route. This is most likely the root of the problem. I suggest just turning on a protocol, EIGRP is fairly easy.
 
Turning on a protocol would not be of use in this case, I doubt he wants his router learning all the routes past his cable modem as they would do him no real good.

The Static route shooting everything to the Dlink router,
the Dlink’s interface is .01 then the Cisco Ethernet Interface on the same net should be .2 but also, if you have two hosts on that network, they should not even have to go through the Cisco, they could just go to the Dlink as their default Gateway, (thinking about your physical topology).

How is the Dlink router connected to the Cisco? Directly into its E0 port? Into a switch/hub?
You have three hosts correct? Two on the 192. network and one on the 172 Network Correct?


-Mesa
 
IP routing is on.
As Mesa states "Turning on a protocol would not be of use in this case" because the networks are directly connected.
I do have a default gateway static address on router: ip route 0.0.0.0 0.0.0.0 192.168.0.1

Good question Mesa. I have a 10/100 Hub between the Dlink and Cisco router. Straigh throught cables going from router to Hub.

As I stated earlier, from the cisco router, I can ping all interfaces as well as host on both networks. But I cannot ping from one network host the another network host.
 
Mesa,

Network 192.168.0.0
default subnet mask: 255.255.255.0
default gateway: 192.168.0.1 (on DLink router)

Network 172.16.0.0
default subnet mask: 255.255.0.0
default gateway: 172.16.0.1

 
One easy solution would be to add a static route on each router pointing to the other router. Post the result of "show ip route" on the cisco router.
 
mgooder is right and that is basically what I said before but no one listened

Ok, here is the thing, it does not matter that interfaces are on the same machine. They are different blocks of addresses. Even with ip classles enabled he does not have a routing protocol enabled so the router will not know where to go for the route. If you want route 172.0.0.0 to reach route 192.0.0.0 you HAVE (stressing this) tell the router where this route is located! If you want to go in the reverse path you need yet again a static command stating this path. You also need a gateway of last resort so the router knows where to place packets it has no clue of where to send something.

Your routes would look something like:

ip route 192.168.0.0 255.255.0.0 172.0.0.1
ip route 172.0.0.0 255.255.0.0 192.168.0.200
your gateway of last resort
ip route 0.0.0.0 0.0.0.0 192.168.0.0.1

Now that I covered that, placing a routeing protocol on the machine will not enable it to learn routes from the DOCSIS router that is the cable modem. One, it 9-10 chances isn't running the same protocol. Two, it 99.9999999999% chances is NOT going to be on the same AS number! So as for it dynamically learning routes beyond itself is not possible.
So that is a mute point, besides EIGRP,OSPF, egghh the horrid RIP were all designed for internal networking. BGP is designed for external use, even enabling this would not get you dynamic learning abilities beyond your local area.
I simply was stating enable EIGRP, throw a gateway of last resort on it and consider yourself done for the day. It's easier by far, but that is a personal opinion. The static routes will work fine for your design.
 
Thanks for your advice...
Let me try it.
I will post results later...
 
Simply put the packets do not knwo where to do.

If yiu do not have IP routing turned on ou must use the IP DEFAULT-Gateway comand.

Your packets are dropped because the routers does not know where to send them, even though they are directly connected. You have to either put in a static route for every destination or enable a routing protocol.

Do not worry about learning routes beyond your dlink. That will not happen because you are not using public IPs. Does your ddlink ahve any routes beside to the modem now, no.


I would suggest turning on RIPv2 on your routers and on your Dlink. RIP v2 very easy to configure and once you get it working you can move up the routing protocol ladder.

Also take a look at ip classless.
 
Wow, typed typed too fast there and made a bunch of silly spelling mistakes.
 
I implemented Rip v1 on the cisco router to no avail.
I also added a static route to the cisco router. I can't add a static on the Dlink. Still cannot ping to any of the devices on opposite networks.
Haven't tried this yet, but could the default gateway be an issue?
Here the topology again...

Network / Default Gateway
172.16.0.0/16 192.168.0.0/24
DG 172.16.0.1 192.168.0.1

Cisco 2514 DLINK
PC<---SWITCH<---[ e0 / e1 ]--->HUB--->ROUTER--->Cable
.2 .1 .200 | .1
|
PC
.100
 
correction on the Ehternet ports

Network / Default Gateway
172.16.0.0/16 192.168.0.0/24
DG 172.16.0.1 192.168.0.1

Cisco 2514 DLINK
PC<---SWITCH<---[ e1 / e0 ]--->HUB--->ROUTER--->Cable Modem
.2 .1 .200 | .1
|
PC
.100
 
is this picture clearer?

Network / Default Gateway
172.16.0.0/16 192.168.0.0/24
DG 172.16.0.1 192.168.0.1

Cisco 2514 DLINK
PC<--SWITCH<--[ e1 / e0 ]-->HUB-->ROUTER-->Cable
.2 .1 .200 | .1
|
PC
.100

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top