> From: Amit Margalit [mailto:[EMAIL PROTECTED]]

[snip]
> I preferred not to delete the default gateway, but to make the default
> gateway with a metric (priority) of 1 to the ethernet ( => the cable
> modem) and add another default gateway ( to the internet ) 
> with metric 0.

Well, this is not allowed AFAIK as far as standards go. Use metric 1 and 2, not 0 and 
1.

I do something similar with my ADSL lines using iproute2 package (which is far far far 
better than the ifconfig/route combo). If you don't know how to use iproute2, do 
yourself a favor and learn it. It streamlines network configuration concepts and makes 
life a little harder at first but a helluvalot easier once you get to know it.

I have no default route in my main routing table. I also have two more tables - adsl 
and isdn, which have a default route to the - you guessed it - adsl and isdn lines. In 
addition, I have a rule with a higher priority to route mail using the ADSL table and 
a rule with a lower priority to route mail using the ISDN table. When an ADSL line 
goes up, its ip-up scripts add the default route to the ADSL table, and the ip-down 
removes it from the table.

This way you are saying what you want to do, rather than much around with metrics and 
other stuff.

-- Arik
**********************************************************************
This email and attachments have been scanned for
potential proprietary or sensitive information leakage. 
Vidius, Inc. Protecting Your Information from the Inside Out. 
www.vidius.com
**********************************************************************

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to