Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Dear all, I've some questions regarding basic routing, can't seem to relate to other questions posted in this site.

My architecture: Windows 2008 server with 2 nics in the server.

NIC1: IP 10.198.6.xxx, submask 255.255.252.0, gateway 10.198.4.xxx

NIC2: IP 192.168.168.xxx, submask 255.255.255, no gateway defined

both NICS are just connected to two separate switches, with other computers.

I want to be able that all the requests that have a destination of 192.168.168.xxx are redirected to the NIC2, all the other to the NIC1.

I know it's possible to do it with the route command, but normally we have to specify a gateway? (route ADD 192.168.168.0 MASK 255.255.255.0 ???)

How can this be archived?

Thanks a lot for your help!

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

I have nearly same setup on my windows machines, Windows routes it automaticly, did you encounter any kind of problem while reaching other machines ?

And if you use "route print" you should see something like

0.0.0.0          0.0.0.0            10.198.6.zzz     10.198.6.xxx   10

10.198.6.0       255.255.255.0      10.198.6.xxx     10.198.6.xxx   10
10.198.6.xxx     255.255.255.255    127.0.0.1        127.0.0.1      10
10.255.255.255   255.255.255.255    10.198.6.xxx     10.198.6.xxx   10

192.168.174.0    255.255.255.0      192.168.174.xxx  192.168.174.xxx    10
192.168.174.xxx  255.255.255.255    127.0.0.1        127.0.0.1      10
192.168.174.255  255.255.255.255    192.168.174.xxx  192.168.174.xxx    10

again, this from my route config out, it should look like simillar, not the same. The 0.0.0.0 route is the everything not defined and 10.186.6.zzz is the gateway.

share|improve this answer
    
It was not a configuration problem as you suggested. The problem was elsewhere (configuration of the ESX host itself). –  srodriguez Jan 5 '11 at 3:37
add comment

You need to add a routing protocol for it to route between interfaces. RIP will be the easiest to configure. This guide outlines the steps to take for that OS.

share|improve this answer
add comment

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.