Я пытаюсь реализовать управление трафиком для интерфейса GRE на плате openwrt. Для этого я выполнил следующие шаги,
Create GRE interface named gre1 in both tunnel end devices.
Tested reachability with ping, Success.
create qdisc using following command.
tc qdisc add dev gre1 root handle 1: default 2
Before creating tc classes i tired to ping the tunnel interface but this failed.
I tried to capture packet in gre1 but found 0 packets.
Monitored the statistics of qdisc using the command
tc -p -s -d qdisc show dev gre1
found that packet drop count is increasing.
Я проверил то же самое на ПК с Ubuntu и нашел работу. Также, если я изменю туннель на туннель VPN вместо GRE, он будет работать нормально.
Есть ли какие-то дополнительные вещи, которые мне нужно обработать для реализации tc в GRE?
Любая помощь будет оценена.