Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can this be done? Diagnostic Tool

Reply
Thread Tools Display Modes

Can this be done? Diagnostic Tool

 
 
Curt Bousquet
Guest
Posts: n/a

 
      11-20-2004, 12:27 AM
Here is what I would like to build:

A linux box with two interfaces that I could drop into any
network, for example between the router and the switch, without
needing to make any addressing changes.

Once in place, I'd like to be able to use software like
ethereal, GKrellm, MRTG or other traffic monitoring software to
watch traffic by port, type, destination or source address, etc,
etc, etc in realtime so I can monitor bandwidth usage and types
of traffic at that point in the network.

Just plugging a box into the switch wouldn't work, since I want
to see ALL the traffic, not just stuff addressed to the boxe's
interface or broadcast traffic...

I've seen some devices that can be configured with
'transparant' IP addressing so traffic passes right through. How
would I do this on, for instance, a Fedora box? Is there some
kind of project that already exists that gives this kind of
functionality?

Thanks for any pointers.
 
Reply With Quote
 
 
 
 
IANAL_VISTA
Guest
Posts: n/a

 
      11-20-2004, 01:12 AM
Curt Bousquet <(E-Mail Removed)> wrote in
news:Xns95A6D0170D221xyzzyxyzzy@216.196.97.142:

> Here is what I would like to build:
>
> A linux box with two interfaces that I could drop into any
> network, for example between the router and the switch, without
> needing to make any addressing changes.
>
> Once in place, I'd like to be able to use software like
> ethereal, GKrellm, MRTG or other traffic monitoring software to
> watch traffic by port, type, destination or source address, etc,
> etc, etc in realtime so I can monitor bandwidth usage and types
> of traffic at that point in the network.
>
> Just plugging a box into the switch wouldn't work, since I want
> to see ALL the traffic, not just stuff addressed to the boxe's
> interface or broadcast traffic...
>
> I've seen some devices that can be configured with
> 'transparant' IP addressing so traffic passes right through. How
> would I do this on, for instance, a Fedora box? Is there some
> kind of project that already exists that gives this kind of
> functionality?
>
> Thanks for any pointers.


Something tells me you have more curiosity than actual networking
knowledge.

Not that many years ago, many folks used hubs (before switches got cheap).
The downside of a hub is that everything plugged into it saw the same
collection of packets.
Now if you had one of these hubs and plugged into it your Linux box,
a cable going to the router, and a cable going to the switch, you could
place your single NIC into promiscuous read mode & see EVERY packet that
passes between the router & the switch.

I do believe this is an easier solution than what you proposed.
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      11-20-2004, 02:11 AM
Curt Bousquet wrote:

> Just plugging a box into the switch wouldn't work, since I want
> to see ALL the traffic, not just stuff addressed to the boxe's
> interface or broadcast traffic...
>


You can use a hub, between the router and switch, though it would cost you
full duplex and depending on hub, drop you to 10 Mb. Also, some switches
have a monitoring port.


 
Reply With Quote
 
Vilmos Soti
Guest
Posts: n/a

 
      11-20-2004, 04:22 AM
Curt Bousquet <(E-Mail Removed)> writes:

> Here is what I would like to build:
>
> A linux box with two interfaces that I could drop into any
> network, for example between the router and the switch, without
> needing to make any addressing changes.


You need an ethernet bridge. It is essentially having a computer
with two NICs. They don't have IP addresses, but the traffic
is forwarded between them. Then you can monitor the traffic.

Vilmos

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Diagnostic Tool In Internet Explorer 7 on Windows Xp Sp2 robert_duncombe Wireless Networks 1 02-25-2007 05:22 PM
HDD Diagnostic Application Nutty Linux Networking 2 10-25-2006 01:08 PM
Any tool to trace incoming and outgoing packets in Kernel, also loking for tool to debug application struck in infinite loops? GS Linux Networking 0 06-18-2006 04:24 AM
Looking for diagnostic ideas.... intrepid_dw@hotmail.com Linux Networking 2 01-17-2006 01:21 AM
EN5861 Diagnostic Roland Burr Broadband 3 09-10-2003 11:36 AM



1 2 3 4 5 6 7 8 9 10 11