Subject: Re: How to set MAC addresses
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-xen
Date: 04/29/2005 20:45:23
On Fri, Apr 29, 2005 at 09:08:52AM +0300, Martti Kuparinen wrote:
> Manuel Bouyer wrote:
>
> >>Now let's say I have 3 interfaces on one domU host. How can I hardcode
> >>the MAC addresses for each interface? (different MAC for each interface)
> >
> >The MAC is specified in the domU config file:
> >vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
> >Doens't this work for you ?
>
> Yes but only for xennet0. How can I set MAC for the other xennetN
> interfaces?
You add more mac= to the vif variable:
vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0', 'mac=aa:00:00:50:02:f1, bridge=bridge1', 'mac=aa:00:00:50:02:f2, bridge=bridge2']
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--