#define EXCEPTION 192.168.0.100 #define INTERFACE eth0 $meter = trTCM (cir 64kbps, cbs 10kB, pir 128kbps, pbs 20kB); dev eth0 { egress { class (<$full>) if ip_src == EXCEPTION ; class (<$fast>) if trTCM_green ($meter); class (<$slow>) if trTCM_yellow($meter); drop if trTCM_red ($meter); htb { class (rate 192kbps, ceil 192kbps) { $fast = class (rate 128kbps, ceil 128kbps) {sfq;}; $slow = class (rate 64kbps, ceil 64kbps) {sfq;}; $full = class (rate 192kbps, ceil 192kbps) {sfq;}; } } } }