Question

Locked

Connecting two networks together

By techrepublic ·
I have two separate networks, each connected to the internet with its own router, which acts as a dhcp, and the router has a few devices connected to it.

I also have s server with two NICs which is connected to both routers.

I want to make computers from either network available on the other network.

Can this be done?
I tried "Bridge" the two NICs connections on the server, but that didn't work, or do I have to have specific setups on the routers before I do that?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

RRAS plus static routes

by Churdoo In reply to Connecting two networks t ...

What's the O/S of the server? Is it some flavor of a Windows server? If so, you can install Routing and Remote Access (RRAS) and configure the server to route between the 2 networks.

But that's only half of the problem; you still have to tell the clients in each network to route to the other network via the IP of the Server, and you can do this 1 of 2 ways:
1) add a proper persistent route to each client (ROUTE ADD -P... for windows clients) so that they know to route traffic destined for the other network through the IP of the Server instead of their default gateway. Option 1a will be the same route command, though without the -P switch in a logon script that happens at each login instead of being persistent; this will be more flexible if things change in the future.
2) add a static route to each router to send traffic for the other network through the respective IP of the Server.

Option 1 is probably only good for testing from a small number of workstations, option 2 would be preferred for production

Collapse -

Thanks, a couple more details

by techrepublic In reply to RRAS plus static routes

Thanks for the quick reply,
The server is not a true server, this is a machine running XP-Pro that I'm using as a server for files and some applications.
So it seems that XP doesn't have the RRAS option, however, I found this: http://www.windowsnetworking.com/articles_tutorials/w2kprout.html
And I hope it will work.

On to the second half of the solution, I don't have many machines, so I believe I could go on the "route ADD" option, although I'm not sure how to use it :-)
I looked at the routers settings, only one of them [Netgear WNR854T] has the static routes option, the other [DLink crappy DIR-615] doesn't.

Collapse -

ROUTE with no arguments shows help

by Churdoo In reply to Thanks, a couple more det ...

Note that from the CMD prompt of a windows box, ROUTE with no arguments generates the help screen for the ROUTE command.

I thought you had real routers, not SOHO crap. Nevertheless, you can get there "on the cheap" with your present equipment and setup.

That article that you found, does look like you can enable the routing on the XP workstation that you have connected to each of the networks. I've never tried it personally, but it looks like it should work fine.

Let's say for example that
network A = 192.168.10.0/24 (sm 255.255.255.0)
network B = 192.168.20.0/24
your SOHO router on each network is .1
your workstation that's connected to each network is .5 on each respective network.

If your Netgear SOHO router is on Network A, then you add a static route in it to direct traffic destined for 192.168.20.0/24 to 192.168.10.5. This should take care of network A.

For Network B, with the SOHO router absent of the static route functionality, from the CMD prompt of a network B workstation:
ROUTE ADD -P 192.168.10.0 MASK 255.255.255.0 192.168.20.5
This above command modifies the routing table in the subject workstation such that all traffic destined for your other network 192.168.10.0 is sent through the "server" workstation at 192.168.20.5 instead of the default gateway. You will have to execute this command on each workstation on network B

For the sake of argument, without the static route in the netgear router on network A, the proper ROUTE command for a network A windows workstation is
ROUTE ADD -P 192.168.20.0 MASK 255.255.255.0 192.168.10.5

Hope this helps.
--C

Back to Networks Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums