Re: [PATCH iproute2/next 1/2] tc/act_tunnel_key: Enable setup of tos and ttl

2018-07-19 Thread Or Gerlitz
On Thu, Jul 19, 2018 at 2:48 PM, Roman Mashak wrote: > Or Gerlitz writes: > >> Allow to set tos and ttl for the tunnel. >> >> For example, here's encap rule that sets tos to the tunnel: >> >> tc filter add dev eth0_0 protocol ip parent : prio 10 flower \ >>src_mac e4:11:22:33:44:50 dst_ma

Re: [PATCH iproute2/next 1/2] tc/act_tunnel_key: Enable setup of tos and ttl

2018-07-19 Thread Roman Mashak
Or Gerlitz writes: > Allow to set tos and ttl for the tunnel. > > For example, here's encap rule that sets tos to the tunnel: > > tc filter add dev eth0_0 protocol ip parent : prio 10 flower \ >src_mac e4:11:22:33:44:50 dst_mac e4:11:22:33:44:70 \ >action tunnel_key set src_ip 192.168

[PATCH iproute2/next 1/2] tc/act_tunnel_key: Enable setup of tos and ttl

2018-07-19 Thread Or Gerlitz
Allow to set tos and ttl for the tunnel. For example, here's encap rule that sets tos to the tunnel: tc filter add dev eth0_0 protocol ip parent : prio 10 flower \ src_mac e4:11:22:33:44:50 dst_mac e4:11:22:33:44:70 \ action tunnel_key set src_ip 192.168.10.1 dst_ip 192.168.10.2 id 100