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
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