Hi all,
I use a RB 3011UiAS OS 6.42.1
I set up PCC and hotspot and everything works fine!
Now, I want to limit the bandwidth of one of my WANs to 8M / 512k because we share that dsl-line with private network.
I tried to add a simple queue but that didn’t worked unfortunately.
Can anyone help me?
Much appreciated ![]()
Regards, Robetr
Mangle rules:
add action=accept chain=prerouting comment="Start PCC" dst-address=\
10.0.1.0/24 hotspot=auth in-interface=bridge-hotspot
add action=accept chain=prerouting dst-address=10.0.0.0/24 hotspot=auth \
in-interface=bridge-hotspot
add action=mark-connection chain=prerouting comment=\
"Mark incomming connections" connection-mark=no-mark hotspot=auth \
in-interface=ether1-WAN1 new-connection-mark=WAN1_conn passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark hotspot=\
auth in-interface=ether2-WAN2 new-connection-mark=WAN2_conn passthrough=\
yes
add action=mark-connection chain=prerouting comment=\
"Devide in 5 groups - 4*WAN1 & 1*WAN2" connection-mark=no-mark \
dst-address-type=!local hotspot=auth in-interface=bridge-hotspot \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:5/0
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local hotspot=auth in-interface=bridge-hotspot \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:5/1
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local hotspot=auth in-interface=bridge-hotspot \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:5/2
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local hotspot=auth in-interface=bridge-hotspot \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:5/3
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local hotspot=auth in-interface=bridge-hotspot \
new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:5/4
add action=mark-routing chain=prerouting comment="Mark all packets" \
connection-mark=WAN1_conn hotspot=auth in-interface=bridge-hotspot \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn hotspot=\
auth in-interface=bridge-hotspot new-routing-mark=to_WAN2 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn hotspot=auth \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn hotspot=auth \
new-routing-mark=to_WAN2 passthrough=yes