Re: [Cake] Putting cake under dsmark on ingress ifb

2017-03-04 Thread Andy Furniss
Andy Furniss wrote: Next test = use vanilla git iproute2, even worse = Oops. So may be best to avoid that one for now :-). I manages to avoid the Oops by udating iptables from 1.6.0 to 1.6.1 which is handy, though now it fails with an error from iptables - but at least it fails without taking

Re: [Cake] Putting cake under dsmark on ingress ifb

2017-02-28 Thread Jonathan Morton
> On 28 Feb, 2017, at 16:11, Andy Furniss wrote: > > tc filter add dev ppp0 parent : prio 1 protocol ip u32 match ip protocol > 1 0xff action xt -j DSCP --set-dscp-class ef action mirred egress redirect > dev ifb0 Okay, that’s potentially useful information - that a

Re: [Cake] Putting cake under dsmark on ingress ifb

2017-02-26 Thread Jonathan Morton
> On 26 Feb, 2017, at 15:41, Andy Furniss wrote: > > This works in the sense that I can now get tcpdump on a PC on the > lan to show incoming icmp with tos 0xb8. > > So I try to add cake under dsmark ini the hope that it sees icmp as ef > but it doesn't, icmp goes to best

[Cake] Putting cake under dsmark on ingress ifb

2017-02-26 Thread Andy Furniss
I am well rusty with linux qos and have never tried dsmark before. I am likely doing something stupid here :-) So the test: I want to set dsmark on ingress traffic so I can control which cake tin it goes to - test just marking icmp as ef. ingress qdisc is added to ppp0 and redirected to ifb0,