All of lore.kernel.org
 help / color / mirror / Atom feed
* Guaranteeing bandwidth through netfilter-based router?
@ 2005-01-06 20:39 Rick Mann
  2005-01-06 22:26 ` Gavin Hamill
  0 siblings, 1 reply; 5+ messages in thread
From: Rick Mann @ 2005-01-06 20:39 UTC (permalink / raw)
  To: netfilter

Hi. I have a netfilter-based router set up on Fedora Core 2 that's 
working very well. However, one of the things I run behind it is a VoIP 
box, and sometimes voice quality suffers if other hosts are consuming 
bandwidth.

Is there a way to give priority to UDP traffic to/from a particular 
host, without permanently reserving bandwidth for it?

TIA,

-- 
Rick



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guaranteeing bandwidth through netfilter-based router?
  2005-01-06 20:39 Guaranteeing bandwidth through netfilter-based router? Rick Mann
@ 2005-01-06 22:26 ` Gavin Hamill
  2005-01-07  2:25   ` John A. Sullivan III
  0 siblings, 1 reply; 5+ messages in thread
From: Gavin Hamill @ 2005-01-06 22:26 UTC (permalink / raw)
  To: Rick Mann; +Cc: netfilter

On Thu, Jan 06, 2005 at 12:39:34PM -0800, Rick Mann wrote:
> Hi. I have a netfilter-based router set up on Fedora Core 2 that's 
> working very well. However, one of the things I run behind it is a VoIP 
> box, and sometimes voice quality suffers if other hosts are consuming 
> bandwidth.
> 
> Is there a way to give priority to UDP traffic to/from a particular 
> host, without permanently reserving bandwidth for it?

You're on the wrong list :)

http://lartc.org/

http://lartc.org/wondershaper/

Good luck! :D

Cheers,
Gavin.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guaranteeing bandwidth through netfilter-based router?
  2005-01-06 22:26 ` Gavin Hamill
@ 2005-01-07  2:25   ` John A. Sullivan III
  2005-01-07  8:48     ` Gavin Hamill
  0 siblings, 1 reply; 5+ messages in thread
From: John A. Sullivan III @ 2005-01-07  2:25 UTC (permalink / raw)
  To: Gavin Hamill; +Cc: Netfilter users list

On Thu, 2005-01-06 at 22:26 +0000, Gavin Hamill wrote:
> On Thu, Jan 06, 2005 at 12:39:34PM -0800, Rick Mann wrote:
> > Hi. I have a netfilter-based router set up on Fedora Core 2 that's 
> > working very well. However, one of the things I run behind it is a VoIP 
> > box, and sometimes voice quality suffers if other hosts are consuming 
> > bandwidth.
> > 
> > Is there a way to give priority to UDP traffic to/from a particular 
> > host, without permanently reserving bandwidth for it?
> 
> You're on the wrong list :)
> 
> http://lartc.org/
> 
> http://lartc.org/wondershaper/
> 
> Good luck! :D
> 
> Cheers,
> Gavin.
> 
> 
Not really, there are pertinent elements of netfilter.  Linux will to
some rudimentary traffic shaping based upon the TOS bits.  One can
change those in the mangle table.  Set the VoIP packets as best as you
can identify them with TOS of minimize-delay - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@opensourcedevel.com

If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guaranteeing bandwidth through netfilter-based router?
  2005-01-07  2:25   ` John A. Sullivan III
@ 2005-01-07  8:48     ` Gavin Hamill
  2005-01-07 16:26       ` Michael P. Soulier
  0 siblings, 1 reply; 5+ messages in thread
From: Gavin Hamill @ 2005-01-07  8:48 UTC (permalink / raw)
  To: netfilter

On Friday 07 January 2005 02:25, John A. Sullivan III wrote:

> Not really, there are pertinent elements of netfilter.  Linux will to
> some rudimentary traffic shaping based upon the TOS bits.  One can
> change those in the mangle table.  Set the VoIP packets as best as you
> can identify them with TOS of minimize-delay - John

Interesting stuff - I didn't know the kernel itself would prioritise packets 
simply by having these bits set, I thought they only existed so that some 
upstream router / ISP could manage them.

Cheers,
Gavin.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Guaranteeing bandwidth through netfilter-based router?
  2005-01-07  8:48     ` Gavin Hamill
@ 2005-01-07 16:26       ` Michael P. Soulier
  0 siblings, 0 replies; 5+ messages in thread
From: Michael P. Soulier @ 2005-01-07 16:26 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

On Fri, 2005-01-07 at 08:48 +0000, Gavin Hamill wrote:
> Interesting stuff - I didn't know the kernel itself would prioritise packets 
> simply by having these bits set, I thought they only existed so that some 
> upstream router / ISP could manage them.

Well, they're technically the same mechanism. The default queue on all
interfaces is a prio queue that respects TOS. prio does not guarantee
bandwidth however, as the original poster asked for. To do that in an
adaptive way, I recommend changing the default queues to HTB queues. See
the aforementioned advanced routing howto. 

Mike

-- 
Michael P. Soulier <michael_soulier@mitel.com>, 613-592-2122 x2522
6000/6010/60* Development, Mitel Corporation
"...the word HACK is used as a verb to indicate a massive amount of
nerd-like effort." -Harley Hahn, A Student's Guide to Unix


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-01-07 16:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-06 20:39 Guaranteeing bandwidth through netfilter-based router? Rick Mann
2005-01-06 22:26 ` Gavin Hamill
2005-01-07  2:25   ` John A. Sullivan III
2005-01-07  8:48     ` Gavin Hamill
2005-01-07 16:26       ` Michael P. Soulier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.