Ethernet Bridge development
 help / color / mirror / Atom feed
From: Sergei Zhirikov <sfzhi@yahoo.com>
To: bridge@osdl.org
Subject: Re: [Bridge] bridge interface mac address
Date: Wed, 08 Sep 2010 19:16:58 +0200	[thread overview]
Message-ID: <i68geb$u9d$1@dough.gmane.org> (raw)
In-Reply-To: <4C876530.5080107@muc.ccc.de>

On 2010-09-08 12:28, x@muc.ccc.de wrote:
> hi!
>
> i'm using dynamips (router/switch emulator) and would like to have an interface on the host as a link to the 'emulated lab'. with dynamips, one of the host's interfaces can be used to connect to a port of the 'emulated lab'. dynamips obviously injects its packets into this interface, and sniffs for packets directed towards the 'emulated lab'.
>
> now i just have a single physical interface on the host. and i don't want the lab-traffic to pass thru the physical interface (and productive segment connected to it).
> so i thought hey, let's be clever, just create a bridge. we don't need any bridge-members (yet), we just want to use it for the dynamips link for now.
>
> after a brctl addbr, i get a bridge-interface - with a mac of 00:00:00:00:00:00.
> tried it anyway: it doesn't work (i see arp-requests from the host, i see arp-replies to the host - which the host obviously simply ignores, most probably because of the all-zero-mac).
> turns out it's also not possible to change the mac - not even to a locally administered mac.
>
> is there a special way to set the bridge's mac? actually i find it quite irritating that it's not simply possible to change it just like with any other interface!?
>
> also i think it might not be wise to treat 00:00:00:00:00:00 special, filter it, or similar (after all it's a valid global unicast mac - assigned to xerox...).
>
> regards,
>
> 	Chris

A bridge without a bridge? Why?
If you just need a dummy network interface there is a driver called "dummy", which is meant exactly for that, and it's included in standard Linux.


      parent reply	other threads:[~2010-09-08 17:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-08 10:28 [Bridge] bridge interface mac address x
2010-09-08 16:23 ` Stephen Hemminger
2010-09-08 17:16 ` Sergei Zhirikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i68geb$u9d$1@dough.gmane.org' \
    --to=sfzhi@yahoo.com \
    --cc=bridge@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox