Skip to contentSkip to conversation

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

LARTC Yusuf Goolamabbas 1 participant 1 message Nov 6, 2003

lore
Share & tools
lore
#0 lore raw

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

Signature · 6 lines
If you're not using Firebird, you're not surfing the web 
   you're suffering it
http://www.mozilla.org/products/firebird/why/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/