All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG REPORT: iproute2 seems to have bug with dsfield/tos in ip-rule and ip-route
@ 2017-12-13 17:40 Daniel Lakeland
  2017-12-13 18:12 ` Stephen Hemminger
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Lakeland @ 2017-12-13 17:40 UTC (permalink / raw)
  To: netdev

This same problem as detailed here

http://lists.openwall.net/netdev/2010/03/26/36

or here:

https://www.spinics.net/lists/lartc/msg22541.html

bit me today

I tried either

ip rule add dsfield CS6 table 100

or

ip rule add dsfield 0xc0 table 100

or replace dsfield with tos, all return:

RTNETLINK answers: Invalid argument

on the other hand, for ip route it will accept the ds/tos values

ip route add default dsfield CS6 dev dummy0

or

ip route add default dsfield 0xc0 dev dummy0

but packets tagged with CS6 don't go to dummy0 they go the regular 
default route

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

end of thread, other threads:[~2017-12-13 23:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 17:40 BUG REPORT: iproute2 seems to have bug with dsfield/tos in ip-rule and ip-route Daniel Lakeland
2017-12-13 18:12 ` Stephen Hemminger
2017-12-13 18:33   ` Daniel Lakeland
2017-12-13 19:05   ` Daniel Lakeland
2017-12-13 22:40     ` David Ahern
2017-12-13 22:52       ` Daniel Lakeland
2017-12-13 23:05         ` David Ahern

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.