Routing internet traffic

Server 2003
2 NICs

1st NIC for internal traffic
192.168.1.150
255.255.255.0
Gateway 192.168.1.150
DNS 192.168.1.150

2nd NIC for external traffic
Obtain IP address automatically
Obtain DNS server automatically
Let's just say it's currently
192.168.100.120
255.255.255.0
Gateway 192.168.100.1

I can ping workstations connected to the server, workstations can ping the server.
Server can't go out to the internet, workstations can't go out to the internet.

If I remove the gateway from 1st NIC, server can go out to the internet
workstations can't go out to the internet.

How do I configure this so server and workstations can go out to the internet?
I figure it's done by installing RRAS, but I can't figure out the settings. Any help
is greatly appreciated.


Sebastian_StraussAsked:
Who is Participating?
 
NotLogicalConnect With a Mentor Commented:
Hi Sebastian,

RRAS will not be required, only a little routing help. Start a command prompt, and type the following:

route add 0.0.0.0 mask 0.0.0.0 192.168.100.1 metric 1

If this works, you will want this to become permanent. Please re-run the command with the following small change:

route -p add 0.0.0.0 mask 0.0.0.0 192.168.100.1 metric 1

The "-p" will ensure that it is permanent (until you remove it) and will execute every time the system is rebooted.

Regards,

NotLogical
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.