Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#311343 - 13/06/2008 17:47 'transparent' ip traffic monitoring
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
I'm looking to prove that a wan link into my building at work is saturated. Is there an application i can run that would connect two ethernet interfaces together so it could be put 'in circuit' so traffic passes transparently through it and then the amount of data is logged over time.

I realise i could probably get this out of the router itself but i don't have the relevant privs to log in. It's owned by the link provider.
_________________________
Cheers,

Andy M

Top
#311344 - 13/06/2008 18:01 Re: 'transparent' ip traffic monitoring [Re: andym]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Yes, just insert a dual-NIC Linux box (any flavour, really), and have it route packets between the two interfaces.

ethtool -S ethX will then tell you more than you ever wanted to know about the traffic.

-ml

Top
#311345 - 13/06/2008 18:03 Re: 'transparent' ip traffic monitoring [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Originally Posted By: mlord
Yes, just insert a dual-NIC Linux box (any flavour, really), and have it route packets between the two interfaces.

One way to accomplish that very simply, is to just tell the system to bridge the two interfaces, making the Linux box itself 100% transparent.

The man page for brctl is a good place to look for the exact syntax.

EDIT:
The box itself could simply be a notebook, with an extra USB NIC attached, running a LiveCD distro (no install required).

-ml


Edited by mlord (13/06/2008 18:04)

Top
#311346 - 13/06/2008 18:32 Re: 'transparent' ip traffic monitoring [Re: andym]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Mark's answer is correct. I'd go with the bridge option, as it won't require you to make any changes on your network otherwise.

However, if you have a managed switch (that is, one you can log into, basically) that's attached to the router, you should be able to get that information directly from it.
_________________________
Bitt Faulk

Top
#311347 - 13/06/2008 18:33 Re: 'transparent' ip traffic monitoring [Re: mlord]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
I've actually got the perfect box for this... Low power and three NICs. Will get to work on it on Monday!
_________________________
Cheers,

Andy M

Top