From: Catalin BOIE <util@deuroconsult.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] tc filter expression
Date: Thu, 09 Oct 2003 05:58:58 +0000 [thread overview]
Message-ID: <marc-lartc-106567918123282@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106567887923142@msgid-missing>
On Thu, 9 Oct 2003, Niels Vorgaard Christensen wrote:
> Hi.
>
> I am working on a router with three interfaces. eth2 and eth0 are
> connected to two different Internet providers. The interface eth1 are
> connected to an internal network. Now I need a tc filter expression
> that will determine which interface the packet was routed in through
> to be able classify packets going out eth1 based on provider. I know I
> could mark packets with netfilter, but if it is possible to construct
> a tc filter expression to do the job I would much prefere that.
I think you can use ingress + policy + ds to mark packets (DSCP IP field)
on eth0 and eth2. Then on eth1 you can classify base on this field.
>
>
> Regards,
> Niels V. Christensen
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
---
Catalin(ux) BOIE
catab@deuroconsult.ro
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-10-09 5:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-09 5:53 [LARTC] tc filter expression Niels Vorgaard Christensen
2003-10-09 5:58 ` Catalin BOIE [this message]
2003-10-16 11:22 ` Niels Vorgaard Christensen
2003-10-16 12:28 ` Catalin BOIE
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-106567918123282@msgid-missing \
--to=util@deuroconsult.ro \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox