Configure bridge as "hub"?

This is a discussion on Configure bridge as "hub"? within the Linux Networking forums, part of the Linux Forums category; Hi newsgroup, I want to test the following setup: Here i have a PC (Debian) with 3 ethernetcards (eth0, 1, ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-18-2007
Jan Reimes
 
Posts: n/a
Default Configure bridge as "hub"?

Hi newsgroup,

I want to test the following setup: Here i have a PC (Debian) with 3
ethernetcards (eth0, 1, 2). eth0&1 are influenced by netem qdiscs and
bridged with brctl. There is only one test-device on eth1 and eth2
each, until here, this work fine.

Now the traffic of these two test-devices going through this bridge
should be captured from a second PC (Windows) via eth2, which isn't
involved in the network of eth0&1. When adding eth2 to the existing
bridge, this of course does not work, because brctl handles ethernet
traffic like a switch, and not like a hub.

Is there any way to get the traffic to eth2 (doesn't matter if on IP
or ethernet layer) mirrored or duplicated, so that it can be captured
(with wireshark for example) like both testdevices are connected
through a hub?

Greetings,
Jan

Reply With Quote
  #2 (permalink)  
Old 09-18-2007
Spoon
 
Posts: n/a
Default Re: Configure bridge as "hub"?

Jan Reimes wrote:

> I want to test the following setup: Here i have a PC (Debian) with 3
> ethernetcards (eth0, 1, 2). eth0&1 are influenced by netem qdiscs and
> bridged with brctl. There is only one test-device on eth1 and eth2
> each, until here, this work fine.
>
> Now the traffic of these two test-devices going through this bridge
> should be captured from a second PC (Windows) via eth2, which isn't
> involved in the network of eth0&1. When adding eth2 to the existing
> bridge, this of course does not work, because brctl handles ethernet
> traffic like a switch, and not like a hub.
>
> Is there any way to get the traffic to eth2 (doesn't matter if on IP
> or ethernet layer) mirrored or duplicated, so that it can be captured
> (with wireshark for example) like both testdevices are connected
> through a hub?


I don't have the answer to your question, but I wanted to mention the
LARTC resource, in case you hadn't found it yet. They provide a HOWTO
and a mailing list.

http://lartc.org/
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

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



All times are GMT +1. The time now is 10:01 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0