Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to set MAC addresses



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@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index