On Saturday 01 March 2008, Drew Tomlinson wrote:
> > Sometimes the router has an accounting feature. Otherwise you need
> > to make a Linux box the gateway for the entire LAN and hang the
> > ADSL router off one of it's interfaces. Then do accounting via any
> > one of numerous tools
> >  
>
> I concur with the above poster and use a FreeBSD machine as my
> gateway.   There is a tool called 'trafshow' I use for quick real
> time traffic analysis which might be useful for you.  I found it in
> portage:
>
> net-analyzer/trafshow

There's one other way that I just remembered (for future reference). You 
don't *have* to use a linux machine as a gateway if you have a decent 
managed switch - set it to route all traffic on all ports out through 
the port that a monitoring machine is connected to. In other words, 
that one part acts like a hub. Now that the monitoring machine can see 
every bit on the entire Ethernet, it can count 'em :-)

However, these switches cost a fortune and I very much doubt that the 
el-cheapo ADSL routers on the market have this feature. Both of mine 
certainly don't.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list

Reply via email to