[one-users] Destination Host Unreachable - cant connect to vm
Tino Vazquez
tinova at fdi.ucm.es
Thu Jan 20 04:14:44 PST 2011
Hi,
Have you set the 'context.sh' script within the VM to be executed at
boot time? This should call init.sh, which will perform a
ifconfig eth0 $IP_PUBLIC
thus setting the right IP address in eth0.
Regards,
-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
On Fri, Dec 24, 2010 at 2:09 AM, <sufian.abu-rab at freenet.de> wrote:
> hello,
>
>
>
> i have a problem with connecting to a running vm:
>
>
>
> cant connect to the ttylinux-vm. (xen-hypervisor installed on node1).
> context added as seen in the example.
>
>
>
> thanks
>
>
>
>
>
> oneadmin at node1:~$ ping 192.168.2.144
> PING 192.168.2.144 (192.168.2.144) 56(84) bytes of data.
> From 192.168.2.102 icmp_seq=1 Destination Host Unreachable
>
>
>
>
>
>
>
> NAME = ttylinux
> CPU = 0.1
> MEMORY = 64
>
> NIC = [ NETWORK = "Small network" ]
>
> DISK = [ image = "Tiny linux" ]
>
> DISK = [ type = swap,
> size = 512,
> readonly = "no" ]
>
> GRAPHICS = [
> type = "vnc",
> listen = "127.0.0.1",
> port = "5900" ]
>
> FEATURES=[ acpi="no" ]
>
>
> CONTEXT = [
> hostname = "$NAME",
> ip_public = "192.168.2.144",
> files = "/srv/cloud/images/ttylinux/init.sh
> /srv/cloud/images/ttylinux/id_rsa_master.pub",
> target = "xvdc",
> root_pubkey = "id_rsa.pub",
> username = "opennebula",
> user_pubkey = "id_rsa.pub"
> ]
>
>
>
>
>
>
>
>
>
> NAME = "Small network"
> TYPE = FIXED
>
> #Now we'll use the cluster private network (physical)
> BRIDGE = eth0
> LEASES = [ IP="192.168.2.129"]
> LEASES = [ IP="192.168.2.130"]
> LEASES = [ IP="192.168.2.131"]
>
>
>
>
>
>
>
>
>
> oneadmin at node1:~$ sudo brctl show
> bridge name bridge id STP enabled interfaces
> eth0 8000.6cf049962bc0 no peth0 vif3.0
>
>
>
>
>
> ---
> Weihnachtszeit ist Geschenkezeit!
> Das freenet Weihnachtsgame gratis für iPhone, iPod und iPad
> Hol es Dir unter www.iRudolph.net
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list