Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Xen bridge problem
On Mon, Jul 25, 2016 at 04:27:05PM +0100, Alaric Snell-Pym wrote:
> Hello folks
>
> In my ongoing "trying to do unusual things with Xen and failing"
> tribulations, I'm trying to make a domU do some routing for me.
>
> So I've got several bridge devices, and I'm asking Xen to provide
> several vifs connected to them, like so in xl.cfg:
>
> vif=['mac=00:50:56:00:00:1,bridge=bridge0',
> 'mac=00:50:56:00:01:1,bridge=bridge1',
> 'mac=00:50:56:00:02:1,bridge=bridge2',
> 'mac=00:50:56:00:03:1,bridge=bridge3']
>
> (that's all on one line really, my mailer wrapped it, not that I think
> it matters)
I'm not sure this should be in xl.cfg. xl.cfg is supposed to be
default configuration.
> [...]
> It seems my settings in xl.cfg aren't making it as far as the xen store!
> I suppose I could get dom0 to do my routing and have each domU on only a
> single IP (ick), or maybe hack vif-bridge to look at the MAC of the xvif
> (the desired bridge number is in the penultimate octet) (ick), but it'd
> be nice if I could just set up a domU to do routing and nothing else...
>
> Has anybody set up domUs with multiple bridge devices before? What did
> you do differently to me?
I do.
I tested with your entry in one of my test domU.
To get it work I had to change it to:
vif=['mac=00:50:56:00:00:01,bridge=bridge0',
'mac=00:50:56:00:01:01,bridge=bridge1',
'mac=00:50:56:00:02:01,bridge=bridge2',
'mac=00:50:56:00:03:01,bridge=bridge3']
(i.e. you really have to enter mac addresses with all the digits)
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index