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] xen network problen domU

To: 박은병 <peb1611@xxxxxxxxx>, "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] xen network problen domU
From: Fasiha Ashraf <feehapk@xxxxxxxxxxx>
Date: Wed, 23 Dec 2009 14:10:57 +0530 (IST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 23 Dec 2009 00:42:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1261557657; bh=IeQJdnAuNm7wRy1sCv8C8Jb/TQpvAFmwpGOlKGVO5ws=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=JxUDdBr3kvAjACL3iE9YwXN/iTZOKOuCQ0+PhwUQ+PWCiXjuA6WniSjnvv0966YFXreY6PYoJq2rFQIJ3R0YARPSL/TQPK90ETvQ2oUEqS+dXiYT29wwZzGXq9Ouj4vto6tvhOefKSsBl5ZEHiur06kk0iStQCdm400qcd3Je9c=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=TVS8qzwJJqtkeEzSEETJpEQk+tPlnkFWbI4NG0HpsRd/FDEdIfWmErah9uxK8tueaywuZFes33NEBe/FHtp2wyNKGkDRQ0IT56EhJrKyT2H5lbOsTBlAb9S9xJF+M/CwWqwln0Sv8UIw+D/rXILs2ITRAZ2m+TRyZftSS6Qzzlg=;
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
Remember doing service network restart after saving changes to eth0 interface

Regards,
Fasiha Ashraf


As Fajar said that for a bridged connection you don't need  ip settings inside domU config. As in communication takes place using Mac addresses. So you just need simply to access your domU GUI using VNC. Login as root go to System -> Administration ->Network -> double click your eth0 (inactive)-> inside Hardware device tab
change your mac by clicking probe. Note down the new mac and write the same new one inside domU config file to avoid further inconvenience.  Like this
vif = [ 'mac= 00:xx:xx:xx, bridge=eth0' ]

Regards,
Fasiha Ashraf

--- On Wed, 23/12/09, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:

From: Fajar A. Nugraha <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] xen network problen domU
To: "박은병" <peb1611@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Wednesday, 23 December, 2009, 6:39 AM

On Tue, Dec 22, 2009 at 8:57 PM, 박은병 <peb1611@xxxxxxxxx> wrote:
> #ifconfig -a (dom0)
> eth0      Link encap:Ethernet  HWaddr 00:16:cb:a5:dd:66
>           inet addr:147.46.125.xx Bcast:147.46.125.255  Mask:255.255.255.0

> # ifconfig -a (domU)
> eth0      Link encap:Ethernet  HWaddr 00:16:3e:1f:4f:46
>           inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0

> and my domU configuration file

>       vif = [ 'bridge=eth0' ]
>       ip = "192.168.0.101"
>       netmask= "255.255.255.0"
>       gateway = "192.168.0.1"

> I can found similar problem on internet, but I don't understand why does
> hoster's bridged setup is problematic.

First of all, are you using bridged setup or routed setup? If you use
bridge, you wouldn't need to specify ip, netmask, or gateway on domU
config file. Also, if using bridges setup, dom0 bridge IP address (in
your case it's called eth0) should be on the same segment as domU's
network interface. You're using two different segments.

--
Fajar

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


The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.


The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>