Networking Forums

Networking Forums > Computer Networking > Linux Networking > Configure bridge as "hub"?

Reply
Thread Tools Display Modes

Configure bridge as "hub"?

 
 
Jan Reimes
Guest
Posts: n/a

 
      09-18-2007, 12:11 PM
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
 
 
 
 
Spoon
Guest
Posts: n/a

 
      09-18-2007, 03:02 PM
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

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
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
difference - "bridge" vs "access point" Phil Schuman Wireless Internet 15 08-02-2004 06:01 PM
"Bridge Connection" or "Network Bridges"... =?iso-8859-1?Q?Utopic=AE?= Windows Networking 5 02-26-2004 06:18 AM
"Bridge Connection" or "Network Bridges"... =?iso-8859-1?Q?Utopic=AE?= Windows Networking 5 02-26-2004 06:18 AM
"Bridge Connection" or "Network Bridges"... =?iso-8859-1?Q?Utopic=AE?= Windows Networking 5 02-26-2004 06:18 AM



1 2 3 4 5 6 7 8 9 10 11