``` # ip rule add tos 0x10 lookup 1 # run successfully # ip rule add tos 0x20 lookup 2 RTNETLINK answers: Invalid argument ```
i tried all 1-255 tos values, and find just these values can be used: 2 4 6 8 10 12 14 16 18 what should i do if i want to use more tos value? ``` $ cat /etc/iproute2/rt_dsfield # Differentiated field values # These include the DSCP and unused bits 0x0 default # Newer RFC2597 values 0x28 AF11 0x30 AF12 0x38 AF13 0x48 AF21 0x50 AF22 0x58 AF23 0x68 AF31 0x70 AF32 0x78 AF33 0x88 AF41 0x90 AF42 0x98 AF43 # Older values RFC2474 0x20 CS1 0x40 CS2 0x60 CS3 0x80 CS4 0xA0 CS5 0xC0 CS6 0xE0 CS7 # RFC 2598 0xB8 EF ``` -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html