LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Route traffic like a hub (https://www.linuxquestions.org/questions/linux-networking-3/route-traffic-like-a-hub-160281/)

atlesn 03-20-2004 02:08 PM

Route traffic like a hub
 
Hi all.

I am setting up a machine to monitor traffic between two servers. It has two NICs. What I want, is the machine to function as a hub. I want all packages which reaches the eth0 iface, to be repeated out eth1, looking just like when it came in. The same from eth1 to eth0. How do I do this?

Am running RH8 on 2.4.18.

Any help appreciated.

jwillem 03-21-2004 09:20 AM

if you want to bridge, like a layer II switch:

http://bridge.sourceforge.net/

if you want you can also set it up as an dump switch -> HUB.

However if you want to listen to communications between to servers, normaly you would use a monitor port on your switch, of if you are already on a HUB just put your computer to listen to that network.

I can't really understand the need of your setup

atlesn 03-21-2004 04:51 PM

The ability to cut network apart is what i wanted too.Thx for answer anyway, the site looks interesting.


All times are GMT -5. The time now is 07:08 PM.