LinuxQuestions.org
Help answer threads with 0 replies.
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 09-20-2003, 06:37 AM   #1
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Rep: Reputation: 0
Lightbulb Packet Prioritizing..


Hi all. I 'm the "supervisor" of an an Access Point in our wireless community network. I have a linux box that successfully routes packets across different subnetworks, using different paths for each one..

I wonder if there is something like what I'm going to describe around on the net...

Can a program(network driver) analyse packets that pass through a gateway, and send them off to their destinations with spesific priorities? An ex:

We play games and download a lot. Can a program give 100% priority to UDP packets, echo requests and the same, and give 0% percent to TCP, or even better, favor HTTP against FTP,DC and other means od DLing?

All this of course must happen in the gateway, not @ the client's side, and should be transparent.

Asking 4 2 much?
 
Old 09-20-2003, 09:00 AM   #2
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
I have never tried, but the linux kernel does have some Quality of Service and Policy-based routing features.

http://snafu.freedom.org/linux2.2/iproute-notes.html
 
Old 09-20-2003, 02:08 PM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
udp has no flow control mechanism and TCP does. if you give 100% priority to UDP over TCP, and someone decides to bombard you network with UDP traffic...everything that uses TCP will appear not to work.

we did an experiment with this in a networking class i took:

1. send UDP and TCP traffice through the router as fast as possible with the default kernel

results: UDP starved out TCP

2. modify the kernel to give priority to TCP and re-run
result UDP still got through but TCP did much better

but i must say we ran ours with a 10Mbs network and not at 100.

we also did a QoS lab...but my lab partner ran that one (i got lazy)
you might have to enable QoS and Fair Queing stuff in the kernel and then recompile it.





Last edited by Robert0380; 09-20-2003 at 02:17 PM.
 
Old 09-28-2003, 07:10 PM   #4
InDIo
LQ Newbie
 
Registered: Jul 2003
Location: Greece
Distribution: Red Hat
Posts: 18

Original Poster
Rep: Reputation: 0
Wow, sounds very interesting.... Is there any standard packet that I can install so that I get this kind of funtionality?

Which ones do you recommend?

We play lots of games.. So I figure we can run this thing say, but enable only, e.g., at nigth when we play mohaa
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
prioritizing bandwidth on ports malaka56 Linux - Software 1 06-29-2005 02:55 PM
Traffic shaping (Prioritizing by port) Tyco Linux - Networking 5 02-11-2004 03:56 AM
nice does not seem to work in prioritizing large processes?? carlos123 Linux - Software 1 11-22-2003 04:33 AM
Prioritizing ports? pilot1 Linux - Networking 1 06-03-2003 06:08 AM
Prioritizing ports? pilot1 Linux - Networking 1 06-03-2003 05:19 AM

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

All times are GMT -5. The time now is 10:53 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