All of lore.kernel.org
 help / color / mirror / Atom feed
From: kalinix <calin.kalinix.cosma@gmail.com>
To: zaphod001@gmail.com
Cc: linux-admin@vger.kernel.org
Subject: Re: 2nd default gateway [updated]
Date: Thu, 05 Jun 2008 13:07:34 +0300	[thread overview]
Message-ID: <1212660454.18085.12.camel@localhost> (raw)
In-Reply-To: <4847E43A.2030405@gmail.com>


On Thu, 2008-06-05 at 09:03 -0400, 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.
> 
> [update]
> The machine MAY BE connected to separate networks and i mean w/ 2 different 
> routers. Security reasons, for example.
> If such case, demands 2nd gateway?
> 
> Zaphod
> thanks in advance
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


If you look for a setup that enable your linux box to have two gateways
(e.g. Routing for multiple uplinks/providers) you may find an excelent
how-to here:

http://lartc.org/howto/lartc.rpdb.multiple-links.html


HTH



Calin Cosma

=================================================
The computer can't tell you the emotional story. It can give you the
exact mathematical design, but what's missing is the eyebrows. - Frank
Zappa


      reply	other threads:[~2008-06-05 10:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05 13:03 2nd default gateway [updated] Gery
2008-06-05 10:07 ` kalinix [this message]

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=1212660454.18085.12.camel@localhost \
    --to=calin.kalinix.cosma@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.