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

Routing Between 2 networks

Status
Not open for further replies.

arnold8

IS-IT--Management
Sep 19, 2002
34
0
0
IN
Hi all...this is my network setup..

I have around 30 users connected to 192.168.10.0/25 network. Here the file server is a win2000 server in a local domain abc. I also have another 30 users connected to another network 192.168.100.0/25.Both networks have a win2000 machine with NATing enabled to provide internet access. I would like to set up one of these machines or both such that both the LAN's are visible to each other.
How can I set this up on the win2000 machines ? I need to enable one or both of these machines as a router to route traffic from one network to the other. Heard that if I give a subnet mask of 255.255.0.0 for both the networks then its possible too ? please help...any advice will be greatly appreciated !
 
You will need to configure routing on both machines (otherwise the traffic will only work one-way).

A subnet mask of 255.255.0.0 will mean that all computers on both networks will think they belong to the same network, which they dont.

According to your 192.168.10.0/25 network, that means the network part is the first 25bits of the address & the hosts are the last 7 bits. The subnet mask should therefore be:
255.255.255.128

I think :)

P.S. How are the networks connected? Are they part of the same LAN?

James Goodman MCP
 
sorry I made a mistake in the networks...both networks are /24 networks.and yes jgoodman...they are part of the same LAN.I'm sure there must be a simple solution for this.
Can't I use the 255.255.0.0 subnet for all PC's and Servers ? After all I wan't all PC's and servers to be part of on LAN ! Have to tell you though...that one network 192.168.10.0/24 is configured as a Domain with a WinNT4.0 Server as the Domain Controller/file server and win2000 as a NAT Server,and the other network 192.168.10.0/24 is configured as a Workgroup with Win2000 as a fileserver and another Win2000 machine as a Proxy with NAT.
 
Ahh, in that case the subnet mask will be 255.255.255.0 rather than 255.255.0.0

So yes, you should set the subnet mask to 255.255.255.0 for all computers.

If they are part of the same LAN, why do you need a router?





James Goodman MCP
 
Because there are 2 networks...
abc had 192.168.10.0/24 and xyz has 192.168.10.0/24 in the same building..and both abc and xyz need to be able to see each other.What if I change the subnet to 255.255.0.0 for all ? will this solve my problem ?
 
The subnet mask merely defines the breakout between network & hosts. A subnet mask of 255.255.0.0 indicates the first two octets identify the network (i.e. 192.168) & the last two octets identify the hosts.

Assuming the two networks are connected directly (not through a router), & all hosts have unique ips, setting the subnet mask to 255.255.0.0 should work, because all hosts will be deemed to be on the same network.

James Goodman MCP
 
Thanks James...guess I take a shot at that...it has to work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top