# Router can ping, computer can't

**URL:** <https://boards.straightdope.com/t/router-can-ping-computer-cant/518731>\
**Category:** Factual Questions\
**Created:** [November 24, 2009, 2:44am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731 "2009-11-24T02:44:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skott](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Skott](https://boards.straightdope.com/u/Skott)\
**Post date:** [November 24, 2009, 2:44am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/1 "2009-11-24T02:44:04Z")

</div>

A friend asked me to take a look at their computer which is having problems connecting to the Internet. It’s a RCA cable modem connected to a Linksys wireless router connected to a WinXP SP3 laptop. After some experimentation, I found:

- Plugging the laptop directly into the cable modem results in an in Internet connection.
- When the router is connected to the cable modem instead, the router can successfully ping Internet addresses.
- When the computer is connected to the router, whether wired or wirelessly, there is no ping response from anything except for the router and itself.
- The laptop can reach the router’s admin website (i.e. 192.168.1.1).
- The router’s admin website can remotely be accessed (I had a friend who’s a little more experienced with Linksys routers connect to it as a test).
- Plugging the computer directly into _my_ router results in an immediate Internet connection… but it’s a D-Link.

Any ideas why the laptop can’t reach the Internet when connected to the router, when the router itself can reach it?

---

<div class="post-metadata">

**Author:** ![KneadToKnow](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kneadtoknow/32/3999_2.png) [@KneadToKnow](https://boards.straightdope.com/u/KneadToKnow)\
**Post date:** [November 24, 2009, 2:53am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/2 "2009-11-24T02:53:31Z")

</div>

I’m unclear on how the router is pinging things with no computer attached to it. What interface are you using to accomplish this? What model Linksys router?

---

<div class="post-metadata">

**Author:** ![tr0psn4j](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@tr0psn4j](https://boards.straightdope.com/u/tr0psn4j)\
**Post date:** [November 24, 2009, 3:00am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/3 "2009-11-24T03:00:22Z")

</div>

Does he have a software firewall? Check to see if you’ve blocked the web browser from accessing the internet.

If you can ping a website like Yahoo or the Google, but you can’t view them with IE, he might have used his firewall to block IE.

---

<div class="post-metadata">

**Author:** ![Skott](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Skott](https://boards.straightdope.com/u/Skott)\
**Post date:** [November 24, 2009, 3:23am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/4 "2009-11-24T03:23:53Z")

</div>

> [@KneadToKnow](#):
>
> I’m unclear on how the router is pinging things with no computer attached to it. What interface are you using to accomplish this? What model Linksys router?

The router’s admin page has a diagnostic tool that can ping out. I think it’s a Linksys WRT54G Wireless router, but I can’t verify that until she gets home from work.

> [@tr0psn4j](#):
>
> Does [s]he have a software firewall? Check to see if you’ve blocked the web browser from accessing the internet.

Windows Security Center says that its firewall is enabled, but as I mentioned, it doesn’t interfere with surfing website when the laptop is connected directly to the modem or to my router.

Oh, one thing I forgot to mention is that I did a trace route to [google.com](http://google.com). Step one was the router, after which it died. I guess that means that the router is actively blocking traffic?

---

<div class="post-metadata">

**Author:** ![HorseloverFat](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@HorseloverFat](https://boards.straightdope.com/u/HorseloverFat)\
**Post date:** [November 24, 2009, 3:30am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/5 "2009-11-24T03:30:40Z")

</div>

Im guessing the router is not on your ISPs mac address whitelist. Call them to verify.

Or the gateway/subnet mask is wrong on the router. Where are the addresses coming from? Is the router set to do DHCP? Are the DHCP settings correct?

---

<div class="post-metadata">

**Author:** ![Skott](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Skott](https://boards.straightdope.com/u/Skott)\
**Post date:** [November 24, 2009, 3:41am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/6 "2009-11-24T03:41:13Z")

</div>

> [@HorseloverFat](#):
>
> Im guessing the router is not on your ISPs mac address whitelist. Call them to verify.

Thanks, I’ll do that. But if the router’s not on their whitelist, why would mine be? I have a different ISP than her.

> [@](#):
>
> Or the gateway/subnet mask is wrong on the router. Where are the addresses coming from? Is the router set to do DHCP? Are the DHCP settings correct?

The router is set to DHCP and it is getting the correct gateway/subnet info from the modem. When I plug the laptop into the cable modem, it’s the same settings.

---

<div class="post-metadata">

**Author:** ![HorseloverFat](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@HorseloverFat](https://boards.straightdope.com/u/HorseloverFat)\
**Post date:** [November 24, 2009, 3:53am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/7 "2009-11-24T03:53:38Z")

</div>

\>When I plug the laptop into the cable modem, it’s the same settings.

Then thats wrong. The laptop should be getting a local non-routable address and using the router as its defaut gateway, not the ISPs gateway which it cannot route to.

So if the domain is 192.168.1.x/255.255.255.0 and the router is 192.168.1.1 then the gateway needs to be 192.168.1.1 not the ISPs gatway.

---

<div class="post-metadata">

**Author:** ![Nobody](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Nobody](https://boards.straightdope.com/u/Nobody)\
**Post date:** [November 24, 2009, 3:54am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/8 "2009-11-24T03:54:58Z")

</div>

Edit: Crap, as I was typing this, posts 6 and 7 were posted. Looks like the actual cause of the problem is a bad gateway address. So I’ll delete my obviously wrong idea.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [November 24, 2009, 3:59am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/9 "2009-11-24T03:59:09Z")

</div>

Similar symptoms at a friends place turned out to be the cable modem had the PC mac address cached instead of the router and needed to be flushed by powering down for 5 minutes, try this:

1. Power down cable modem, router and pc
2. Leave it off for 5 minutes so it can flush its mem
3. Power up cable modem
4. After it’s ready, power up wireless router
5. power up computer

---

<div class="post-metadata">

**Author:** ![HorseloverFat](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@HorseloverFat](https://boards.straightdope.com/u/HorseloverFat)\
**Post date:** [November 24, 2009, 3:59am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/10 "2009-11-24T03:59:28Z")

</div>

Also, id verify the router is actually routing. Make sure its not in gateway mode and that its set to do NAT.

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [November 24, 2009, 4:01am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/11 "2009-11-24T04:01:55Z")

</div>

When you ping out, are you pinging a url (say, [google.com](http://google.com)) or an ip (74.125.67.100 if you didn’t know an outside address for testing). If you’re only testing urls it could be a DNS error, try checking the localhost file.

This may sound incredibly weird, why would it be a DNS error if it works when connected directly to the cable modem? Well, the same thing happened to me, and I’m not enough of a networking guru to figure it out, but it worked out that way.

---

<div class="post-metadata">

**Author:** ![Skott](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Skott](https://boards.straightdope.com/u/Skott)\
**Post date:** [November 24, 2009, 4:18am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/12 "2009-11-24T04:18:31Z")

</div>

> [@HorseloverFat](#):
>
> \>When I plug the laptop into the cable modem, it’s the same settings.
> 
> Then thats wrong. The laptop should be getting a local non-routable address and using the router as its defaut gateway, not the ISPs gateway which it cannot route to.

Sorry, I think I gave the wrong impression 🙂 I was trying to say that the DHCP settings on the router when plugged into the modem matched the setting on the laptop when it is plugged into the modem. When the laptop is plugged into the router, the setting are appropriate, i.e. the default gateway becomes 192.168.1.1 and the IP address is local.

> [@RaftPeople](#):
>
> 1. Leave it off for 5 minutes so it can flush its mem

I’d done that, but only for a minute or so. I’ll give it the full five minute treatment. If it helped your friend, I’m hoping that it helps here! Thanks.

> [@Jragon](#):
>
> When you ping out, are you pinging a url (say, [google.com](http://google.com)) or an ip (74.125.67.100 if you didn’t know an outside address for testing).

A DNS problem was actually my first thought. I’ve tried both url and ip pings. I even tried pinging each DNS. No luck.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [November 24, 2009, 4:24am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/13 "2009-11-24T04:24:43Z")

</div>

> [@Skott](#):
>
> I’d done that, but only for a minute or so. I’ll give it the full five minute treatment. If it helped your friend, I’m hoping that it helps here! Thanks.

It was me at my friends trying to get it working for her. I was going down the road of static IP and hardcoding a DNS IP address into the router config when I found some site that mentioned the cable modem cache’s the MAC address of the first device that gets attached. 5 minutes later all was working.

---

<div class="post-metadata">

**Author:** ![KneadToKnow](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kneadtoknow/32/3999_2.png) [@KneadToKnow](https://boards.straightdope.com/u/KneadToKnow)\
**Post date:** [November 24, 2009, 2:39pm UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/14 "2009-11-24T14:39:07Z")

</div>

Would cloning the modem’s MAC address resolve the cache problem?

---

<div class="post-metadata">

**Author:** ![pan1](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@pan1](https://boards.straightdope.com/u/pan1)\
**Post date:** [November 24, 2009, 2:47pm UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/15 "2009-11-24T14:47:59Z")

</div>

Looks like your router and cable modem are using the same address (192.168.1.1)

---

<div class="post-metadata">

**Author:** ![Skott](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Skott](https://boards.straightdope.com/u/Skott)\
**Post date:** [November 24, 2009, 5:09pm UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/16 "2009-11-24T17:09:19Z")

</div>

> [@KneadToKnow](#):
>
> Would cloning the modem’s MAC address resolve the cache problem?

I tried that and the multi-minute reset last night. It seemed the most likely solution, but sadly, it didn’t work. ☹

> [@pan1](#):
>
> Looks like your router and cable modem are using the same address (192.168.1.1)

I’ve run into that issue before, but only when the modem had a built-in router. But I’ll give it a try tonight.

---

<div class="post-metadata">

**Author:** ![KneadToKnow](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kneadtoknow/32/3999_2.png) [@KneadToKnow](https://boards.straightdope.com/u/KneadToKnow)\
**Post date:** [November 24, 2009, 5:22pm UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/17 "2009-11-24T17:22:32Z")

</div>

Have you tried using the reset button on the back of the router?

---

<div class="post-metadata">

**Author:** ![iicents](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@iicents](https://boards.straightdope.com/u/iicents)\
**Post date:** [December 2, 2009, 12:27am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/18 "2009-12-02T00:27:21Z")

</div>

I have the same problem with my router. I can ping anything inside of my network and nothing outside. If i log in to the router, i can then go to the diags page and traceroute or ping anything outside. Restoring factory defaults resolves the problem temporarily and you have to reapply your settings manually. loading settings from backup seems to reapply the problem as well. It appears to be a known issue with the linksys wrt54g firmware Ver.4.21.1 ( [http://forums.linksysbycisco.com/linksys/board/message?board.id=Wireless\_Routers&thread.id=45831](http://forums.linksysbycisco.com/linksys/board/message?board.id=Wireless_Routers&thread.id=45831) ) I am looking for a different version of the firmware to resolve the problem.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![minor7flat5](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/minor7flat5/32/258_2.png) [@minor7flat5](https://boards.straightdope.com/u/minor7flat5)\
**Post date:** [December 2, 2009, 10:50am UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/19 "2009-12-02T10:50:35Z")

</div>

Not sure how far you want to go with this, but if I was dealing with a cranky wrt54g, I would replace its firmware with dd-wrt (if the device was the correct version). Much better firmware IMO.

Not sure if I’d do this with a friend’s router, though. Hope you get the answer to your problem!

---

<div class="post-metadata">

**Author:** ![iicents](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@iicents](https://boards.straightdope.com/u/iicents)\
**Post date:** [December 2, 2009, 6:37pm UTC](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731/20 "2009-12-02T18:37:55Z")

</div>

minor7flat5:  
That was my solution exactly. So far so good. The only complaint i had with dd-wrt was that a reboot resets userid to ‘root’. password remains intact. Definitely not a deal breaker.

[Next page](https://boards.straightdope.com/t/router-can-ping-computer-cant/518731.md?page=2)
