Subject: Re: Accounting on MAC Adress
To: Tobias Schuepp <netbsd-users@netbsd.org, tobias.schuepp@antwerpes.de>
From: Hubert Feyrer <hubert@feyrer.de>
List: netbsd-users
Date: 09/04/2001 13:08:41
In article <20010904103552.E43356@antwerpes.de> you wrote:
> i want to do traffic accounting for our c-class lan. i managed to do it
> on ip-adresses with ipfilter but i want to handel the ip-adresses by dhcp. how can i
> do accounting by using the internal mac-adress of the interfaces? 

Run "tcpdump -e", log to a file, and then sum it up.
Nice perl practice. :)


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/