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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help routing networks together using 2k Server

Status
Not open for further replies.

w595905

IS-IT--Management
Apr 25, 2003
1
US
Hi,

I have 2 small networks and wanted to route them together using a dual-homed win2k server box. I thought I had the static route statements correct but the 2 networks cannot talk. Here are the specifics....

Network 1 - 10.8.8.x
Subnet - 255.255.255.0
Gateway (nic1 on server box) - 10.8.8.1

Network 2 - 10.10.10.x
Subnet - 255.255.255.0
Gateway (nic2 on server box) - 10.10.10.1

What would my routing statements look like on the server box?

I racked my brain looking at this yesterday and figured I ask for your help.

Thanks.
 
You may have the proper routes set for TCP, but you are not seeing the Netbios broadcasts between the subnets.

(Brief MS description, more detailed info below):

The Lmhosts file is a local text file that maps Internet Protocol (IP) addresses to NetBIOS names of remote servers with which you want to communicate over the TCP/IP protocol.

The Lmhosts file is located in the %SystemRoot%\System32\Drivers\Etc folder on a Windows computer. There is also a sample Lmhosts file (Lmhosts.sam) in this folder.

Windows recognizes names instead of IP addresses for network requests and a name discovery process is used to correctly route network requests with TCP/IP. Because the name discovery process is generally not routed by an IP router, the Lmhosts file allows Windows computers to communicate using TCP/IP across a subnet bridged by an IP router.

Under TCP/IP alone, NetBT (NetBIOS over TCP/IP) checks this list in memory before doing a b-node name discovery. For example, a reference to \\Eric is translated to reference the actual IP address of 135.25.25.14 (this is a fictional address).
Sample Lmhosts File
142.25.125.15 Joe #PRE
129.102.12.10 Paul #PRE
148.107.16.45 James
135.25.25.14 Eric #PRE
133.120.26.225 John
192.36.14.250 Ed #PRE
221.250.05.126 Mackey

NOTE: All addresses are fictional.

When Windows loads, it reads the first 100 entries, by default, in the Lmhosts file marked with #PRE. You can increase the number of #PRE entries that will load into memory at logon by adding the MaxPreLoad entry in the registry. This entry should be added to the following registry key:
HKEY_LOCAL_MACHINE\CurrentControlSet\Services\NetBT\Parameters

The maximum number allowed for MaxPreLoad depends on the performance of the system. Some computers are able to parse or search through more entries in the Lmhosts file than others. Based on system performance, Windows usually searches through about 1000 entries before it times out (15 seconds).

============================================
See all these links, as you can have a centrally managed LMHOSTS:

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top