[lug] Router Recommendation

David L. Anselmi anselmi at anselmi.us
Mon Aug 29 17:57:29 MDT 2005


Hugh Brown wrote:
[...]
> The basic routing between two linux segments seems like it would be a
> few hours work for someone that had a very basic understanding of
> networking and a howto.  I was thinking more about the traffic shaping,
> traffic auditing/accounting, ....

Actually the Linux box may do that automatically once you enable ip 
forwarding (hardly hours to find that in the HOWTOs).  Now getting the 
machines on each segment to use the gateway as a gateway, maybe a few 
more minutes.  But I bet you could do it with an hour in the HOWTO, an 
hour of hardware setup and fiddling, and time left over for a beer. ;-)

[...]
> Here's a sample of the weirdness I've seen.  I have a cronjob that runs
> every 6 hours and greps the RX line from ifconfig.  Uptime on the box is
> 93 days.  Box is misleading though, since it is an instance of UML.
> 
> 2005-08-16:18:  RX bytes:4250747146 (3.9 GiB)  TX bytes:466814358 (445.1
> MiB)
> 2005-08-17:00:  RX bytes:4266423260 (3.9 GiB)  TX bytes:467046431 (445.4
> MiB)
> 2005-08-17:06:  RX bytes:4281988308 (3.9 GiB)  TX bytes:467141907 (445.5
> MiB)
> 2005-08-17:12:  RX bytes:2901362 (2.7 MiB)  TX bytes:467493415 (445.8
> MiB)
> 2005-08-17:18:  RX bytes:18624117 (17.7 MiB)  TX bytes:467968541 (446.2
> MiB)
> 2005-08-18:00:  RX bytes:34502883 (32.9 MiB)  TX bytes:468440581 (446.7
> MiB)
> 2005-08-18:06:  RX bytes:49337141 (47.0 MiB)  TX bytes:468519834 (446.8
> MiB)

Well, is UML showing you a virtual interface or the actual NIC?  Not 
that it matters but it may be important for understanding what you see.

But the above looks a whole lot like you've got a 32 bit counter 
wrapping around (2^32 = 4.3 GiB).  Maybe you need to read the counter 
and set it back to zero (the iptables accounting or stuff in snmp or 
whatever monitoring packages like nagios or cricket use might be easier 
to use).

Dave



More information about the LUG mailing list