I’m trying to limit bandwidth based on IP assign to client devices.
These IPs are provided by Supplier and the traffic of 10.10.100.0/24 is routed to my router via IPSec VPN (store in kernel routing table).
The devices will go to internet via my vyos router. Vyos version is 1.1.8.
Hi,
Thanks for your answer. Now I can control but only for upload using mbit unit.
When I change either limiter or shaper only upload is changing.
Upload change depend on lowest bandwidth (if limiter bandwidth lower than shaper upload will follow limiter, vise versa)
For download, when I set traffic policy the download speed was 0.01 to 0.09mbit/s and it’s not changing based on limiter or shaper bandwidth setup. Without traffic policy, download and upload rate around 2 to 4mbit/s.
vyosRouterSIMs-KPN-GW-1# sh interfaces
ethernet eth0 {
address x.x.x.x/x
description “WAN”
duplex auto
hw-id x.x.x
smp_affinity auto
speed auto
traffic-policy {
in DEVICE-INBOUND
out DEVICE-OUTBOUND
}
}
Let me add something, maybe you already know, you are not exactly shaping inbound traffic, you are limiting it. If you would like to shape it, have a look [here]Traffic Policy — VyOS 1.4.x (sagitta) documentation).