[ previous ] [ next ] [ threads ]
 From:  "NewMedia42" <newmedia42 at excite dot com>
 To:  newmedia42 at excite dot com
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  RE: [m0n0wall] Traffic Shaper/MRTG/IP usage question...
 Date:  Sun, 26 Sep 2004 07:38:02 -0400 (EDT)
For future reference, I was able to solve this by monitoring the WAN interface for inbound traffic
graphing and the OPT1 interface for outbound traffic graphing.  I didn't need to do this when I was
monitoring pure NAT traffic, but in the case of using a bridge that was what it took to make it

 --- On Fri 09/17, NewMedia42 < newmedia42 at excite dot com > wrote:
From: NewMedia42 [mailto: newmedia42 at excite dot com]
To: m0n0wall at lists dot m0n0 dot ch
Date: Fri, 17 Sep 2004 14:33:09 -0400 (EDT)
Subject: [m0n0wall] Traffic Shaper/MRTG/IP usage question...

<br>I'm using the method outlined by John Voigt for feeding data into MRTG, basically adding a
Traffic Shaper rule for the inbound and outbound data, then using a custom php page to output the
results of ipfw show; followed by a bit of perl code on the MRTG end a voila!  IP stats!<br><br>Now,
this works fine on my home deployment of mono, running on a 4801, but I just built a 3gig P4 system
running the generic mono PC image and it doesn't appear to be working correctly.  When I do the
show, I see the following (I replace the first three octets with x):<br><br>50002       0         0
pipe 1 ip from x.x.x.1 to any via rl0<br>50003     168      4704 pipe 1 ip from any to x.x.x.1 via
rl0<br><br>It obviously is tracking the data Inbound, but not Outbound.  I should also point out
that I'm trying to track this on the 3rd NIC, which I have bridged with the WAN interface, with
filter bridge enabled.  The only other interesting thing is that if I put the rule on the WAN
interface then it won't show ANY stats (this is true of my home install as well) - it only shows
stats if on the LAN or OPT interface.<br><br>Does anyone have any idea why this wouldn't work?  I'm
stumped as to why it would have these
results...<br><br><br>_______________________________________________<br>Join Excite! -
http://www.excite.com<br>The most personalized portal on the
Web!<br><br>---------------------------------------------------------------------<br>To unsubscribe,
e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch<br>For additional commands, e-mail:
m0n0wall dash help at lists dot m0n0 dot ch<br><br>

Join Excite! - http://www.excite.com
The most personalized portal on the Web!