All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: "J. Bakshi" <joydeep@infoservices.in>
Cc: netfilter@vger.kernel.org
Subject: Re: ip forwarding issue with dual gateway
Date: Mon, 9 Nov 2009 09:01:02 +0100	[thread overview]
Message-ID: <20091109090102.6508ed37@catlap> (raw)
In-Reply-To: <4AF7882E.5090307@infoservices.in>

> Hello,

Hello Bakshi

> I have two lan cards in my server which is used to share internet
> connection with the help of iptables. The config is as below

Read the following paragraph of LARTC-howto: [1].

With your current iptables config it's enough to change default gateway
and you'll use another upstream link (for failover you can do it by
detecting gateway-down event with eg. apinger [2]). You can
do load-balancing with policy routing [1].

[1] http://lartc.org/howto/lartc.rpdb.htm
[2] http://apinger.jajcus.net/trac/

cheers,
Marek

  reply	other threads:[~2009-11-09  8:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 10:55 ip forwarding issue with dual gateway J. Bakshi
2009-11-09  3:10 ` J. Bakshi
2009-11-09  8:01   ` Marek Kierdelewicz [this message]
2009-11-10  2:52     ` J. Bakshi

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=20091109090102.6508ed37@catlap \
    --to=marek@piasta.pl \
    --cc=joydeep@infoservices.in \
    --cc=netfilter@vger.kernel.org \
    /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.