[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Unable to ping guest hostname


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Stephen Liu <satimis@xxxxxxxxx>
  • Date: Wed, 17 Sep 2008 19:19:28 +0800 (CST)
  • Delivery-date: Wed, 17 Sep 2008 04:20:11 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=WCV7u0vnwWxQLiPTaSG2HXBHL3+KbC2iXlhjgL1HHHZUTeXOxkQg38kvt1BzduLqDyHBOVHZrc1dCn5krQSQztHDX5cHbgA1+oijiTinVQJ3YTEbfpLDCph/+ASadZ25XZEyz1lXVM8tImp3Lz2fXfEBeeaGZkxznMlT2AlAwvw=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Nemeth,


> Please send the config file (or running config extracted by "xm list
> --long DOMAINNAME" of both the original and the cloned domU, and the
> the
> output of the following commands from the dom0 and both the original
> and
> the cloned domU:
> 
> brctl show
> ip route show
> ip address show
> cat /etc/resolv.conf
> for i in /proc/sys/net/bridge/* ; do echo "$i $(<$i)" ; done
> iptables -t filter -L -nv


Original Guest

$ sudo xm list --long xen2.satimis.com
(domain
    (domid 2)
    (on_crash restart)
    (uuid 611e874c-f5b7-7af5-fa93-fcb4fe7eb264)
    (bootloader_args )
    (vcpus 1)
    (name xen2.satimis.com)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 32)
    (memory 32)
    (shadow_memory 0)
    (cpu_weight 256)
    (cpu_cap 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1221625721.15)
    (cpu_time 0.045730597)
    (online_vcpus 1)
    (image
        (linux
            (kernel /boot/vmlinuz-2.6.18-xen)
            (args 'root=/dev/hda1 ro ')
            (rtc_timeoffset 0)
            (notes
                (HV_START_LOW 4227858432)
                (FEATURES
                   
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
                )
                (VIRT_BASE 3221225472)
                (GUEST_VERSION 2.6)
                (PADDR_OFFSET 3221225472)
                (GUEST_OS linux)
                (HYPERCALL_PAGE 3222278144)
                (LOADER generic)
                (SUSPEND_CANCEL 1)
                (PAE_MODE no)
                (ENTRY 3222274048)
                (XEN_VERSION xen-3.0)
            )
        )
    )
    (status 2)
    (state -b----)
    (store_mfn 893581)
    (console_mfn 893573)
    (device
        (vif
            (uuid 9c953621-e12c-ccd6-d335-f739dd8d99b1)
            (script vif-bridge)
            (ip 192.168.0.112)
            (mac 00:16:3e:41:39:04)
            (type netfront)
            (backend 0)
        )
    )
    (device
        (vbd
            (uname file:/vserver/domains/xen2.satimis.com/disk.img)
            (uuid d26e20bf-7fe9-45bd-0cfa-5fbab7dd25ea)
            (mode w)
            (dev hda1:disk)
            (backend 0)
            (bootable 1)
        )
    )
    (device
        (vbd
            (uname file:/vserver/domains/xen2.satimis.com/swap.img)
            (uuid 48af2e20-a9c3-25ea-3665-9273861aaabd)
            (mode w)
            (dev hda2:disk)
            (backend 0)
            (bootable 0)
        )
    )
    (device
        (console
            (protocol vt100)
            (location 2)
            (uuid e72dbb9f-5099-e2d4-b895-c8cd09086a26)
        )
    )
)
* end *



Cloned Guest

$ sudo xm list --long xen3.satimis.com
(domain
    (domid 3)
    (on_crash restart)
    (uuid 40c04719-1611-a1f3-6594-3a3607a209b2)
    (bootloader_args )
    (vcpus 1)
    (name xen3.satimis.com)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 32)
    (memory 32)
    (shadow_memory 0)
    (cpu_weight 256)
    (cpu_cap 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1221631158.82)
    (cpu_time 0.048315668)
    (online_vcpus 1)
    (image
        (linux
            (kernel /boot/vmlinuz-2.6.18-xen)
            (args 'root=/dev/hda1 ro ')
            (rtc_timeoffset 0)
            (notes
                (HV_START_LOW 4227858432)
                (FEATURES
                   
'writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'
                )
                (VIRT_BASE 3221225472)
                (GUEST_VERSION 2.6)
                (PADDR_OFFSET 3221225472)
                (GUEST_OS linux)
                (HYPERCALL_PAGE 3222278144)
                (LOADER generic)
                (SUSPEND_CANCEL 1)
                (PAE_MODE no)
                (ENTRY 3222274048)
                (XEN_VERSION xen-3.0)
            )
        )
    )
    (status 2)
    (state -b----)
    (store_mfn 25550)
    (console_mfn 25542)
    (device
        (vif
            (uuid a790390f-4558-c3b7-d8ba-be7dad66ba35)
            (script vif-bridge)
            (ip 192.168.0.113)
            (mac 00:16:3e:53:a9:68)
            (type netfront)
            (backend 0)
        )
    )
    (device
        (vbd
            (uname file:/vserver/domains/xen3.satimis.com/disk.img)
            (uuid d44e14b3-e543-4ec3-0026-9d4f16ef917f)
            (mode w)
            (dev hda1:disk)
            (backend 0)
            (bootable 1)
        )
    )
    (device
        (vbd
            (uname file:/vserver/domains/xen3.satimis.com/swap.img)
            (uuid b3d78288-1b45-0789-3aee-d46c0e5ad364)
            (mode w)
            (dev hda2:disk)
            (backend 0)
            (bootable 0)
        )
    )
    (device
        (console
            (protocol vt100)
            (location 2)
            (uuid e1cb689a-585f-5427-0cc2-ca2231b7df6f)
        )
    )
)
* end *



Host
====

# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                        peth0
                                                        vif1.0
                                                        vif2.0
                                                        vif3.0
                                                        vif4.0


# ip route show
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.110
default via 192.168.0.1 dev eth0


# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!

nameserver 202.14.67.14
nameserver 192.168.0.1
nameserver 192.168.0.110
nameserver 192.168.0.111
nameserver 192.168.0.112
nameserver 192.168.0.113


Sorry I can't read the other 3 command lines.




Original Guest
==============

Console-1

# xm console xen2.satimis.com
netfront: device eth0 has copying receive path.

Hanging here



Console-2

$ ssh 192.168.0.112
satimis@xxxxxxxxxxxxx's password:

satimis@xen2:~$ su

# brctl show
bridge name     bridge id               STP enabled     interfaces


# ip route show
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.112
default via 192.168.0.1 dev eth0


# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!

nameserver 202.14.67.14
nameserver 192.168.0.1



Cloned guest
============

Console-3

# xm console xen3.satimis.com
netfront: device eth0 has copying receive path.

also hanging.



Console-4

$ ssh 192.168.0.113 -p 50505
satimis@xxxxxxxxxxxxx's password:
$ su


# brctl show
bridge name     bridge id               STP enabled     interfaces


# ip route show
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.113
default via 192.168.0.1 dev eth0


# cat /etc/resolv.conf
# generated by NetworkManager, do not edit!

nameserver 202.14.67.14
nameserver 192.168.0.1
nameserver 192.168.0.2
nameserver 192.168.0.3


B.R.
Stephen L



> 2008. 09. 17, szerda keltezéssel 15.24-kor Stephen Liu ezt írta:
> > Hi folks,
> > 
> > 
> > Debian Etch
> > 
> > 
> > Guests created with xen-create-image can be pinged on Host either
> on
> > hostname or on local ip.  They can also be ssh-connected on both.
> > 
> > But Guests cloned on existing Guests can't be pinged on hostname. 
> It
> > can be pinged on local ip.  Also can only be ssh-connected on local
> ip.
> > 
> > Please advise where I have to check and how to fix the problem. 
> TIA
> > 
> > 
> > B.R.
> > satimis
> > 
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com 
> > 
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> 
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.