Re: tc filter expression

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

---
Catalin(ux) BOIE
catab@xxxxxxxxxxxxxxx
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux