WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Longina Przybyszewska <longina@xxxxxxxxxxxx>
Subject: Re: [Xen-users] domU, 2 ethX, iscsi, vlan...
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Thu, 23 Oct 2008 20:03:02 +0200
Cc: Xen mailinglist <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 23 Oct 2008 11:03:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.1.00.0810231525510.26322@xxxxxxxxxxxxxxxxxxxx> (Longina Przybyszewska's message of "Thu, 23 Oct 2008 17:07:02 +0200 (CEST)")
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.DEB.1.00.0810231525510.26322@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Longina Przybyszewska <longina@xxxxxxxxxxxx> writes:

> 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?

If you want a separate route towards your iSCSI target then do exactly
that: include eth1 in /etc/network/interfaces.  Specify its IP and
netmask there, but no gateway!  If you share a subnet with the iSCSI
target in vlanXX then you are done.  If not, you need to set up an
explicit route in post-up (see man interfaces).  This has nothing to
do with Xen at all.
-- 
Cheers,
Feri.

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

<Prev in Thread] Current Thread [Next in Thread>