LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-12-2009, 12:46 PM   #1
gizza23
Member
 
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Rep: Reputation: 31
replicate traffic from all ports to monitor port


Hello,

I would like to know if there is a way to make a homemade Linux router duplicate and send all traffic from other ports to a monitoring port. I know that in Cisco they use span ports but I'm not sure of what it's referred to in Linux.

Thanks!
 
Old 01-13-2009, 11:26 PM   #2
javaroast
Member
 
Registered: Apr 2005
Posts: 130

Rep: Reputation: 18
In Wireshark you can select any Pseudo-device that captures all interfaces. Or you can directly run captures on any interface you want.
 
Old 01-14-2009, 09:48 AM   #3
gizza23
Member
 
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Original Poster
Rep: Reputation: 31
Thanks for your reply! I know about those options but I wanted the ability to offload the traffic monitoring to another machine as the local machine would be doing other work.
 
Old 01-14-2009, 12:53 PM   #4
javaroast
Member
 
Registered: Apr 2005
Posts: 130

Rep: Reputation: 18
Ok I see where you are going. Just to clarify, on Cisco port-mirroring works by doing a 1 port to 1 port mirror. I don't believe it can capture all the interfaces.
 
Old 01-14-2009, 02:39 PM   #5
gizza23
Member
 
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Original Poster
Rep: Reputation: 31
I actually work in an environment where we do that with some layer three switches and 2960s so I know it's possible with Cisco switches. That's where I got the inspiration to do it in my project.

Regardless, I still don't know how to make my own homemade box do it.

If anyone has suggestions please let me know.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network traffic -- monitor my incoming and outgoing ports bskrakes Linux - Networking 5 04-02-2008 08:44 AM
SNMP MRTG RRDTOOL Configu of CPU memory Disk Port data traffic doc traffic manish_2479 Linux - Networking 1 06-19-2007 07:08 AM
monitor traffic per port and ip robca Linux - Networking 1 11-23-2005 01:47 PM
route locally generated traffic to ip:port to localhost:port maenho Linux - Software 2 03-11-2005 04:08 AM
Monitoring traffic on ports.. EL3CTRO Linux - Networking 4 07-16-2003 06:51 PM


All times are GMT -5. The time now is 10:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration