I have to think this has been asked before, but Googling and
archive-searching didn't show me anything enlightening. I'd like to
measure bandwidth on my enc0 interface. I can easily monitor the
physical interfaces on my routers using netstat or snmp, but all the
statistics for enc0 (and pflog0, and pfsync0) are zero. Ok, so I can't
monitor bandwidth on virutal interfaces -- I can understand that. The
next most obvious option is to set up something like tcpdump and a few
other things to count packets on enc0, or to count esp packets on my
external interface, or even to count packets on the internal interface
headed to the network on the other side of the tunnel, or something.
That's certainly possible, and not terribly daunting, but I was hoping
someone had a better solution (where better = "here's a command that
pulls a counter from the kernel" or "this package makes the value
available over snmp" or even "here's the script I use"). I appreciate
any pointers anyone is willing to give.

-Josh

Reply via email to