Hi, I’m using RB2011 and I’m quite satisfied with it. I’d like to get a bit more of the router and try to implement QoS, but the whole picture doesn’t appear in my head yet. I’d be happy in case you could share your experience here.
I have several bridges currently:
- Home network: ether1—ether7 + wlan1 + OVPN_in
- Guest network: wlan2 + L2TP_in
- Wan: ether9
- Not used (so far): ether8, ether10
Most of the personal devices are wireless (phones, laptops) plus some wired devices (TV, NAS). “Wired” services like DLNA, NAS should be shared to Home Wi-Fi users. This is implemented and working currently.
I’m thinking of assigning higher Internet consumption priorities to Wi-Fi users, rather than Wired devices, e.g. the following concept:
- Tier 1: DNS, HTTP requests, ICMP
- Tier 2: skype calls, video conferences
- Tier 3: VPN, gaming, video
- Tier 4: Web browsing, small downloads (bursts?)
- Tier 5-8: p2p and the rest (unmarked traffic).
All wired users are equal among themselves, all home wlan users are equal among each other, but have higher priorities than guest wlan. But I’d like to state Wired Youtube is still more important than Wi-Fi P2P for example.
I’m a bit stuck with properly distinguishing WLAN from LAN users, since I can’t use the slave interface (wlan1), and have to use master (Bridge). So how do I distinguish WAN connection from WLAN the best way? Thanks.
The easiest would be to assign different ranges of IP’s per que, and make a different rule for each IP range, although that tends to get more CPU hungry.
Thank you for reply. Yes, I thought about that, but I don’t like that idea, since DHCP server is attached to Bridge and I don’t know what addresses are assigned to Wi-Fi, wired or even VPN users. Such situation spawns the problem with new devices. I’d like to avoid adjusting IP address lists constantly.
Does it makes sense to rebuild Home/Guest bridges for better QoS marking? Do you have some recommendations?
I do a mixture of both. Most of my devices I do manage individually by IP, the rest, like at my moms house (also part of my LAN through a wireless bridge) is behind her own mikrotik, and then I just make a QOS rule to the IP of her tik, and then do QOS inside of that tik depending on whats going on. Easiest way in your case would be to assign each interface its own range of IP addresses. Ether 2 192.168.2.0/24, ether 3 192.168.3.0/24 and so forth for each group of devices doing whatever, and then create QOS rules against those ranges. Again, it can be CPU intensive to choose this way, but this would be the simplest one in your case.
Thanks, I’m already moving this direction. I’ve splitted up LAN and WLAN from the single bridge and assigned IP addresses from different segments today.
That caused adding static routes between segments to ensure clients will be able to communicate from LAN to WLAN and vice versa. Additional trick was to add IGMP-proxy to announce DLNA in both segments.
But now it’s easy to create QoS rules based on IP segments as you proposed.