Computing.Net > Forums > Networking > Connecting two LANs

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Connecting two LANs

Reply to Message Icon

Name: jb60606
Date: October 24, 2006 at 12:13:42 Pacific
OS: Multi-Platform
CPU/Ram: 500Mhz-2.8Ghz
Product: Homeade, Apple, HP
Comment:

I want to create two networks at home. Both networks will need to be able to communicate with each other and the internet.

Network #1:
D-Link Wireless Broadband Router with 4port switch
1x Windows Server 2003 server. (Active Directory Domain Controller, File Server, DNS for network 1)
1x WindowsXP/Vista Workstation
1x Apple iBook (via wireless)

Network #2:
Linksys Router/Bridge w/4port switch
1x Redhat Advanced Server (Webserver, File server, DNS for network 2)
1x Fedora Core 5 Workstation
1x Sun Solaris 10 Workstation
1x Apple PowerMac

I don't expect step by step instructions, but can anyone point me in the right direction? Aside from the router configs, I'm assuming I'll need to do something with each DNS as well?

Thanks in advance.



Sponsored Link
Ads by Google

Response Number 1
Name: jb60606
Date: October 24, 2006 at 12:26:47 Pacific
Reply:

I forgot to mention:

Both networks use DHCP via their routers (though the domain controller on network 1 has a static IP), though network 1 is static in a sense that the DHCP range on network 1's router has only 3 IPs, and each are bound to a specific machine by MAC address.

It's also important that each network be able to resolve hostnames on the other network. I know this is a DNS issue, and probably not appropriate on the networking forum, but thought I'd throw it out there for consideration.


0

Response Number 2
Name: keropi
Date: October 25, 2006 at 04:59:43 Pacific
Reply:

I don't know if i have understood the situation properly but as far as i read you will need some steps.
You must set a 'gateway' on each network, and configure them with IPs you decide but, of course, in the same subnet mask (dont use dhcp!!).
I mean you can use:
192.168.1.0
192.168.1.1
192.168.1.2 for the 1st network and set all 3 pcs to use 192.168.1.0 as a gateway
then
192.168.1.10
192.168.1.11
192.168.1.12 for the 2nd network and set all 3 pc to use the 192.168.1.10 as a gateway.

Now, you must assign a HOST name to every pc... you can choise something easy as:

pc1-net1
pc2-net1
pc3-net1

pc1-net2
pc2-net2
pc3-net3

then edit the LMHOST file in all pcs to match all IP/HOSTS
like:

192.168.1.0 pc1-net1 #pre
192.168.1.2 pc2-net1 #pre
etc etc up to
192.168.1.12 pc3-net2 #pre

remember to write all the file in Upper case.

Give the NBTSTAT - R on all PCs from dos prompt and restart them

With these steps the pc will be able to see each other in each network. This means that all 3 pcs in the net1 will see each other but it is not sure they can see the 3 pcs in the net2.

Then... connect the 2 switches to the router and put in the router configuration file the IPs or HOSTS of the 2 gateways 192.168.1.0 and 192.168.1.10.

Try do some pings that go from one net to the other and verify all links.

If all works you should be done.

I did this 1 year ago with 2 ethernet lans both with 4 pcs and it worked.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Connecting two LANs

Lost connecting two lans ..... www.computing.net/answers/networking/lost-connecting-two-lans-/13521.html

Wireless Conection of two LAN's www.computing.net/answers/networking/wireless-conection-of-two-lans/18441.html

Connecting two LANs PS & MAC www.computing.net/answers/networking/connecting-two-lans-ps-amp-mac/8821.html