Networking Help Please
Author
Discussion

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
I've managed to bugger up my wireless network

I have a desktop with a Belkin WRT54G router. It can't route though as my ADSL connection is USB and it hasn't got a USB port.

So, I had it set up to network the desktop and laptop and use Internet Connection Sharing to give the laptop access to the internet.

I've done something to bugger that up!

Diagnostics I've run so far.

- laptop can ping desktop
- desktop can ping laptop
- laptop can't ping internet sites

I can't remember if my network was set up in 'infrastructure' mode or 'ad hoc' mode. It's now in Infrastructure as that works (ad hoc doesn't seem to connect).

Can any experts shed any light on this?

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
Please run a ipconfig in the cmd window on the laptop and desktop

What is the default gateway set ...

and are the subnet mask the same

G Man

GreenV8S

31,021 posts

314 months

Friday 25th February 2005
quotequote all
I assume the PC with the direct ADSL connection can still access the internet?

Haven't used ad-hoc mode but as far as I understand it, it would enable two wireless adapters to connect directly to each other rather than going through the wireless access point (router). Since you have the router in there, infrastructure mode seems appropriate. Bi-directional pings seems to confirm the wireless side is working OK.

I would suspect the ICS isn't working. Not used it myself but as far as I understand it, it basically enables routing on the host and sets the host as the default gateway for the client. ipconfig/all on the client would show whether the host was still set as the default gateway. If that isn't it, hopefully somebody who knows what they're talking about will have spotted this thread by then.

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Laptop
Windows 2000 IP Configuration

Host Name . . . . . . . . . . . . : PH-laptop1
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 3:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Wireless-G Notebook Adapter
Physical Address. . . . . . . . . : 00-0C-41-2F-38-7B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.101
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : 25 February 2005 19:05:42
Lease Expires . . . . . . . . . . : 25 February 2005 19:10:42

Desktop (Host)
Windows 2000 IP Configuration

Host Name . . . . . . . . . . . . : PH-DESKTOP2
Primary DNS Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MTW Netwo
tion
Physical Address. . . . . . . . . : 00-0B-DB-5C-AF-E2
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
Lease Obtained. . . . . . . . . . : 25 February 2005 18:56:15
Lease Expires . . . . . . . . . . : 25 February 2005 19:01:15

My understanding is that DNS type operations are not being passed through from the desktop as required.

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
Checked out my desktop which does the same job.

It also has the IP addresses of the ISP

I would run set up on the Desktop, if you want I will talk it thru like for like from my settings


G Man

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
I left that bit off

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
in the network connections window of the laptop does the lap top see the other pc as a internet gateway

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
I thought so. Isn't that what this is telling us?

Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1

Or is there somewhere else I should be looking?

JamieBeeston

9,294 posts

295 months

Friday 25th February 2005
quotequote all
when you say it cant ping internet sites.

can it ping ips

213.232.90.1

try and ping that.

does it return a reply.

might just be DNS is broke

nslookup pistonheads.com

try that too.

I find 90% of the time, firewalls are the issue..

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Nope it give 'request timed out' when trying to access IP address of sites on the internet.

So it can access the local network but doesn't seem to be using the gateway correctly.

I've tried turning off my firewall during testing to no avail.

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
Do

Start -> control panel -> network connnection

You should see a Lan or High Speed connection

"Yournetwork"

And also a Internet Gateway

"ISP Broadband onxxx" for instants

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Yes, I have ADSL and LAN listed.

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
PT

THis all looks good, what are the firewall settings, has anyhing changed

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Nope, and turning firewalls off on both machines doesn't help.

GreenV8S

31,021 posts

314 months

Friday 25th February 2005
quotequote all
Is the desktop working correcting i.e. able to do DNS lookups and ping external IP addresses?

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Yep, that's what I'm posting this from.

Looks like Internet Connection Sharing simply isn't working for some reason. The client machine can't do DNS type things or access the internet - hence the host isn't acting as a gateway.

I can find all sorts of stuff about configuring ICS online, but I can't find much on troubleshooting/diagnosis

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
nslookup on the client returns "Default Server Unknown/192.168.1.1"

PetrolTed

Original Poster:

34,468 posts

333 months

Friday 25th February 2005
quotequote all
Pinging internet servers from the client gives 'destination net unreachable'

longq

13,864 posts

263 months

Friday 25th February 2005
quotequote all
PetrolTed said:
nslookup on the client returns "Default Server Unknown/192.168.1.1"


Possibly silly question but have you tried re-booting one or both machines?

I don't use ICS but I do have a Wireless network of 4 machines (sometimes 6) on an ad-hoc basis and sometimes connections go 'missing' or a two way connection becomes a one way connection for a while.

I know ad-hoc is a bit of an odd ball compared with infrastructure but it is possible that some temporary record/file holding key data has become corrupt but will regenerate on re-boot. Desktop first if you boot both.

G Man

4,053 posts

290 months

Friday 25th February 2005
quotequote all
long shots

flush dns

ipconfig /flushdns