I need to share bandwidth to all clients on a RB750 with a DSL PPPoE connection as the WAN port and ether2-local-master as LAN port. Everything is working great except bandwidth sharing. The DSL connection is 3Mbps. I want to allow users to get up to 3Mbps if available and to distribute bandwidth equally when needed. The RB750 is setup with DHCP server and NAT Masquerade. Just your typical router setup, but with bandwidth sharing. Why is the bandwidth sharing not working?
Here is the configuration:
/interface pppoe-client
add ac-name=“” add-default-route=yes allow=pap,chap,mschap2 comment=“” dial-on-demand=no disabled=no interface=ether1-gateway max-mru=1480 max-mtu=
1480 mrru=disabled name=pppoe-out1 password=xxxx profile=default service-name=“” use-peer-dns=yes user=user@isp.com
/ip pool
add name=default-dhcp ranges=192.168.2.10-192.168.2.50
add name=pptp ranges=192.168.2.230-192.168.2.240
/ip dhcp-server
add add-arp=yes address-pool=default-dhcp authoritative=after-2sec-delay bootp-support=static disabled=no interface=bridge1 lease-time=1d name=
default
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=192.168.2.0/24 comment=“default configuration” dns-server=192.168.2.1 gateway=192.168.2.1
/ip firewall nat
add action=masquerade chain=srcnat comment=“default configuration” disabled=no out-interface=pppoe-out1
/ip firewall mangle add chain=forward src-address=192.168.2.0/24
action=mark-connection new-connection-mark=users-con
/ip firewall mangle add connection-mark=users-con action=mark-packet
new-packet-mark=users chain=forward
/queue type add kind=pcq name=pcq-download pcq-classifier=dst-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
/queue type add kind=pcq name=pcq-upload pcq-classifier=src-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=512k max-limit=3M name=Download packet-mark=“” parent=ether2-local-master
priority=8 queue=default
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=queue2 packet-mark=users parent=Download priority=8 queue=
pcq-download
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=128k max-limit=512k name=Upload packet-mark=“” parent=pppoe-out1 priority=8
queue=default
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=queue4 packet-mark=users parent=Upload priority=8 queue=
pcq-upload
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=queue5 packet-mark=users parent=ether2-local-master
priority=8 queue=pcq-download
/queue tree add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=queue6 packet-mark=users parent=pppoe-out1 priority=8
queue=pcq-upload
