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

xen-users

[Top] [All Lists]

[Xen-users] network problem on domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] network problem on domU
From: Shams Fantar <sfantar@xxxxxxxxxx>
Date: 2009年2月07日 17:18:15 +0100
Delivery-date: 2009年2月07日 08:19:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
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 255.255.255.255
In the domU configuration file :
vif = [ 'ip=192.168.1.2' '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 192.168.1.2 
 gateway 192.168.1.1
 netmask 255.255.255.0
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, 
-- 
http://snurf.info 
« Honesty is the best policy »
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] unable to assign ip from config file , Madhuri Venkatesh
Next by Date: Re: [Xen-users] Xen Kernel not booting , Steven Timm
Previous by Thread: [Xen-users] Xen domU CACTI monitoring via net-smp , Peter Braun
Next by Thread: Re: [Xen-users] network problem on domU , Shams Fantar
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /