Date: Mon, 17 Jan 2000 14:21:21 +0100 (CET) From: Luigi Rizzo <luigi@info.iet.unipi.it> To: Rowan Crowe <rowan@sensation.net.au> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Bandwidth limiting on Switch. Message-ID: <200001171321.OAA53609@info.iet.unipi.it> In-Reply-To: <Pine.BSF.4.01.10001180013020.4659-100000@velvet.sensation.net.au> from Rowan Crowe at "Jan 18, 2000 00:15:43 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > Can one monitor bandwidth as well as limit it with dummynet? > Dummynet is part of (or configured via) ipfw, so you can just add in an > identical 'count' ipfw rule... > > It would be handy if we could specify dummynet pipes as an interface, to The new dummynet code in 4.0 (soon to go into 3.4) lets you do this as it has counters associated to pipes, and it also gives you the ability to define masks and create separate pipes per each flow, so you can basically do counting with something like ipfw add pipe 1 ip from any to any ipfw pipe 1 config mask src-ip 0xffffffff bw 60Kbit/s so you can have per-host accounting, and the like. Kind of the things you can do with trafshow/ntop but this is in-kernel so it is interface-independent. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001171321.OAA53609>