我正在尝试在 openwrt 板上实现对 GRE 接口的流量控制。为此,我遵循以下步骤,
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 PC 上测试了这个,发现可以正常工作。此外,如果我将隧道更改为 VPN 隧道而不是 GRE,它工作正常。
在 GRE 中实现 tc 需要处理任何其他事情吗?
任何帮助将不胜感激。