* [LARTC] Policing IPv6 traffic
@ 2004-05-18 11:10 Hasso Tepper
0 siblings, 0 replies; only message in thread
From: Hasso Tepper @ 2004-05-18 11:10 UTC (permalink / raw)
To: lartc
Simple police filter below works for IPv4 traffic, but not for IPv6
traffic. Tested with 2.4.26 and 2.6.6 kernel. Am I doing something
wrong or is it bug? Same filter logic works with imq+htb for both
IPv4 and IPv6 traffic.
iptables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101
ip6tables -A PREROUTING -i eth1.101 -t mangle -j MARK --set-mark 0x101
tc qdisc add dev eth1.101 handle ffff: ingress
tc filter add dev eth1.101 parent ffff: protocol all prio 50 handle \
0x101 fw police rate 1024kbit burst 60k drop flowid :101
--
Hasso Tepper
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-18 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 11:10 [LARTC] Policing IPv6 traffic Hasso Tepper
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.