Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2009 10:37:30 -0800
From:      "Kurt Buff" <kurt.buff@gmail.com>
To:        "=?ISO-8859-1?Q?Sd=E4vtaker?=" <sdavtaker@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Tool for traffic measure?
Message-ID:  <a9f4a3860901031037i569892cq8c71b3c92e9259f5@mail.gmail.com>
In-Reply-To: <c37d69f60901030803n2489d4c8n941c196f92ee0c84@mail.gmail.com>
References:  <c37d69f60901022121t4d0f8e5dyd43c1eac76478c18@mail.gmail.com> <a9f4a3860901022200s3de40fdcyf57a5e009f9d36ca@mail.gmail.com> <c37d69f60901030803n2489d4c8n941c196f92ee0c84@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 3, 2009 at 8:03 AM, Sd=E4vtaker <sdavtaker@gmail.com> wrote:
> Thanks for the info, i got a linksys SD208:
> http://www.linksys.com/servlet/Satellite?c=3DL_Product_C2&childpagename=
=3DUS%2FLayout&cid=3D1123638180923&pagename=3DLinksys%2FCommon%2FVisitorWra=
pper&lid=3D8092322279B03
> It got 0 intelligence, right?
> Thanks for the replies
> Sdav
>
> On Sat, Jan 3, 2009 at 4:00 AM, Kurt Buff <kurt.buff@gmail.com> wrote:
>> On Fri, Jan 2, 2009 at 9:21 PM, Sd=E4vtaker <sdavtaker@gmail.com> wrote:
>>> Hello,
>>> I got a subnet with 5 machines and a cablemodem who provides 5 public i=
ps
>>> All is conected to a switch.
>>> One of the machines is not ours and we want to check it is not
>>> abuseing our internet link, so we want to know if there is any way to
>>> monitor bandwich usage from one of the other machines in the subnet
>>> with no need to modify the foreing machine config. Something like use
>>> tcpdump in promiscuos mode or something like that, we doesnt matter
>>> the content, we just need a bandwich conssumption meassure.
>>> Thanks for any ideas.
>>> Sdav
>>
>> You have several options:
>>
>> 1) If the switch has some intelligence, you can monitor it to measure
>> bandwidth consumption. There are two ways to do this:
>>     a) if the switch implements SNMP, you can use mrtg (simple) or
>> cacti (not so simple) to graph bandwidth on the switch by port and in
>> total
>>     b) if the switch can mirror all of the data going across the
>> switch to a port on the switch, you can use ntop to graph traffic. It
>> only shows the top three bandwidth consumers at any given time, but i)
>> it does have very nice graphing, and if the machine you are concerned
>> about is consuming more than its fair share it will show, and ii) you
>> can use standard bpf filters to capture utilization for just that box.
>>
>> 2) if you have a spare machine, you can put two NICs in it, and use it
>> as a bridge between the switch and the router. This is a bit more
>> complicated, but it allows you to implement either option 1a or 1b
>> above.
>>
>> Kurt

Yes, the switch has zero intelligence. You'll either need another
switch, or a spare PC with two NICs.

Kurt



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