Hi, I have a host system with two bridges br10 and br20 and I would like to connect a domU to both of them. Is there any way to make sure domU ethX is always connected to dom0 br10 and domU ethY is always connected to dom0 br20? Or even better, is it possible to rename the domU interfaces to a corresponding name with xen from outside? (I don''t want to use udev inside the domU for that) Thank you. Cheers, Holger _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Feb 19, 2008 2:27 PM, <b52@entrap.de> wrote:> > Hi, > > I have a host system with two bridges br10 and br20 and I would like to > connect a domU to both of them. > Is there any way to make sure domU ethX is always connected to dom0 br10 > and domU ethY is always connected to dom0 br20? >You should be able to pass a bridge in the vif parameter, for example: vif [''bridge=br10''] Todd> > Or even better, is it possible to rename the domU interfaces to a > corresponding name with xen from outside? (I don''t want to use udev inside > the domU for that) > > Thank you. > > Cheers, > Holger > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>> I have a host system with two bridges br10 and br20 and I would like to >> connect a domU to both of them. >> Is there any way to make sure domU ethX is always connected to dom0 br10 >> and domU ethY is always connected to dom0 br20? > > You should be able to pass a bridge in the vif parameter, for example: > > vif [''bridge=br10'']Yes, but will vif = [ ''bridge=br10'', ''bridge=br20'' ] always connect domU-eth>0< with br10 and domU-eth>1< with br20 or might this ocasionally swap? So is the first vif parameter always interface eth0 and the second always eth1? And beside, is there a way to rename the interfacenames inside the domU from outside? e.g. the vif script will create a myint1 and myint2 interface inside the domU? Thanks, Holger> >> Or even better, is it possible to rename the domU interfaces to a >> corresponding name with xen from outside? (I don''t want to use udev >> inside >> the domU for that) >> >> Thank you. >> >> Cheers, >> Holger_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
b52@entrap.de wrote:>>> I have a host system with two bridges br10 and br20 and I would like to >>> connect a domU to both of them. >>> Is there any way to make sure domU ethX is always connected to dom0 br10 >>> and domU ethY is always connected to dom0 br20? >>> >> You should be able to pass a bridge in the vif parameter, for example: >> >> vif [''bridge=br10''] >> > > Yes, but will > vif = [ ''bridge=br10'', ''bridge=br20'' ] > always connect domU-eth>0< with br10 and domU-eth>1< with br20 or might > this ocasionally swap? > So is the first vif parameter always interface eth0 and the second always > eth1? >Yes, so far from experience I have see that the first parameter would always be eth0, second eth1 and third eth2. So if you specify, vif = [ "mac=00:16:3e:7b:0e:a4,bridge=br10,script=vif-bridge","mac=00:16:3e:7b:0e:a9,bridge=br20,script=vif-bridge" ] eth0 would be bind to br10 and eth1 to br20.> And beside, is there a way to rename the interfacenames inside the domU > from outside? e.g. the vif script will create a myint1 and myint2 > interface inside the domU? >AFAIK, no. I am not sure though about paravirtualized guests. --Sadique> Thanks, Holger > > >>> Or even better, is it possible to rename the domU interfaces to a >>> corresponding name with xen from outside? (I don''t want to use udev >>> inside >>> the domU for that) >>> >>> Thank you. >>> >>> Cheers, >>> Holger >>> > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users