Link to home
Start Free TrialLog in
Avatar of Magda1010
Magda1010

asked on

Server 2003 with two network cards on different subnets

Hello,
I have a Windows 2003 Serve with two network cards.
1st network card:
IP:192.168.3.12
Subnet: 255.255.255.0
Gateway: 192.168.6.1
The other network card is not configured yet but I want it to be
IP:192.168.3.4
Subnet 255.255.255.0
Gateway: 192.168.3.2
I do realize that machine can only have one gateway and I know that I need to add routes for both network cards but I don't know how. I want the routes to say anything that comes for the 192.168.3.X subnet to use gateway 192.168.3.2 and anything that comes for the subnet 192.168.6.x to use gateway 192.168.6.1
Should it be something like:
 route add 0.0.0.0 mask 0.0.0.0 192.168.6.1 METRIC 20 IF 1
 route add 0.0.0.0 mask 0.0.0.0 192.168.3.2 METRIC 20 IF 2
How can I tell which card is which number? Also the 192.168.6.x connects to Safe@Office Appliance and its used for VPN only the 192.168.3.x in my internal network. Where should I leave the gateway on the card 1 (VPN) or card 2 ( Network)
Thank you
Magda
Avatar of hmtwins
hmtwins
Flag of Netherlands image

You can use Netsh.exe tool  to configure the network card. That way you can use 2 gateway.s
You cant do it with a gui.
Avatar of Magda1010
Magda1010

ASKER

How can I use it with a gui?
you cant, there is no gui for netsh is a dos application.
http://www.petri.co.il/configure_tcp_ip_from_cmd.htm
there are many setting you can make.
All  I really need to to is to add two routes to my existing settings but I'm not sure what is the correct order and what is the correct command to add a route
ASKER CERTIFIED SOLUTION
Avatar of Magda1010
Magda1010

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial