RE: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread John Howard
I'm using the Zyxel 660H-61 with fantastic results.

It supports SIP out of the box, and ive been able to set up the bandwidth
shaping for SIP (it supports this natively), and iax2 as well.

It cost be about £60 GBP.

Well worth the month I think...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 03 September 2004 12:06
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

Look at the wrt54g or wrt54gs with sveasoft firmware and wondershaper,
allows you to QOS VoIP data.

Google for sveasoft forums to find the right forum to search.

P

 -Original Message-
 From: Robert Rozman [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 03, 2004, 2:32 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Lower cost router suitable for VOIP ?
 
 Hi,
 
 we're testing Asterisk 1  RC 2 behind ordinary router and NAT. Since we're
 sharing network with web server it seems like voip packets are not coming
 through fast enough (Digium demo dies after few seconds...). It's the same
 if I make direct calls (passing Asterisk) so we conclude it's network
 problem - it also work normally outside our router...
 
 I wonder what solutions can we use to give voice packets higher priority.
 I'm avare of VOIP routers, but they are pricey. Can some of common routers
 help, or maybe implementing router on another simple Linux box?
 
 Any advice, pointers to more info ?
 How to trace network and debug Asterisk in convenient way ?
 
 Thanks in advance,
 
 Robert Rozman
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


This message has been scanned for viruses by MailController -
www.MailController.altohiway.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread Adam Goryachev
On Tue, 2004-09-07 at 21:20, John Howard wrote:
 I'm using the Zyxel 660H-61 with fantastic results.
 
 It supports SIP out of the box, and ive been able to set up the bandwidth
 shaping for SIP (it supports this natively), and iax2 as well.
 
 It cost be about 60 GBP.
 
 Well worth the month I think...

Can you tell us more about this, specifically I am interested in it's
capabilities to deal with different traffic scenarios while trying to
hold a conversation.

ie, conversation quality during large upload and during large download.
Also, what is the reduction in overall download/upload speed while you
are on a call, compared to while no call is in progress.

Thanks,
Adam

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread Chris Shaw
I haven't forgotten!! :)

Just an update on my progress, I had to work on Saturday and the family went
on a trip for labor day so I didn't get a lot of time to work on the Wiki.
This week I'm planning on getting some examples put together, I also wrote a
shell script that can be used at boot time to set up QoS on your Linux
Bridge or NAT Router... This and much more will soon be available on the
Wiki!

Keep checking the Wiki, I'm hoping to get this done sometime this week!

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread Marconi Rivello
Nice, Chris!

I have good experience with linux, but never messed around with QoS.
I'm curious :)

Regards.

On Tue, 7 Sep 2004 09:12:10 -0700, Chris Shaw [EMAIL PROTECTED] wrote:
 I haven't forgotten!! :)
 
 Just an update on my progress, I had to work on Saturday and the family went
 on a trip for labor day so I didn't get a lot of time to work on the Wiki.
 This week I'm planning on getting some examples put together, I also wrote a
 shell script that can be used at boot time to set up QoS on your Linux
 Bridge or NAT Router... This and much more will soon be available on the
 Wiki!
 
 Keep checking the Wiki, I'm hoping to get this done sometime this week!
 
 
 
-Chris
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread John Howard
One thing I will say is that my test environment isn’t exactly huge, I'm
using Asterisk with 2 x100p's (PSTN access) and voiptalk here in the UK.
They offer an IAX2 trunk - PSTN gateway service.  I also have a voiptalk
SIP account that I test with as well.

I have tried a few other adsl routers before I tried this, namely a Solwise
SAR715 ADSL Router and an OEM Connexant DSL pile of filth.  Neither would
work at all with SIP or the IAX2 stuff.  I have also had issues with
iptables that I wish to never have to think about again!

Since installing this Zyxel DSL router I have had pretty much no problems at
all.  The Bandwidth shaping is basic but consequently quite simple.

It has SIP, FTP and h.323 as preconfigured profiles that require nothing
more than a source and/or destination address, priority and amount of
bandwidth to allocate.  Other protocols require port number and protocol
type as you'd expect.

If configured to share root bandwidth among classes then it will happily
allow browsing and leeching at full speed, but when you make a call there
will be a near instant drop in download speeds elsewhere.  I allocated
176kbps to port 4569 udp (IAX2) and found that using the voiptalk service
was fine.  I'm having a few ATM issues with our dsl here that didn’t help
testing earlier today, but when the dsl is behaving itself, using the voip
is certainly no different to using the pstn over asterisk.  Both methods are
using gsm as the default codec right now.  There was the occasional defect
in the voice I will admit, but that just the odd bit of packet loss I think.

jd

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev
Sent: 07 September 2004 13:13
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Lower cost router suitable for VOIP ?

On Tue, 2004-09-07 at 21:20, John Howard wrote:
 I'm using the Zyxel 660H-61 with fantastic results.
 
 It supports SIP out of the box, and ive been able to set up the bandwidth
 shaping for SIP (it supports this natively), and iax2 as well.
 
 It cost be about £60 GBP.
 
 Well worth the month I think...

Can you tell us more about this, specifically I am interested in it's
capabilities to deal with different traffic scenarios while trying to
hold a conversation.

ie, conversation quality during large upload and during large download.
Also, what is the reduction in overall download/upload speed while you
are on a call, compared to while no call is in progress.

Thanks,
Adam

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


This message has been scanned for viruses by MailController -
www.MailController.altohiway.com

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.745 / Virus Database: 497 - Release Date: 27/08/2004
 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread Chris Foster
On Tue, 7 Sep 2004 13:34:23 -0300, Marconi Rivello
[EMAIL PROTECTED] wrote:
 Nice, Chris!
 
 I have good experience with linux, but never messed around with QoS.
 I'm curious :)
 
 Regards.
 

I've been using the latest version of IPCop (1.4RC3) a good Linux
firewall, and it includes Traffic Shaping as a feature. I give SSH and
IAX2 as High, where as HTTP is Medium and BitTorrent and others in
the Low priority

It seems to work well. IPCop is very to set up.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-07 Thread spectro
Linksys released a new firmware for the WRT54G with QoS included, so
there should be no need for the sveasoft hack.

For a cheaper solution, stuff a couple of extra ethernet cards in a PC
and make it your firewall by installing smoothwall in it. There is a
module that adds QoS to it and it seems to work pretty well. You can
find more info at
http://community.smoothwall.org/forum/viewtopic.php?t=7922
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-05 Thread Scott Laird
On Sep 3, 2004, at 4:47 PM, Chris Shaw wrote:
Ok Way OT, I didn't mean to get into a religious debate, I like the 
Intel
cards, I have several of them and recommend them to my friends, etc...

Be that as it may... This was using these cards in a software bridge...
significantly more traffic than an ordinary end-to-end connection... 
Packets
destined for MANY different PCs are being passed through the card... 
It may
have been a combination of the bridging code and the NIC drivers that 
lead
to the instability problems I experienced...
In all honesty, I don't think I ever tried to use them in a bridge.  My 
one attempt at that used a 4-port Tulip card.

Scott
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Robert Rozman
Hi,

we're testing Asterisk 1  RC 2 behind ordinary router and NAT. Since we're
sharing network with web server it seems like voip packets are not coming
through fast enough (Digium demo dies after few seconds...). It's the same
if I make direct calls (passing Asterisk) so we conclude it's network
problem - it also work normally outside our router...

I wonder what solutions can we use to give voice packets higher priority.
I'm avare of VOIP routers, but they are pricey. Can some of common routers
help, or maybe implementing router on another simple Linux box?

Any advice, pointers to more info ?
How to trace network and debug Asterisk in convenient way ?

Thanks in advance,

Robert Rozman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread asteriskstuff
Look at the wrt54g or wrt54gs with sveasoft firmware and wondershaper, allows you to 
QOS VoIP data.

Google for sveasoft forums to find the right forum to search.

P

 -Original Message-
 From: Robert Rozman [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 03, 2004, 2:32 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Lower cost router suitable for VOIP ?
 
 Hi,
 
 we're testing Asterisk 1  RC 2 behind ordinary router and NAT. Since we're
 sharing network with web server it seems like voip packets are not coming
 through fast enough (Digium demo dies after few seconds...). It's the same
 if I make direct calls (passing Asterisk) so we conclude it's network
 problem - it also work normally outside our router...
 
 I wonder what solutions can we use to give voice packets higher priority.
 I'm avare of VOIP routers, but they are pricey. Can some of common routers
 help, or maybe implementing router on another simple Linux box?
 
 Any advice, pointers to more info ?
 How to trace network and debug Asterisk in convenient way ?
 
 Thanks in advance,
 
 Robert Rozman
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Marconi Rivello
Hi,

I believe what you're looking for is QoS. I didn't mess around with it
yet... But I know you can setup a cheap linux router with it, so your
VoIP traffic will get more priority.

Here's an idea: setup one linux box as a router, with 1 ethernet for
inside voip, another one for the rest, and the last one to the outside
world. I'm sure you'll find the necessary tools for linux QoS.

Maybe you could have only one inside ethernet connection, and the QoS
thing will let the voip traffic pass with higher priority, but I don't
really know about that. The 2 inside ethernet setup sounds easier to
configure...

Hope it helps...
Marconi.

- Original Message -
From: James H. Thompson [EMAIL PROTECTED]
Date: Fri, 3 Sep 2004 09:22:00 -1000
Subject: Re: [Asterisk-Users] Lower cost router suitable for VOIP ?
To: Asterisk Users Mailing List - Non-Commercial Discussion
[EMAIL PROTECTED]

 
This wiki page has some information on routers that support VOIP: 
  
http://www.voip-info.org/wiki-VOIP+Routers 
  

Jim 
  
James H. Thompson
[EMAIL PROTECTED]
 
 
- Original Message - 
From: Robert Rozman 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
Sent: Thursday, September 02, 2004 11:30 PM 
Subject: [Asterisk-Users] Lower cost router suitable for VOIP ? 

Hi,

we're testing Asterisk 1  RC 2 behind ordinary router and NAT. Since we're
sharing network with web server it seems like voip packets are not coming
through fast enough (Digium demo dies after few seconds...). It's the same
if I make direct calls (passing Asterisk) so we conclude it's network
problem - it also work normally outside our router...

I wonder what solutions can we use to give voice packets higher priority.
I'm avare of VOIP routers, but they are pricey. Can some of common routers
help, or maybe implementing router on another simple Linux box?

Any advice, pointers to more info ?
How to trace network and debug Asterisk in convenient way ?

Thanks in advance,

Robert Rozman

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
I'd be more than happy to send you some info off-list on how to do this in
Linux... It's much cheaper and more flexible than a low-end hardware
solution...

-Chris

- Original Message -
From: Robert Rozman [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 2:30 AM
Subject: [Asterisk-Users] Lower cost router suitable for VOIP ?


 Hi,

 we're testing Asterisk 1  RC 2 behind ordinary router and NAT. Since we're
 sharing network with web server it seems like voip packets are not coming
 through fast enough (Digium demo dies after few seconds...). It's the same
 if I make direct calls (passing Asterisk) so we conclude it's network
 problem - it also work normally outside our router...

 I wonder what solutions can we use to give voice packets higher priority.
 I'm avare of VOIP routers, but they are pricey. Can some of common routers
 help, or maybe implementing router on another simple Linux box?

 Any advice, pointers to more info ?
 How to trace network and debug Asterisk in convenient way ?

 Thanks in advance,

 Robert Rozman

 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Colin Anderson
 Any advice, pointers to more info ?

MeshBox'll work:

http://www.locustworld.com/modules.php?op=modloadname=Newsfile=articlesid
=52mode=threadorder=0thold=0

SIP prioritization is supposed to happen regardless if the clients are wired
or wireless. 

The distro is free:

http://www.locustworld.com/modules.php?op=modloadname=Downloadsfile=index;
req=getitlid=5

I've played with it, and it's nice. 
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Marconi Rivello
Chris,

I believe it would be nice to send the info also to the list. So
others would be able to benefit as well. You've got at least 2 people
interested :)

Marconi.

On Fri, 3 Sep 2004 13:41:30 -0700, Chris Shaw [EMAIL PROTECTED] wrote:
 I'd be more than happy to send you some info off-list on how to do this in
 Linux... It's much cheaper and more flexible than a low-end hardware
 solution...
 
 -Chris
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VoIP?

2004-09-03 Thread Chris Shaw
 Chris,

 I believe it would be nice to send the info also to the list. So
 others would be able to benefit as well. You've got at least 2 people
 interested :)

 Marconi.


Ok, I just wasn't sure because it's more of an 802.3Q/Routing issue rather
than an * issue, but if everyone's cool with it I sure will... I'm not the
only one who knows this stuff and I might not even be doing it the best way
but it works for me and I'm using it with *...

- Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Rich Allen
make that 3
- hcir
On Sep 3, 2004, at 12:47 PM, Marconi Rivello wrote:
Chris,
I believe it would be nice to send the info also to the list. So
others would be able to benefit as well. You've got at least 2 people
interested :)
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Walt Reed
How about the Wiki? :-)

On Fri, Sep 03, 2004 at 12:58:52PM -0800, Rich Allen said:
 make that 3
 
 - hcir
 On Sep 3, 2004, at 12:47 PM, Marconi Rivello wrote:
 
 Chris,
 
 I believe it would be nice to send the info also to the list. So
 others would be able to benefit as well. You've got at least 2 people
 interested :)
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
 How about the Wiki? :-)

I think I'm gonna have to because it would be too long to e-mail! I can give
you guys the short version though...

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread James H. Thompson



Wiki page:

 http://www.voip-info.org/tiki-index.php?page=VOIP+Routers

Feel free to create add to/update/create new 
pages.


Jim

James H. Thompson[EMAIL PROTECTED]

  - Original Message - 
  From: 
  Chris 
  Shaw 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Friday, September 03, 2004 11:19 
  AM
  Subject: Re: [Asterisk-Users] Lower cost 
  router suitable for VOIP ?
   How about the Wiki? :-)I think I'm gonna have to 
  because it would be too long to e-mail! I can giveyou guys the short 
  version though... 
  -Chris___Asterisk-Users 
  mailing list[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Rich Adamson
 I believe what you're looking for is QoS. I didn't mess around with it
 yet... But I know you can setup a cheap linux router with it, so your
 VoIP traffic will get more priority.
 
 Here's an idea: setup one linux box as a router, with 1 ethernet for
 inside voip, another one for the rest, and the last one to the outside
 world. I'm sure you'll find the necessary tools for linux QoS.

To ensure everyone is on the same page with QoS, the above will only
satisfy a small piece of the problem, Outgoing data flows.

In order to properly address any voip call, you really need to address
both incoming and outgoing data flows. The incoming part of that can
only be addressed by having your ISP (and their providers in many
cases) also implement QoS. Good luck.



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
Well.. ok... here goes the Short version, I will be adding examples and
explanations to the wiki when I get off work... :-)

Bear in mind this is what I do, change it to fit your situation...

I'm on a cable modem which everyone knows just BLOWS for latency, also it's
an external one so you can't control the buffering... but I've been able to
use Linux QoS to make it near toll-quality with the occasional jitter during
heavy downloading...

I have 3Mbit download speed and an abysmal 256kbit upload speed... Needless
to say that upload is a problem when shared between 6 machines... Everything
that you do requires sending SYN/ACK packets and such which destroys
upstream band... Unless you use QoS these packets will just be thrown at the
interface willy-nilly with no regard for speed and time...

There are 2 ways that I know of to do this and because of the topology of my
network I actually use BOTH methods so I know it works very well!

The first is to use the linux bridging code included in the 2.4.X and 2.6.X
series kernels and the bridge-firewalling code included with the ebtables
project (http://ebtables.sourceforge.net) to create a Layer-2 ethernet
switch with QoS support. I use ebtables and it's packet marking target to
mark packets that are received from my LAN and are destined to be bridged to
my WAN interface hooked into the cable modem. Then I create QoS filters
based on those marks... Using ebtables also allows you to mark packets based
on their destination MAC whereas iptables does not... Bear in mind that this
is a software switch not a hardware switch so it can pass packets at wire
speed but some network drivers are horribly broken and slow (rtl8139, 3c90x,
eepro100, etc..)  and also when you open a lot of TCP sockets simultaneously
it uses a lot of memory and CPU... This works beautifully and to the end
users and applications it's completely transparent!

The second way is to simply use IPTABLES and NAT to create a NAT router. In
this scenario you're just using iptables' connection tracking code to do
NAT/MASQUERADING (like in the good ol' IPCHAINS days of 2.2.x or the IPFWADM
days of 2.1.x!). In this situation packet marking is done in the MANGLE
table, in the FORWARDING chain...

For those of you who feel brave/foolish enough to use the U32 packet
matching code instead of marking the packets, that will work for the NAT
router but not in the way you would expect for the bridge because it works
at layer 2...

If you already have a router like a LinkSys or a Dlink that doesn't support
Qos, don't worry! I would suggest using the Linux bridge code and placing a
linux box between your LAN and the router. That way you can implement QoS
and strong firewalling based on IPTABLES to your hardware router!

Again, I'm going to be posting examples of my setup on the wiki. Also I've
written an init-style script for ebtables and am currently working on an
ifup style script for the bridge device. That one's tricky because the
bridge code doesn't pass packets for 30 seconds while it's Learning. Also
the bridge device is traditionally not assigned an IP address...

-Chris


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
I'll be sure and include all of the important links I've used as well...
Bear in mind that this will only help YOUR network, if your ISP's link to
the rest of the world sucks then you still won't get the desired results...
but with a little bit of network grooming, I think most people will be able
to get the results they want even on DSL/Cable!

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
Also I'm not trying to say Linux is better than FreeBSD, I know FreeBSD has
a similar implementation, unfortunately I'm not familiar enough with BSD's
Bridging/Firewalling/Routing implementation, anyone with BSD experience who
wants to add to this feel free!

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Andrew Kohlsmith
On Friday 03 September 2004 18:44, Rich Adamson wrote:
 In order to properly address any voip call, you really need to address
 both incoming and outgoing data flows. The incoming part of that can
 only be addressed by having your ISP (and their providers in many
 cases) also implement QoS. Good luck.

Generally speaking, the bulk of data flowing in any end-user pipe is contained 
in TCP and that can be rate limited on the receiving side.  UDP traffic 
you're more or less out of luck with unless the ISP supports ECN which many 
do not.

So really the key to VOIP on consumer grade connections simply not to fill 
your pipe, since you have no control over what is prioritised.

-A.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Andrew Kohlsmith
On Friday 03 September 2004 17:48, Chris Shaw wrote:
 based on their destination MAC whereas iptables does not... Bear in mind
 that this is a software switch not a hardware switch so it can pass packets
 at wire speed but some network drivers are horribly broken and slow
 (rtl8139, 3c90x, eepro100, etc..)  and also when you open a lot of TCP
 sockets simultaneously it uses a lot of memory and CPU... This works
 beautifully and to the end users and applications it's completely
 transparent!

eepro100 is horribly broken?  I can saturate the link without breaking a sweat 
-- not in CPU nor memory.

-A.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
- Original Message -
From: Andrew Kohlsmith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 03, 2004 3:06 PM
Subject: Re: [Asterisk-Users] Lower cost router suitable for VOIP ?


 On Friday 03 September 2004 17:48, Chris Shaw wrote:
  based on their destination MAC whereas iptables does not... Bear in mind
  that this is a software switch not a hardware switch so it can pass
packets
  at wire speed but some network drivers are horribly broken and slow
  (rtl8139, 3c90x, eepro100, etc..)  and also when you open a lot of TCP
  sockets simultaneously it uses a lot of memory and CPU... This works
  beautifully and to the end users and applications it's completely
  transparent!

 eepro100 is horribly broken?  I can saturate the link without breaking a
sweat  -- not in CPU nor memory.

The drivers have gotten much better, but yes, up until about 2.4.22 it used
to hard lock my server every 24 hours or so under heavy packet loads...
Remember what I said about it being a software bridge... Intel cards in
general are not known for being CPU-Friendly...

Really the tulip based cards are the fastest I've seen, I know they're kinda
cheap boards usually but they scream performance-wise...

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
 Generally speaking, the bulk of data flowing in any end-user pipe is
contained
 in TCP and that can be rate limited on the receiving side.  UDP traffic
 you're more or less out of luck with unless the ISP supports ECN which
many
 do not.

 So really the key to VOIP on consumer grade connections simply not to fill
 your pipe, since you have no control over what is prioritised.

That's basically what I'm doing... I'll post examples but that's about all
you can do... It's really up to the ISP, but all I'm saying is that you can
have a pretty decent setup without Carrier-Grade SLAs, you CAN do it over
pretty much any broadband connection within reason of course...

Also jitter can be a problem if the ISP is using RED... RED really falls
short for UDP, it was designed with TCP's backoff algoritms in mind. RED
like many other QoS schedulers works by dropping packets... this is not good
for VoIP...

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw
Actually to be fair I think it was more a combination of the NIC driver and
the connection tracking code at the time that lead to the lockups... With
connection tracking and bridging, the firewall tracks EVERY connection, not
just NAT so it can use a lot of CPU/Memory... But the Intel drivers can be a
bit slow and CPU-intensive, there's been lots of discussion about that...

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Scott Laird
On Sep 3, 2004, at 3:17 PM, Chris Shaw wrote:
The drivers have gotten much better, but yes, up until about 2.4.22 it 
used
to hard lock my server every 24 hours or so under heavy packet loads...
Remember what I said about it being a software bridge... Intel cards in
general are not known for being CPU-Friendly...
That's not my experience.  I don't remember any eepro100 driver 
lock-ups, and I have at least 1000 card-years of experience with them, 
ranging back from 2.0.x to 2.6.x.  We replaced all of our 3com cards 
due to driver problems (circa 1998), but the Intel cards Just Worked.  
We never noticed a CPU load problem, but we were only rarely concerned 
with CPU load, anyway.

Really the tulip based cards are the fastest I've seen, I know they're 
kinda
cheap boards usually but they scream performance-wise...
I've always been nervous about Tulip clones.  I have a half-dozen 21143 
boards at home that are great.

Scott
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Lower cost router suitable for VOIP ?

2004-09-03 Thread Chris Shaw



 That's not my experience.  I don't remember any eepro100 driver
 lock-ups, and I have at least 1000 card-years of experience with them,
 ranging back from 2.0.x to 2.6.x.  We replaced all of our 3com cards
 due to driver problems (circa 1998), but the Intel cards Just Worked.
 We never noticed a CPU load problem, but we were only rarely concerned
 with CPU load, anyway.

Ok Way OT, I didn't mean to get into a religious debate, I like the Intel
cards, I have several of them and recommend them to my friends, etc...

Be that as it may... This was using these cards in a software bridge...
significantly more traffic than an ordinary end-to-end connection... Packets
destined for MANY different PCs are being passed through the card... It may
have been a combination of the bridging code and the NIC drivers that lead
to the instability problems I experienced...

 I've always been nervous about Tulip clones.  I have a half-dozen 21143
 boards at home that are great.

The tulip cards are awesome for the simple fact that they're hella old...
(yes that's the scientific reason!) The tulip design goes back to the old
DEC 21040 chips of the early-mid nineties (ahhh the good ol' days!) There
has been a lot of time to play with these chipsets and they are well
documented so pretty much all of their functions work well and there are no
surprises The problem with Intel/3Com/et. al. is that the open source
drivers either have to be reverse-engineered or the company has to be
open-source minded enough to share information... There are many
undocumented features in these kinds of drivers that just kinda work(tm)...

Again... I have no affiliation with one or the other, no religious
prefrences, no nothing... This is just what I've found using the cards...
YMMV!

-Chris

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users