• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

help with Route command in Windowz networking

err

Platinum Member
Hi, I have a multihomed proxy running several nic cards. I need to clear a route statement in order for the proxy to be able to get out to the internet. Anyway, this is my situation.

1. 2 nics, 1 internal, 1 external IP (Natted).
2. The internal IP is always on the top of the route table. I need to disable that route in order for my 2nd nic card to kick in and for the server to be able to get to the internet.
3. The route print (after reboot shows)

first line is
ip 0.0.0.0 mask 0.0.0.0 gateway 10.88.88.1 interface 10.88.88.2
- 10.88.88.1 is internal gateway

the second line is:
ip 0.0.0.0 mask 0.0.0.0 gateway 10.22.22.1 interface 10.22.22.2
- 10.22.22.1 is the internet gateway.

Anyway, If I erase the first route line, internet started to work. My question is:

1. How to get the second route line to be the first ?
2. Can I delete a route permanently ?
3. Is there a better way of doing this ?

Thanks a bunch !

eRr
 
another question :
does the order of NIC plays a role in which NIC it brought up first?

eRr
 
In windows (and any network device) you can only have one default gateway. If both of your NIC's have a default gateway listed it will put them both in the routing table. Some devices will just use the one at the top. Others will round-robin them.

You need to remove the derfault gateway from all but one of your NIC's and use static routes to route traffic to other networks that aren't out the same NIC as your default gateway. If this is an NT product, you can use the /persistent:yes to keep the route there permanantly. For Win9X series boxes, you have to add a batch file to the startup to re-add it after reboot.

- G
 
Garion, you're a lifesaver. I did just that:

1. remove the internal gateway
2. add static routes to all the internal network

and all works like a charm. Thanks a bunch !

eRr
 
Back
Top