LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2007, 12:31 AM   #1
gherutza
LQ Newbie
 
Registered: May 2007
Posts: 2

Rep: Reputation: 0
traffic control in firewalls


Hi, I`m a newbie in Linux` issues and I hardly try to understand HTB since I need this stuff for an exam. here`s the problem:

Let`s split a total amount of 1Mbit traffic into 2 classes as follows:
- IP adresses with the even last byte to enter in a class of 768kbit uplimit 768kbit
- IP adresses with the odd last byte to enter in a class of 256kbit uplimit 256kbit


I guess I`ve wrote down some command lines but I don`t know how to represent source IP addresses with the even or odd last byte.

Hope somebody will help me with that. 10x
 
Old 05-15-2007, 01:12 AM   #2
sunethj
Member
 
Registered: Nov 2006
Posts: 97

Rep: Reputation: 16
I am not sure whether you can use firewall (iptables) to achieve this. However i have done similar thing using squid proxy server. A good document can be find here

However you'll need to manually write two acls with odd and even numbered IPs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
traffic control, burst?? blackzone Linux - Networking 2 08-02-2007 03:54 AM
Anyone Got A Traffic Control Script?? 311Sam Linux - Networking 4 06-22-2004 05:17 PM
help me out with this traffic control troubles!!! debloxie Linux - Networking 0 02-22-2004 09:45 AM
traffic control sunreflex4 Linux - Networking 1 03-23-2003 11:52 AM
about traffic control in redhat 7.1 cmardhekar Linux - Networking 2 12-21-2001 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration