From: Carsten Aulbert <carsten@welcomes-you.com>
To: zaphod001@gmail.com
Cc: linux-admin@vger.kernel.org
Subject: Re: 2nd default gateway
Date: Thu, 05 Jun 2008 07:40:18 +0200 [thread overview]
Message-ID: <48477C42.90600@welcomes-you.com> (raw)
In-Reply-To: <4847DB02.4010506@gmail.com>
Gery wrote:
> Hi All,
>
> I have Linux machine with 2 ethernet cards in different segments. Like
> 10.2.1.1 and 192.168.1.1
> Do i need 2 default gateways in routing table? Please, give me an
> example when it may happen.
>
To my understanding no, that won't work since the default gw is a match
anything solution. Thus if you put two default gws into your routing
table the second one will never be looked at (if sorting stays the same).
HTH
Carsten
next prev parent reply other threads:[~2008-06-05 5:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 12:24 2nd default gateway Gery
2008-06-05 5:40 ` Carsten Aulbert [this message]
2008-06-05 5:54 ` Philip Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48477C42.90600@welcomes-you.com \
--to=carsten@welcomes-you.com \
--cc=linux-admin@vger.kernel.org \
--cc=zaphod001@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).