All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Perens <bruce@perens.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Need information on multi-homing
Date: Sun, 03 Mar 2002 05:36:59 +0000	[thread overview]
Message-ID: <marc-lartc-101513392206503@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101511305202598@msgid-missing>

Bert Hubert:
> So what IP address do packets have that come from the firewall box? 

Oops, I didn't give enough information.  The Linux box is not a router -
it's a multi-homed server. The DHCP net has one of those retail router
boxes that does DHCP, NAT, and is a gateway to one of the DSL networks.

If I try to follow a policy route to either of the DSL interfaces from the
Linux system itself, not _through_ it as a router.

	ip rule add from 216.15.108.186 table dnai-net 
	ip rule add from 67.114.175.138 table sbc-net
	ip route add default via 216.15.108.186 dev eth0 table dnai-net
	ip route add default via 67.114.175.138 dev eth1 table sbc-net

	ping -I 67.114.175.138 www.gnu.org

I get an IMAP "unreachable" message back from the interface.

What I want is to be able to bind to the IP address of either of the DSL
interfaces, and have the packets routed to that interface reliably.
If there's a network partition effecting one DSL carrier and not the other,
it should still be possible to reach the system and the return packets should
be on the same network as the incoming ones.

Load-balancing is secondary, but I have some ideas there. For example, why not
have squid alternate addresses so that receive data is interleaved across the
two DSL lines? Wouldn't that balance better than simply routing half of
the internet through each interface?

	Thanks

	Bruce
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2002-03-03  5:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-02 23:49 [LARTC] Need information on multi-homing Bruce Perens
2002-03-03  1:21 ` bert hubert
2002-03-03  5:36 ` Bruce Perens [this message]
2002-03-03 11:16 ` bert hubert
2002-03-04 18:51 ` Bruce Perens

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=marc-lartc-101513392206503@msgid-missing \
    --to=bruce@perens.com \
    --cc=lartc@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.