Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 15:22:18 +0200 (CEST)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        John Angelmo <john@veidit.net>
Cc:        FreeBSD ISP <freebsd-isp@FreeBSD.ORG>
Subject:   Re: PPP Bandwidth management
Message-ID:  <200003271322.PAA24199@info.iet.unipi.it>
In-Reply-To: <38DF5F99.151AFE89@veidit.net> from John Angelmo at "Mar 27, 2000 03:18:17 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Well the ting is that is there possible to put the management on the ppp
> level? like MP+ or BACP?

some time ago Kenjiro had a version of altq for ppp -- i have no idea
if its still there. In any case i don't know how much you would gain
given that the transmit clock in your setting is practically useless
to do any kind of shaping.

	cheers
	luigi
> /John
> 
> 
> John Angelmo wrote:
> > 
> > Great I will try that. I have loads of things to try now :-)
> > 
> > /John
> > 
> > Luigi Rizzo wrote:
> > >
> > > > Hmm well the problem is that I have my server that has the pppoe server
> > > > stuff and the natd to my card connected to the net. ipfw just uses flush
> > > > and divert.. do you have any good info?
> > >
> > > very quickly (sorry am in a hurry!) you have to set
> > >  net.inet.ip.fw.one_pass=0 so you can have packets go multiple times
> > > through ipfw, then something like
> > >
> > >         ipfw add 100 pipe 1 ip from any to any uid some-user
> > >         ipfw add 200 divert ip from any to any [this is the old divert rule ]
> > >         ipfw allow ip from any to any
> > >
> > >         ipfw pipe 1 config bw 300Kbit/s
> > >
> > > when a pkt matches rule 100, it gets shaped into pipe 1, on exit
> > > goes to rule 200 which passes the pkt to natd, and then goes into
> > > the next rule after natd (possibly...).
> > >
> > > hope you get the idea. a bit of experimentation will be necessary.
> > >
> > >         cheers
> > >         luigi
> > > -----------------------------------+-------------------------------------
> > >   Luigi RIZZO, luigi@iet.unipi.it  . Dip. di Ing. dell'Informazione
> > >   http://www.iet.unipi.it/~luigi/  . Universita` di Pisa
> > >   TEL/FAX: +39-050-568.533/522     . via Diotisalvi 2, 56126 PISA (Italy)
> > >   Mobile   +39-347-0373137
> > > -----------------------------------+-------------------------------------
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-isp" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003271322.PAA24199>