Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a small size business where we have around 22 PCs.

At present, I have the internet connected directly to a switch1 (We use dedicated leased line and I have been provided with 5 static IPs by my ISP).

From the switch I have connected a line directly to my asterisk server with a static IP provided by my ISP.

Then, from switch1 another line is connected to a router (Netgear WNDR3700v2).

In the router, I have configured one live IP and enabled DHCP with IP range between 192.168.0.20 to 192.168.0.80.

From the router, I have connected a line to another 24 port switch which distributes internet to all the PCs. We use Windows 7 Pro for all the PCs.

Now, I have taken another office in the opposite building where I will be running around 20 PCs. From Swtich1, I am connecting a line to a router (Netgear WNDR3700v2) in the new office.

In the new office router, I am configuring another live IP provided by my ISP and enabled DHCP with IP range between 192.168.0.100 to 192.168.0.150.

From the router, I am connecting a line to a switch and distributing internet in the new office.

I do not have any Microsoft server at moment.

How do I connect this 2 network together, so that we can share files, printers and NAS. I do not want to connect via wireless.

share|improve this question

1 Answer 1

The easiest thing is to connect your new router, to both switch1 and to your old router. In this way, all of your pcs will belong to the very same subnet, while the new router might very well route Internet traffic for the new pcs in the new building.

The connection should be established like this:

1.Enable DHCP on both routers, making sure the two ranges are separate. For instance, you might use 192.168.0.50-192.168.0.100 for the DHCP range of the old router, and 192.168.0.150-192.168.0.200 for the old router.

2.connect a cable from a LAN port of the old router to a LAN port on the new router.

3.connect a cable from switch1 to the WAN port of the old new router.

4.assign to the new router's LAN interface an address unused by either router, for instance 192.168.0.129.

5.configure advanced routing in the new router, so that it has a new routing rule: all packets to the subnet 192.168.0.0/25 (notice: 25, twentyfive, corresponding to netmask 255.255.255.128) is to be routed through 192.168.0.1.

6.do the equivalent thing on the old router, i.e., a new route for addresses 192.168.0.128/25 (same netmask, 255.255.255.128) through 192.168.0.129.

The last rule makes sure that the addresses for the old LAN are correctly reached through the old router, and viceversa.

7.just to avoid doubts, make sure that all other netmasks, except for the two mentioned above, are 255.255.255.0, .e., /24, so that all of your pcs can talk to each other.

This way, you have a single subnet, correctly managed by the two routers in non-overlapping chunks, but you are tking full advange of your two external IPs, and of your ISP's capabilities, without overworking either router.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.