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!

Need help configuring w2k-server as a router in a test environment

Status
Not open for further replies.

westaros

IS-IT--Management
Feb 5, 2004
10
0
0
SE
Hi

I'm currently setting up a testenvironment.

I got one Win2kserver with the only purpose of being a router. (only one nic)

I'm trying to set up two domains. One is already up and running.
ip 192.168.10.10, 255.255.255.0, gw 192.168.10.1

I want to set up the second domain
ip 192.168.20.10, 255.255.255.0, gw 192.168.20.1

All computers are hooked up into the same switch.

How shall i configure the win2k machine to act as a router?
 
You need to create a Routing Table using the 'route add' command from prompt.

i.e.

route add <destination> mask <netmask> <gatewayaddress>

so you would be something like

route add 192.168.20.0 mask 255.255.255.0 192.168.10.10

Don't forget the routes in the other direction. You can do 'route /?' in prompt to get a full listing. HTH.
 
You will also need to ensure that you have checked the box to allow routing between NICs in the network properties window. Routing is disabled by default.

You should be able to get away without two NICs, as you can assign more than one IP address to a single network card. The Win 2K box will then route between the two logigal subnets on the same physical network.
 
Go into routing and remote access service (RRAS) then right click on your computer, then choose configure my computer for remote access ......
 
GREAT, thanks Nutthink, that solved it.
To clarify what I ended up doing.
At the moment I got an "empty" root domain. And trusts established between the domains.

ROOTDOMAIN
192.168.120.10
255.255.255.0
192.168.120.1
DOMAIN1
192.168.120.20
255.255.255.0
192.168.120.1
DOMAIN2
192.168.130.10
255.255.255.0
192.168.130.1
W2KSERVER (acting as a router with only 1 NIC)
IP: 192.168.120.1 & 192.168.130.1
Then added the routes in CMD
route add 192.168.120.0 mask 255.255.255.0 192.168.130.10
route add 192.168.130.0 mask 255.255.255.0 192.168.120.10
route add 192.168.130.0 mask 255.255.255.0 192.168.120.20

DONE! Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top