Skip to contentSkip to conversation

making a traffic shaper for wireless users

LARTC Alexis 2 participants 2 messages Jun 6, 2004

lore
Share & tools
lore

Alexis

author
#0 lore raw

Hello all,

Im new using tc, ive been reading the howto at least 2 or 3 times, but there's a lot information to aquire all of it quickly.

I've installed a linux box as firewall for a wireless Network in a hotel, this box is a radius for the access points and it uses iptables to redirect and permit/deny the customers to use the net. So it uses iptables to count the bytes to restrict the user using the bytes transferred.

Now i have to create a different bandwith restrictions, i've testing using iptables to mark the users and then restrict the bandwith, but it was in a lab scenario, my question is

if i create suppose a classifier for 64kbps, 128kbps, 256kbps and so on. do i have to create different classifiers for each customer? or just sending 2 or more customers to the 128kbps lane, both of them will have 128kbps to use and not 128/users?

to restrict incoming and outgoing, i need to set a classifier in both interfaces? for incoming traffic the classifier goes to the LAN interface and for outgoing traffic in the WAN? of course switching the source/destination information at the iptables rules used to mark.

Thank you.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Hi Alexis,

Quoted 4 lines

I've installed a linux box as firewall for a wireless Network in a hotel, this box is a radius for the access points and it uses iptables to redirect and permit/deny the customers to use the net. So it uses iptables to count the bytes to restrict the user using the bytes transferred.

Take a look at:
http://frottle.sourceforge.net/
Unless you have access to all the wireless nodes, you won't be able to fully implement it, but you may be able to steal some of the idea/rate algorithms.

Regards,

Signature · 10 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     [email protected]
SnapGear - A CyberGuard Company ---    ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/