All of lore.kernel.org
 help / color / mirror / Atom feed
From: "François Schmidts" <francois@tiolive.com>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Random MAC address
Date: Mon, 04 Oct 2010 12:15:55 +0200	[thread overview]
Message-ID: <4CA9A95B.602@tiolive.com> (raw)

  Hi,

I wrote a script which generically set a bridge on some machines running 
OpenSuse. Basically the script copy a bridge configuration file in 
/etc/sysconfig/network (ifcfg-br0) and delete the eth0 (ifcfg-eth0) 
config file. After a reboot the computer have an interface br0, a bridge 
which is accessing the network through eth0.

I'm using IPv6 which calculate the address thanks to the MAC address. At 
first, right after the machine boot, the address is clearly based on the 
eth0 MAC address. My problem is that then, it get calculated from the 
bridge MAC address which is, I believe, pretty random.

How can I fix that ? By declaring a static MAC address to the bridge ? 
Is that possible / a good way to fix my problem ?

Thanks for your time and answers,
Regards,
François Schmidts

                 reply	other threads:[~2010-10-04 10:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4CA9A95B.602@tiolive.com \
    --to=francois@tiolive.com \
    --cc=bridge@lists.linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.