LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-19-2008, 04:10 AM   #1
wael.f.a.eldeeb
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
adsl


DEAR ALL,
can i act linux server as router and make it control bandwidth of adsl users
 
Old 06-19-2008, 04:51 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Yes.
A longer text I wrote just today as reply to another thread is here:
http://www.linuxquestions.org/questi...7/#post3188996
 
Old 06-22-2008, 01:16 AM   #3
wael.f.a.eldeeb
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
thanx

Quote:
Originally Posted by jomen View Post
Yes.
A longer text I wrote just today as reply to another thread is here:
http://www.linuxquestions.org/questi...7/#post3188996
thanx boady,

i am happy now and i need your help to post me an example to try to my server here about combinatin of "iptables" and "tc"



thank you and congratulation to the germany team
 
Old 06-23-2008, 03:53 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
My best shot for now at giving an example would be to direct you to the wiki of the project I have done this for - there is the script I wrote as well as another one initially based upon it.
http://wiki.leipzig.freifunk.net/Tra...ochens_Version
As you will notice the site is in german but maybe you can grasp what the script does.
Basically it marks traffic of different kinds with the help of iptables - and puts the marked packets into qdiscs with a priority defined by me.
These qdiscs are served according to their priority (set by me) and are served strictly by that priority.
Lower priority qdiscs will have to wait until the higher is satisfied.
True trafficshaping (such as a guaranteed bandwidth per user/ip/kind of traffic) could be done easily with minor changes - it was just not suitable for me to implement that (my ISP has hugely varying bandwidths...and shaping would need a specific and stable bandwidth available.
Thus, prioritizing was my only option.
If you are interested I can provide that script with comments in english - or help create a custom solution.
For this we would need to know what exactly you want to achieve and how your network is set up.
 
  


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
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
handling 1mb adsl + 1mb adsl on one ubuntu router? sarthor Linux - Server 0 10-03-2007 06:57 AM
Monitoring ADSL (to keep online), adsl-start michaelsanford Linux - Networking 7 07-12-2006 06:43 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Configuring ADSL coonection using ADSL router... manu2004 Slackware 3 01-04-2004 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 PM.

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