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/
Home Products Support Community News


Re: [Xen-users] network problem on domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] network problem on domU
From: Shams Fantar <sfantar@xxxxxxxxxx>
Date: Mon, 09 Feb 2009 14:14:49 +0100
Delivery-date: Mon, 09 Feb 2009 05:16:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <498DB447.4040507@xxxxxxxxxx>
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: <498DB447.4040507@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird (X11/20090103)
Shams Fantar wrote:
> Hi,
> I've done a lot of searching on Google, on the xen officiel website, but
> nothing helped me to fix my problem and I tried a few examples !
> Here is the situation, I manage a dedicated server, there are two IPs,
> one for dom0 and one (failover) ip for the domU. Le problem is with the
> domU. I made it, fine, I ran it, fine, to simplify things :
> Both Ips -> eth0 on dom0 (it uses the first ip, eth0) and there is the
> second ip (dummy0)--> domU (using the second ip)
> Here is the interface file on dom0 for the second IP :
> auto dummy0
> iface dummy0 inet static
>         address XX.XX.XX.XX # the second ip
>         broadcast XX.XX.XX.255
>         netmask
> In the domU configuration file :
> vif  = [ 'ip='  'bridge=xendmz' 'ip=XX.XX.XX.XX'] ##
> XX.XX.XX.XX = the second ip
> And on the domU :
> auto eth0
> iface eth0 inet static
>         address 
>         gateway
>         netmask
> Well the problem is, I don't have the second ip on the domU, I can't
> ping outside, and I can't ping to the domU (from the first ip, and from
> outside).
> I tried a few options with route, but it's not good, not yet !
> Do I need to route, on the dom0, to route all packets for the second ip
> to the domU ? How ?  I didn't find the good rules with iptables.
> No documentation simply explains this...
> Thanks,
> Regards, 
Any ideas ? I've not found more information to solve my problem.. ;(

« Honesty is the best policy »

Xen-users mailing list

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