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@lists.xensource.com
> http://lists.xensource.com/xen-users
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users