Home > Archive > 70-210 > December 2001 > Internet Connection Sharing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Internet Connection Sharing
csiszerd

2001-12-13, 7:04 pm

I setup Internet Connection Sharing at home with my Cable Modem.
The ICS computer is running Windows 2000 professional and the client is running the same.
On the ICS the internal NIC is 192.168.0.1 like it should be. The client picks up the 192.168.0.x number it is assigned.
The client gets the internet and everything is good.
However I get on the client and I want to connect to the ICS computers shares.
I go into \\ICS_Computername\C$ and the thing takes forever to resolve, but it does.
So I add
192.168.0.1 ICS_Computername to the Host file on the client.
Now BOOM! It come right up.
I thought everything was ok but then I thought wasn't that making a NetBIOS resolution and I added it to the host file for the hostname?
ICS acts as a DHCP Server and a DNS Proxy according to the books.
Why was the computer so slow to resolve? (my guess is that it was doing NetBIOS broadcast)
and why did the host file (NOT lmhost) entry speed it up?
Any ideas?
Joe Blacke

2001-12-13, 10:49 pm

When you used the computer name in the \\icsserver\c$, you were using the netbios name, not a DNS or host name.

It was resolved via netbios broadcast, as you thought. However, when a PC tries to resolve a Netbios name, it will check the local Hosts file before issuing a netbios broadcast. (Yes it does actually check the host file, even though the Hosts file is a static listing of DNS names).

If you had done your \\ by using the ip address of the ics server, rather than the netbios name, it would have been even faster.

Also, the reason it probably came up so fast, is that once it resolve the server name via the netbios broadcast, the servername and ip address was then added to the netbios name cache on the client. It probably never even checked the Hosts file, depending on the time difference between your initial connection to the server and the time you added the host file entry. At a command prompt, type nbtstat -c, and take a look at your name cache.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2009 examnotes.net