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] a file-backed VBDs domain ERROR

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] a file-backed VBDs domain ERROR
From: "John Fairbairn" <webmaster@xxxxxxxxxxxx>
Date: Thu, 14 Jul 2005 03:13:20 -0500 (CDT)
Delivery-date: Thu, 14 Jul 2005 08:12:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <1121325990.3171.9.camel@tgh>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1121325990.3171.9.camel@tgh>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.4
i'm guessing from your description it's just not seeing its gateway.
on the guest(xenU) do...

route -n

is the gateway the correct ip?

if there isn't a gateway entry do..

route add default gw <yourgwip>

if you need to get rid of a gateway that is incorrect you can use

route del default

If you can ping an internet ip but not a name(yahoo.com) check
/etc/resolv.conf

heres an example of what mine looks like...

root@cluster1 ~ # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref   Use Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

Hope this helps you a bit,

John Fairbairn

> Hi everyone
>  I use a file in Domain 0 as the primary storage for a virtual
> machine(domain1),it can ping otherPC in my PC local net,it can`t ping
> netgate and its own IP ,
>  I am a rookie, I don`t kown how to fix it ,anyone would like to help me
>
>  its config file
>
> [root@tgh ~]# cat /etc/xen/tghdlut
> kernel = "/boot/vmlinuz-2.6.11.10-xenU"
> memory = 64
> name = "tghdlut"
> nics = 1
> vif = [ 'bridge=xen-br0' ]
> disk = [ 'file:/tgh/tgh/vmldisk,hda4,w' ]
> netmask=get_current_ipmask()
> gateway=get_current_ipgw()
> ip = "10.20.10.155"
> hostname = "tghdlut"
> root = "/dev/hda4 ro"
>
>
> and  the filesystem of domain1 is read_only ,
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



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

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