I have a WISP with 50 clients that get their Internet from one connection. I’ve just bridged ether1 to wlan1 in central RB532, and each client (RB112) routes private lan on ether1 with default gateway through wlan1. With a simple queue at the client side I limit bandwidth.
But now I have 2 clients that need to see each other (not directly, but through central AP), so I made an EoIP tunnel from one client to the other, so their LANs on both sides become bridged. The problem is I want to assign 2Mbps for their VPN, and 256Kbps for Internet.
How do I configure RB112 to achive that? (Remember: Central RB532 is a “dummy” bridge, all configuration is made in each client)
Here are main parts of Client’s 1 RB112 setup. Client2 is almost identical, only IPs change.
/ interface wireless
set wlan1 mode=station ssid="PyME" disabled=no
/ ip address
add address=10.11.11.1/24 interface=wlan1 disabled=no
add address=192.168.1.1/24 interface=ether1 disabled=no
/ ip route
add dst-address=0.0.0.0/0 gateway=10.11.11.254 disabled=no
/ ip firewall nat
add chain=srcnat out-interface=wlan1 action=masquerade disabled=no
/ queue simple
add name="256K" dst-address=0.0.0.0/0 interface=all parent=none \
direction=both priority=8 queue=default-small/default-small limit-at=0/0 \
max-limit=256K total-queue=default-small disabled=no
/ interface eoip
add name="eoip-tunnel1" mtu=1500 mac-address=00:00:5E:80:00:01 arp=enabled \
remote-address=10.11.11.2 tunnel-id=0 comment="" disabled=no
/ interface bridge
add name="bridge1" mtu=1500 arp=enabled protocol-mode=rstp disabled=no
/ interface bridge port
add interface=ether1 bridge=bridge1 disabled=no
add interface=eoip-tunnel1 bridge=bridge1 disabled=no
