WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: bridge interface with (initially) no ports

To: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: [Xen-users] Re: bridge interface with (initially) no ports
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Mon, 29 Jun 2009 19:25:39 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 29 Jun 2009 10:26:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D016DD9BF@trantor> (James Harper's message of "Sat, 27 Jun 2009 20:12:33 +1000")
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D016DD9BB@trantor> <873a9muhj0.fsf@xxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D016DD9BF@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
"James Harper" <james.harper@xxxxxxxxxxxxxxxx> writes:

>>> auto br-wan
>>> iface br-wan inet static
>>>  address x.y.z.254
>>>  netmask 255.255.255.0
>>   hwaddress ether xx:xx:xx:xx:xx:xx
>>>  bridge_maxwait 0
>>>  bridge_ports none
>>> up ip addr add 2002:xy:xfe:3::1/64 dev $IFACE
>>>
>>> but of course when the br-wan interface comes up, it has no mac
>>> address because it has no ports yet to inherit a mac address from.
>> 
>> Try adding the line above.
>
> SIOCSIFHWADDR: Cannot assign requested address
>
> I can't set a hardware address on a bridge, that's the whole problem.

Maybe you want to assign a multicast address.  Ensure that the first
octet is even (ie. 11:22:33:44:55:66 won't work, 12:22:33:44:55:66
should).  This works for me.
-- 
Feri.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users