DUX COMPUTER DIGEST

 

Site Search

Site Info

Home » Forums » Forum Archives » Networking and Internet Sharing » Topic # 2003

Need help in pc router
Hirakawa Jul-11-02 02:25 AM
Hello. Recently I have an idea of combining two LAN together by using one computer (win2000 server) having two NIC and having two different range of ip address.

Configuration:
LAN (192.168.10.*) --> <-- LAN (192.168.11.*)

Description:
LAN (192.168.10.*) is a LAN with internet access. It is made up of firewall, router, switches, workstations and servers.

LAN (192.168.11.*) is another LAN formed by SMC7008ABR broadband router. The wan port of the broadband router connected to the switch of LAN (192.168.10.*) to gain internet access.

Problem:
Due to 192.168.10.* and 192.168.11.* cannot see each other, I decided to use a PC holding two NIC to obtain 10.* and 11.* IP address so that 10.* and 11.* can see each other in network neighbourhood and ping each other as well.

Unfortunately, this way doesn't work. 10.* and 11.* still cannot see each other and ping each other. Therefore, I use add route in 10.* computer so that it can sent ping to 11.* through the PC with two NIC. Until now, two network still cannot see each other in network neighbourhood, but ping is not a problem anymore.

Is there any way to solve this problem?

Thank you.


1. RE: Need help in pc router
Hirakawa Jul-11-02 05:17 AM
In response to message 0
Configuration Update:

LAN (192.168.10.*) --> PC with 2 NIC <-- LAN (192.168.11.*)


2. RE: Need help in pc router
lbyard Jul-11-02 01:53 PM
In response to message 1
I have tried the same thing on more than one occassion and got the same results and it is in a post somewhere in this forum. Workgroups cannot span network segments. Larry

3. RE: Need help in pc router
Hirakawa Jul-11-02 11:34 PM
In response to message 2
I do the following things and got some results:

NETWORK CONFIGURATION:
PC01 (192.168.10.8) --> LAN Switch <-- PC02,NIC01 (192.168.10.7)
PC03 (192.168.11.8) --> SMC7008ABR <-- PC02,NIC02 (192.168.11.7)

192.168.10.6 is the original gateway of 192.168.10.* network.
192.168.11.1 is the address of SMC7008ABR (a gateway for 192.168.11.*)

For PC03, it have a original route table like this:
Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.11.1

Instead of routing to SMC7008ABR, I route to PC02 like this:
Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.11.7

For PC01, it have a original route table like this:
Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.10.6

Instead of routing to original gateway, I route to PC02 like this:
Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.10.7

RESULTS:
PC01 can ping and nbtstat all the computers in 192.168.10.* and 192.168.11.*.

PC03 can only ping and nbtstat 192.168.11.* computers and PC01, not the other 10.* computers, unless I do the same add route to other computers in 192.168.10.*.

Although Network Neighbourhood of both network can see each other (not all the time), but I cannot access PC01.

In order to access PC01 from Network Neighbourhood, I have to use Internet Explorer to call URL "file://192.168.10.8" one time. So that everytime when I use Network Neighbourhood, I can access PC01.


4. RE: Need help in pc router
lbyard Jul-11-02 11:51 PM
In response to message 3
You might want to try hosts and lmhosts tables/files. They map names to IPs. Samples are in like named files with a .sam (for sample) extension in the Windows 9x/me windows directory and in NT/2000/XP the winnt/system32/driver/etc directory. The lmhosts file is very fussy about the spacing of spaces when specifying a domain controller (server). Donít use a proportional spaced font. There is an article on it in the MS Knowledgebase. I may have posted something on it a long time ago and it would probably be in the archive of this forum (or in the old forum at http://duxcw.com/forum/)--seems like I did. I gave-up on the route thing--I don't do that often. Good luck. Good grief! It's been a long time ago already. Larry

5. RE: Need help in pc router
Hirakawa Jul-30-02 00:25 AM
In response to message 4
Finally, I have success in making computers in two different subnets able to see and browse each other in Network Neighborhood through a computer with two NIC installed (Multihome).

REQUIREMENT:
============
1) Multihomed Computer
2) Domain Controller


NETWORK CONFIGURATION:
======================
PC01 (192.168.10.8) --> LAN Switch <-- PC02,NIC01 (192.168.10.7)
PC03 (192.168.11.8) --> SMC7008ABR <-- PC02,NIC02 (192.168.11.7)

PC01 and PC03 are Win2000 Pro workstations. PC02 is Multihoming Computer with 2 NIC. Domain Controller is a Windows 2000 Server locate in subnet with Internet Connection (For my case, it is locate in subnet 192.168.10.* because 192.168.10.6 has the internet access).

192.168.10.6 is the original gateway of 192.168.10.* network.
192.168.11.1 is the address of SMC7008ABR (gateway of 192.168.11.*)


SETUP & INSTALLATION:
=====================
For multihomed computer, you can use either Windows NT or Windows 2000 Server. For Windows NT, you might need to install extra add-on which is known as "Routing & Remote Access Service" provided by Microsoft for free. For Windows 2000 Server, you just need to start the "Routing & Remote Access Service" in Services, follow the screen instructions and make your server act as an IP Router.

For PC03 (192.168.11.8), original route table is like this:
- Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.11.1
Instead of routing to SMC7008ABR, I route to PC02 like this:
- Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.11.7

For PC01 (192.168.10.8), original route table is like this:
- Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.10.6
Instead of routing to original gateway, I route to PC02 like this:
- Network Address 0.0.0.0 Netmask 0.0.0.0 Gateway 192.168.10.7

After finished the setting above, you just need to use your Windows 2000 Pro workstations join the domain (the one that assigned by your domain controller) and you will be able to see both workstations in Network Neighborhood.

Since all the computers that using Windows 2000 or above are using Active Directory to resolve the NetBIOS name, it is better for you to use a workstation with Windows 2000 or XP installed.

If you are using Windows 95/98/NT4.0 as your workstation, you need to install the "Active Directory Client Extension" which can be found in Windows 2000 CD.

You don't need to modify the LMHOSTS file, unless you have difficulty in locating domain name (Domain Controller).


| Home | Guides | How to | Reviews | Online Store | FAQ | Forums | Forum Archives |
| Links | News | Newsletter | About Dux | Advertising | Contact Info | Privacy |