All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arthur van Leeuwen <arthurvl@sci.kun.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Balancing ip traffic over two or more internet (adsl)
Date: Fri, 16 Mar 2001 10:41:10 +0000	[thread overview]
Message-ID: <marc-lartc-98473943316741@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98465591406063@msgid-missing>

On Fri, 16 Mar 2001, RoMaN SoFt / LLFB!! wrote:

> On Thu, 15 Mar 2001 17:56:37 +0100 (MET), you wrote:
>
> >> 1) Could you exemplify this TOS field "hacking"?
> >
> >ipchains <yourmatchfields> -t 0x01 0x00
>
>  Ummm. I don't get it to work... I've created the following test
> ipchains rule (see log):
>
> goliat:~ # ipchains -F
> goliat:~ # ipchains -A output -p tcp --source-port 20:21 -b -t 0x01
> 0x00 -j ACCEPT -l

Looks okay. Note that passive ftp return data is *not* necessarily on
port 20 or 21...

For testing I would try clearing the TOS field on *all* outgoing packets.

>  I only could imagine that TOS translation is being doing AFTER
> multipath has acted. Is it possible? In this case, how to avoid it?

Yes, that is theoretically possible, if you are ftp'ing directly from the
machine that does the multipath routing.

>  Could you paste some ipchains rules and/or other useful config files
> for your (working) configuration? Perhaps this may helps.

I've already paraphrased most of the complete config. What you may still
need is rules and corresponding routing tables to do static non-multipath
routing if you already have a source address for your packets. This would
probably fix the ftp problem. So, you would make tables 1 and 2 for the two
uplink gateways, and add the following routes (assuming 10.1.1.1 and
10.2.2.1 as the gateways and 10.1.1.2 and 10.2.2.2 as the local ip
addresses):

ip route add 10.1.1.1 dev eth1 table 1
ip route add default via 10.1.1.1 table 1
ip route add 10.2.2.1 dev eth1 table 2
ip route add default via 10.2.2.1 table 2

ip rule add from 10.1.1.2 table 1 prio 100
ip rule add from 10.2.2.2 table 2 prio 200

>  Any help would be *highly* appreciated.

Hope this helps.

Doei, Arthur.

-- 
  /\    / |      arthurvl@sci.kun.nl      | Work like you don't need the money
 /__\  /  | A friend is someone with whom | Love like you have never been hurt
/    \/__ | you can dare to be yourself   | Dance like there's nobody watching


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

  parent reply	other threads:[~2001-03-16 10:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-15 11:33 [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-15 11:48 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-15 15:44 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-15 16:56 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-16 10:16 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-16 10:41 ` Arthur van Leeuwen [this message]
2001-03-16 11:52 ` RoMaN SoFt / LLFB!!
2001-03-16 12:41 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen
2001-03-16 18:25 ` [LARTC] Balancing ip traffic over two or more internet (adsl) connections RoMaN SoFt / LLFB!!
2001-03-16 18:32 ` Mike Fedyk
2001-03-16 19:10 ` RoMaN SoFt / LLFB!!
2001-03-16 19:52 ` Mike Fedyk
2001-03-17 12:56 ` [LARTC] Balancing ip traffic over two or more internet (adsl) Arthur van Leeuwen

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-98473943316741@msgid-missing \
    --to=arthurvl@sci.kun.nl \
    --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.