Translate this page:

Welcome to our forums. Please sign-in or register

Can't ping past my gateway

Posted: 14:57 05 Jun 04 #1
This is the situation:

My Dsl 604 is connected to my ISP. I can use the routers config menu to ping www.bbc.co.uk (via their IP).
The router is receiving the correct static ip from my ISP. When I run diagnose with my dsl 604, it passes all 4 tests: ADSL line test, PPP test, ISP Connection test, DNS test.

There is a network established by my dsl 604. winipcfg shows that the router is the default gateway and the DHCP server. And it has correctly assigned an IP for my pc.

I can ping the router from a command prompt in windows. But I cannot ping anything past it.

Does anyone know what is going wrong here?
(I'm using windows 98)

Steve.
Posted: 19:55 05 Jun 04 #2
  • rperkin
  • 2535 Posts
  • Join Date: 12 August 2003
  • Location: UK
As I said in your other thread, sounds like a DNS problem to me.

I assume that you can now see your ISP's DNS servers from winipcfg. Ensure that DNS is enabled on the DNS tab of TCP/IP Properties.

Run a command prompt and enter:
nslookup
When you see a > prompt, enter bbc.co.uk
You should see something like:
> bbc.co.uk
Server: ns6.bt.net (or your ISP's DNS server...)
Address: 194.74.65.68 (...and its IP address)

Non-authoritative answer:
Name: bbc.co.uk
Address: 212.58.228.154

[Note: I'm pretty sure the nslookup command is in Win98, but I can't test for certain as it's gone to the great scrapheap in the sky...]

Hope this helps
Posted: 15:17 06 Jun 04 #3
No nslookup in Win98.
I had DNS dissabled on the DNS tab of the TCP/IP properties of my ethernet card.
When I do this winipcfg gets the DNS addresses I have input into my router.

If I enable DNS I will have a few boxes to fill in:
Host
Domain
DNS Server Search Order

I don't know how to fill them in, but this is my guess so far:
For Host - the name of my PC (as seen in network neighbourhood)
For Domain - I don't know the domain of my ISP and have put dns.bt.net
DNS Server Search Order - the address of the the bt dns server (194.72.6.51)

This didn't work. Maybe I need to use the domain name and DNS of my ISP (e7even.com). But I don't know the domain name, and am not to sure about any DNS address I have found for them either.

To clarify how things work - If I enable DNS on the TCP/IP settings of my ethernet card, does this override the DNS settings on my router. Or do they need to be matching?

Steve.
Posted: 16:08 06 Jun 04 #4
  • rperkin
  • 2535 Posts
  • Join Date: 12 August 2003
  • Location: UK
"No nslookup in Win98"
OK - I did say I wasn't sure :(
You could (temporarily, if you feel it is helpful) use a shareware toolset such as NetInfo which you can get via this link.

"I have a few boxes to fill in"
For info on what to put here, have a look at this. Search the page for 'Using DNS for Name Resolution' - it will show sample configuration settings. Also have a read of this and nearby pages for further info. [Note: If I remember correctly, when I used a Win98SE PC with the DSL-604+ I left all the entries blank - but I could be wrong]

"I don't know what I'm doing with the DNS"
Not sure what stage you've reached. Read on...

"DNS my router found automatically from my ISP"
I have given you a number of suggestions, using either DHCP or static IP addresses, and I'm not sure which you are now using.

If you are using DHCP, the the PC will get its (dynamic) IP address from the router *and* the DNS server address(es) from the router. If this is the case, enable the router's DNS Proxy feature. This feature allows the router to store a local copy of name resolutions.You will then have both the router and your ISP's DNS server as valid addresses. If this feature is enabled, the router will hand out the router's address and the ISP's DNS server (one from the 'DHCP Configuration on LAN' screen). If you do not have the feature enabled, then the router will hand out the two addresses on the 'DHCP Configuration on LAN' screen, both of which should be valid DNS servers. Clear as mud?

If you have set a static IP address and do *not* have DHCP set ('Obtain an IP address automatically') for the PC, you will need to enter the DNS servers adresses by hand (as the PC not then get them from the router via DHCP).

Once you have everything configured as if it looks right and have saved the settings, I suggest you power down both the router and PC. Then power up first the router, then the PC.

Also, don't forget to configure your network access for Internet Explorer using Tools | Internet Options | Connections.

"To clarify how things work"
This should be explained in the MS link I gave above. You need to enable DNS on your Win98 PC because otherwise it uses other methods of resolving domain names. If you are using TCP/IP (and you are!) you should definitely be using DNS.

Hope this helps - let us know how you get on

[Note: Using the DNS Proxy feature has been known to cause the router to 'hang' and you will find a number of references to this in the forum. Ignore this until (when? if?) you experience that problem]
Posted: 18:32 06 Jun 04 #5
Ok this time I'll try and ask everything I need to know to get me to the point of a working internet:

With DHCP and proxy DNS enabled, my router obtains a DNS IP from my ISP and assigns the other DNS to its own IP.

Using winipcfg, I see my pc gets a DNS of the router's IP.

This all sounds about right. But I can only ping or "lookup" the router - no outside IPs or addresses work.

My ISP has given me a static IP (a big sell point of many ISPs - though I'm starting to wonder why). Does this mean that I can't use DHCP?
If not, do I have to assign the static IP I have been given to my pc in order to get things to work?

If I have to turn off DHCP, will I have to input DNS IPs in the TCP/IP properties manually?
If so, do I need to know my ISPs domain name? Is there a way of finding it? Or can I use the domain name and DNS IPs of any ISP?

If I input DNS manually on my PC, does this override the DNS on the router, or do they need to match each other?

Thanks for all your efforts,
Steve.
Posted: 21:52 06 Jun 04 #6
  • rperkin
  • 2535 Posts
  • Join Date: 12 August 2003
  • Location: UK
"My ISP has given me a static IP ... Does this mean that I can't use DHCP"
No. This address is assigned to the router. This is the public address at which others on the Internet can contact you.

"do I have to assign the static IP I have been given to my pc"
No. It's the address of the router. Behind the router you use private, local addresses. These are (by default) in the range 192.168.0.2 - 192.169.0.254

"If I have to turn off DHCP, will I have to input DNS IPs in the TCP/IP properties manually?"
Yes. If you turn off DHCP on the router, *no* addresses will be handed out automatically in whcih case you will need to set both the local IP address and the DNS server addresses manually on every PC. You can also leave it enabled on the router, and turn it off on any PC (deselect 'Obtain an IP address automatically') in which case you need to set the local IP address and DNS server addresses on that specific PC - others can still get them from the DHCP server (the router)

"do I need to know my ISPs domain name?"
No. The domain name on the TCP/IP Properties DNS tab is any name you choose for your own 'domain' behind the router

"If I input DNS manually on my PC, does this override the DNS on the router"
Yes. But 'override' is the wrong word. If you have DHCP set on the PC ('Obtain an IP address automatically'), the PC will not get the DNS server addresses from the router automatically, so you need to supply them. These will normally be the ones configured in the router, but they need not be as long as they are valid, reachable DNS servers.

Hope this helps
Posted: 21:59 06 Jun 04 #7
but winipcfg shows that my pc has taken the DNS values from my router automatically.

I can input them manually if I like, but it won't help.

Why can I ping anything using the ping tool inside the routers config menu, but, from my pc, the furthest I can ping is to my router?

Steve.
Posted: 23:19 06 Jun 04 #8
  • rperkin
  • 2535 Posts
  • Join Date: 12 August 2003
  • Location: UK
"my pc has taken the DNS values from my router"
Sounds fine. So looks like this side is now sorted.

You say you also see the Gateway address of the router which is also handed out by DHCP, so everything looks correctly set on the PC

If you have an IP address, DNS server addresses and Gateway address then I'm not really sure why things are not working...

Check on the router's Configuration | NAT Configuration screen that:
NAT Function = enabled

Hope this helps - but I'm running out of ideas
Posted: 00:05 07 Jun 04 #9
It worked!!! And not a moment too soon.

My dial up had practically packed up - took several minutes to download your last post, but turned out to be well worth the wait :)

And Now I can surf at 10x speed. Wheeee.

I had read the chapter on NAT in the DSL 604 manual, but overlooked it completely. I thought I would establish a connection first, then worry about anything regarding security later.

I'm not sure why it works. Maybe because I have a static IP, NAT resolves some routing issues. I'm annoyed that the default value is disabled.

Thanks for all your posts, you're a lifesaver.
Another day of this and I would have been on my ISP's support line at 1/min.

Steve.
Posted: 00:39 07 Jun 04 #10
  • rperkin
  • 2535 Posts
  • Join Date: 12 August 2003
  • Location: UK
"the default value is disabled"
No, the default value is Enabled. This is why it took a while to get to the bottom of the problem. How it changed I'm not sure.

Since it is possible that one would run a No-NAT configuration with a static public IP address, it's possible that the default setting is changed when you Apply the setting IP Control = Static IP on the Configuration | Multiple PVC screen.

"I'm not sure why it works"
NAT is what allows the router to handle communications to/from private IP addresses behind the router. And if it's not enabled, then your PC with address 192.168.0.n can't communicate with the outside world - as you discovered :(

"ISP's support line at £1/min"
My advice is worth every penny you paid for it - or indeed what I am paid to give it! But I'm pleased to be able to help :)

Kind regards
Please suggest any improvements or report problems / abuse to moderator@expansys.com