adding permanent static routes in multihomed server....

T

Thomas Trinh

Hi,

I have a multi-homed Win2003 Server with 2 NICS connected to 2 disjointed
networks with 2 default gateways. This server sits in between 2 Firewalls.
NIC1 points to the inside card (192.168.4.1) of the Internet FW. NIC2 points
to the external NIC (192.168..1) of the DB FW. The problem I have right now
is that when I try to connect to a DB server behind the DB FW using ODBC, I
get a timeout error. When I disable NIC1, the ODBC works fine. My guess is
that the server doesn't know where to route the ODBC request to use NIC2 to
pass on the request. I've read about adding a static route entry to the
server using "route add 192.168.8.0 MASK 255.255.255.0 192.168.8.1", and it
does work. I also know that this entry will be cleared once the server is
rebooted. How do I permanently add that static route so the reboot has no
effect on it. Do I need to enable RRAS on the server? Any suggestions are
welcomed.

NIC1
==================================
IP Address. . . . . . . . . . . . : 192.168.4.76
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :192.168.4.1
DNS Servers . . . . . . . . . . . : 208.45.146.41
208.45.146.57

NIC2
==================================
IP Address. . . . . . . . . . . . : 192.168.8.76
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.8.1




===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 192.168.4.1
192.168.4.76 10
0.0.0.0 0.0.0.0 192.168.8.1
192.168.8.76 30
127.0.0.0 255.0.0.0 127.0.0.1
127.0.0.1 1
192.168.4.0 255.255.255.0 192.168.4.76 192.168.4.76
10
192.168.4.76 255.255.255.255 127.0.0.1 127.0.0.1
10
192.168.4.255 255.255.255.255 192.168.4.76 192.168.4.76
10
192.168.8.0 255.255.255.0 192.168.8.76 192.168.8.76
30
192.168.8.76 255.255.255.255 127.0.0.1 127.0.0.1
30
192.168.8.255 255.255.255.255 192.168.8.76 192.168.8.76
30
224.0.0.0 240.0.0.0 192.168.4.76
192.168.4.76 10
224.0.0.0 240.0.0.0 192.168.8.76
192.168.8.76 30
255.255.255.255 255.255.255.255 192.168.4.76 192.168.4.76 1
255.255.255.255 255.255.255.255 192.168.8.76 192.168.8.76 1
Default Gateway: 192.168.4.1
===========================================================================
Persistent Routes:
None


TIA,

Tom
 
B

Bill Grant

You just add a -p parameter to the command to make it permanent. eg

route add -p 192.168.8.0 etc .
 
T

Thomas Trinh

Correction:
Outisde card of DB FW is 192.168.8.1. Mistyped the IP in the previous
post.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Site-to-Site VPN 0
Help with Window 2003 server routing 6
Server does not route? 2
CMAK VPNs not working as expected. 3
RRAS static route 4
Wired and Wireless Networks 5
Route addition problem 3
Routing 1

Top