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

Re: [Xen-users] domU, 2 ethX, iscsi, vlan...



Here we do not use the standard Xen scripts for xenbr0/1/2/n creation since 
I've found them a bit problematic for practical use.

Instead of that, we use our own script which brings up every interface and 
bridge we want to. Also, we do not rely on eth0/1/2/n identification, but on 
the mac address instead.

We have a different situation, though. Our dom0s boot from AoE, and Debian 
Etch renumerates each port differenty from a boot to another (eth1 may be 
eth2 after a reboot, for example).

In short, that's my suggestion: bring up your interfaces/bridges/etc with a 
custom script.

If you're going to work always with bounded eth0+eth1, I suggest you to do 
that in the dom0 to make things simpler for your domUs.

Em Quinta 23 Outubro 2008 13:07, Longina Przybyszewska escreveu:
> hi,
> I have a Xen server based on Ubuntu Hardy distribution.
> I would like to  give domU's access to iscsi targets fra SAN in the vlan
> environment.
>
> In dom0 I have enslaved 2 NICs into bonding interface, made seperate
> bridges dedicated to seperate vlans.
> There is a special iscsi-bridge for SAN/iscsi vlan.
>
> I would like to have a domU with two interfaces: eth0 binding to the
> vlanXX-bridge and
> eth1 binding to the iscsi-bridge to get iscsi target.
>
> My problem is that with the standard mechanism (vif-script vif-bridge) for
> making domU's image, I get networking in domU only via the eth0,
> the first interface on the list.
> I examined the domU's root filesystem and find out that in
> /etc/network/interfaces there is only the first interface defined.
>
> The vifx.x on dom0 side are correctly placed in the iscsi-bridge and
> vlanXX-bridge.
>
> Is it a bug, or do I make it in a wrong way?
>
> In any case, what is the best approach ( make a route or make the seperate
> bridge) for joining eth0&eth1 together in domU - having in mind access to
> iscsi drive?
>
> Longina

-- 
 Daniel Mealha Cabrita
 Divisao de Suporte Tecnico
 AINFO / Reitoria / UTFPR
 http://www.utfpr.edu.br

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.