From owner-freebsd-net Thu Mar 23 9:13:17 2000 Delivered-To: freebsd-net@freebsd.org Received: from guard.polynet.lviv.ua (Guard.PolyNet.Lviv.UA [209.58.62.194]) by hub.freebsd.org (Postfix) with SMTP id 3F7C437B649 for ; Thu, 23 Mar 2000 09:13:09 -0800 (PST) (envelope-from akorud@polynet.lviv.ua) Received: (qmail 76519 invoked from network); 23 Mar 2000 17:06:13 -0000 Received: from unknown (HELO postoffice.polynet.lviv.ua) (unknown) by unknown with SMTP; 23 Mar 2000 17:06:13 -0000 Received: (qmail 62624 invoked from network); 23 Mar 2000 17:06:12 -0000 Received: (ofmipd unknown); 23 Mar 2000 17:05:50 -0000 Date: 23 Mar 2000 19:06:21 +0200 Message-ID: From: "Andriy Korud" To: "Kenjiro Cho" Cc: freebsd-net@freebsd.org, " " Subject: RE: ALTQ and PPP MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20000324014812T.kjc@csl.sony.co.jp> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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