Re: traffic accounting with ipfwadm
- To: debian-isp@lists.debian.org
- Subject: Re: traffic accounting with ipfwadm
- From: Fabian Knittel <fknittel@gmx.de>
- Date: Fri, 19 Nov 1999 20:16:42 +0100
- Message-id: <11otYR-0005D3-00@[192.168.10.1]>
- In-reply-to: <11oDVw-0003vd-00@[192.168.10.1]>; from fknittel@gmx.de on Wed, Nov 17, 1999 at 11:25:20PM +0100
- References: <11oDVw-0003vd-00@[192.168.10.1]>
On Wed, Nov 17, 1999 at 11:25:20PM +0100, Fabian Knittel wrote:
> My question isn't very debian related. It's more like a general
> linux networking problem with an old 2.0.x kernel. I'm trying
> to make the server count the bytes transferred to and from the
> alias ip address i've set up on it.
>
> This is what I type:
>
> /sbin/ipfwadm -A in -a -W eth0:4 -P all -S 0.0.0.0/0 -D 192.168.10.2
> /sbin/ipfwadm -A out -a -W eth0:4 -P all -S 192.168.10.2 -D 0.0.0.0/0
Actually, the solution was to change eth0:4 to eth0. Using ipac
wouldn't have helped me (I even tried it) as it accepted eth0:4
too and then didn't work either.
Thanks for all answers though :)
--
Fabian Knittel fknittel@gmx.de
EDV SYSTEM CONSULTING http://www.esc-web.de
Reply to: