From owner-freebsd-net Fri Mar 24 17:40:42 2000 Delivered-To: freebsd-net@freebsd.org Received: from basic.maxnet.ru (ns.maxnet.ru [195.112.97.17]) by hub.freebsd.org (Postfix) with ESMTP id 0E18B37B78C for ; Fri, 24 Mar 2000 17:40:34 -0800 (PST) (envelope-from techsup@maxnet.ru) Received: from pshome (pshome.obninsk.ru [195.112.102.2]) by basic.maxnet.ru (8.9.3/8.9.0) with SMTP id EAA04669; Sat, 25 Mar 2000 04:40:12 +0300 (MSK) Message-ID: <013001bf95fb$2fc17240$026670c3@obninsk.ru> From: "MAXnet Technical Support" To: , "Kenjiro Cho" Cc: , References: Subject: Re: [altq 381] RE: ALTQ and PPP Date: Sat, 25 Mar 2000 04:41:04 +0300 Organization: MAXnet Systems Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Andriy I've got two comments to Your problem: 1. With ALTQ You can control only _OUTGOING_ traffic but not incoming. So the only way to contol incoming traffic on 1) is shaping of outgoing traffic on other interfaces. 2. You have to make drivers for Cronyx Tau compatible with ALTQ in order to achive Your goal. If You'll do so - please let me know 8) Paul Sokolovsky MAXnet Systems Russia ----- Original Message ----- From: "Andriy Korud" To: "Kenjiro Cho" Cc: ; Sent: 23 ????? 2000 ?. 20:06 Subject: [altq 381] RE: ALTQ and PPP > > > > Andriy Korud wrote: > > > Hi all, > > > I need to setup the following router: > > > 1. Cronyx Tau-PCI/G.703 (first channel) - ulplink to provider (Cisco) > > > 2. Cronyx Tau-PCI/G.703 (second channel) - client > > > 3. Ethernet (IntelEtherExpress) - client > > > 4. Async PPP at 115kbps - client > > > > > > I need to prioritize traffic from 1 to 2,3,4 (and > > correspondingly from 2,3,4 > > > to 1) with different priorities. I know I have to look at ALTQ > > but not sure > > > all this will work. > > > > I'm not sure what you mean by "prioritize" but, if you want to simply > > limit bandwidth use, try dummynet. If you want to distribute excess > > bandwidth, you'll need ALTQ. > > Note that managing traffic from 1 to 2, 3, 4 is quite different from > > managing traffic from 2, 3, 4, to 1 since you can't do much about > > incoming traffic from a bottleneck. > > > It seems that I really need ALTQ. > Here I try to describe my needs more detailed: > On other side of PPP interface (4) I'll have two clients, 4.1 and 4.2 > I'll have the following data flows in my system (sorted by priority) > 1. Internet via (1) <-> 3; (highest priority) > 2. 3 <-> 4.1; > 3. Internet via (1) <-> 4.2; > 4. Internet via (1) <-> 2; > > I need to make rules like: if we have packet from 3 to Internet, all other > will wait; > If we have packet from 3 to 4.1 via PPP, other PPP traffic (to 4.2) will > wait. etc > > I suppose that the hardest part will be to regulate incoming traffic from 1. > On opposite side of 2,4 I plan to setup FreeBSD routers with ALTQ - this > should help me. > > Thanks in advance, > Andriy Korud, Lviv, Ukraine > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message