All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic shaping vpn (GRE) traffic
@ 2006-12-10 16:55 syncmaster4
  2006-12-11  9:06 ` Nikolay Kichukov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: syncmaster4 @ 2006-12-10 16:55 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]

Looking for some advise from the experts out there.

We do simple traffice shaping and I'm having trouble figuring out how to
shape vpn traffic using a tc filter.

The following filter works fine for SSH
tc filter add dev eth2 parent 1:0 protocol ip u32 match ip sport 22 0xffff
classid 1:10

The following throws and "Illegal match" error when trying to filter GRE
traffic.
tc filter add dev eth2 parent 1:0 protocol ip u32 \
        match ip protocol 47 0xff \
        match ip u16 0x10 00ff at 24 \
        classid 1:10

Any pointers are greatly appreciated!

CentOS 4.4 - 2.6.9-42.0.3.ELsmp

Thanks!
Craig

[-- Attachment #1.2: Type: text/html, Size: 785 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2006-12-11 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 16:55 [LARTC] traffic shaping vpn (GRE) traffic syncmaster4
2006-12-11  9:06 ` Nikolay Kichukov
2006-12-11 18:04 ` Nikolay Kichukov
2006-12-11 19:24 ` Andy Furniss

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.