Skip to contentSkip to conversation

tc and IPv6

LARTC Alan Ford 1 participant 1 message Feb 23, 2004

lore
Share & tools
lore

Alan Ford

author
#0 lore raw

Hi,

Can anybody confirm please the correct syntax to use 'tc' with IPv6 packets?

Through trial-and-error, I've got it down to:

  tc filter add dev eth0 parent 1:0 protocol ipv6 prio 30 u32 match ip6 src \
   <IPv6-ADDRESS> flowid 1:84

But this is giving a:

RTNETLINK answers: Invalid argument

Does anybody know what the syntax should be? For individual filtering and also filtering on firewall marks?

Thanks,

Signature · 4 lines
Alan Ford * [email protected] 
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/