All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kim Jensen <kimj@dawn.dk>
To: Simone Leggio <simone.leggio@cs.helsinki.fi>,
	netfilter@lists.netfilter.org
Subject: Re: IP TOS based routing
Date: Wed, 26 Mar 2003 13:16:35 +0100	[thread overview]
Message-ID: <200303261316.35019.kimj@dawn.dk> (raw)
In-Reply-To: <3E80187B.5030209@cs.helsinki.fi>

On Tuesday 25 March 2003 09:51, Simone Leggio wrote:
> Hi all,
>
> I have to send prioritised traffic from host A to host B.
>
> The priority 1 is identified by an IP TOS value of, say 46.
> The priority 2 is identified by an IP TOS value of, say 26.
>
> In my network topology, there are two possible routes from host A to
> host B, one through host A's network interface eth0 and the other one
> through eth1.
>
> I'd like to know whether it is possible, and if so how, with traffic
> control to set filters so that packets with TOS 46 are sent to host B
> via eth0 and packets with TOS 26 via eth1.
>
> Note that the destination address for all the packets is the same, what
> I need is just to route through different interfaces to the same
> destination.
>
Hi Simone,

Try to use the mangle table to mark your packets which match a specific TOS, 
and then add a second routing table with the alternative default connection. 
That should work. You can find more info on:

http://linux-ip.net/html/adv-multi-internet.html
http://www.ssi.bg/~ja/nano.txt

/Kim



  reply	other threads:[~2003-03-26 12:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25  8:51 IP TOS based routing Simone Leggio
2003-03-26 12:16 ` Kim Jensen [this message]
2003-03-27  7:32   ` Simone Leggio
2003-03-27 14:24     ` Rinse Kloek
2003-03-27 15:33       ` Simone Leggio
2003-03-27 14:32     ` Kim Jensen
2003-04-01 19:36   ` Matthew G. Marsh

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=200303261316.35019.kimj@dawn.dk \
    --to=kimj@dawn.dk \
    --cc=netfilter@lists.netfilter.org \
    --cc=simone.leggio@cs.helsinki.fi \
    /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.