[LARTC] Bandwith limiting each host within a NAT'ed multi-homed environment

Yusuf Goolamabbas yusufg@outblaze.com
Thu, 6 Nov 2003 13:59:58 +0800


Hi, I currently have a NAT box with 3 WAN links and one internal link.
On the internal link, I have different subnets (192.168.{2,3,5})
assigned via MAC addresses

Each subnet is routed to an appropiate WAN link via iptables marking and
'ip rules'. Thanks to the LARTC howto for this. 

Now, I would like to limit each host within the subnet 192.168.2.0/24 to
(let's say) 600kb uplink

Do I need to create one class per ip ? or is there a way via the 'u32
divisor' mechanism to do this

Regards, Yusuf
-- 
If you're not using Firebird, you're not surfing the web 
   you're suffering it
http://www.mozilla.org/products/firebird/why/