All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] [tcng] and iptables
@ 2002-09-26 14:52 raptor
  2002-09-27  5:52 ` Werner Almesberger
  0 siblings, 1 reply; 2+ messages in thread
From: raptor @ 2002-09-26 14:52 UTC (permalink / raw)
  To: lartc

As we discused earlier in the list tcng still doesn't support ipchains/iptable/ip route marking and classifing based on this.
So my question is how can I do this manualy i.e. find the desired class-ID ... and add additional tc-commands so that marked packets goes to the desired class.

I need this for this :")

eth0  ----> class X:Y
eht1  ----> class Z:W

f.e. everything coming from eth0 goes to 100kbps class and everything from eth1 to 50kbps.
In fact it a litle bit harder :
3 frame realy channels (1 upstream/pvc0 and 2 downstream/pvc1,pvc2) and 2 eth.
Example :
if from pvc1 --> eth0 and ip_dst = 192.168.0.55 then 10kbps
if from pvc2 --> eth0 and ip_dst = 192.168.0.55 then 15kbps
if ip_src = 192.168.0.55 then 10kbps (dest is always pvc0 until i setup proxy)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-27  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 14:52 [LARTC] [tcng] and iptables raptor
2002-09-27  5:52 ` Werner Almesberger

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.