[one-users] Can't ping or ssh virtual machine!

Rizwan r4rules at gmail.com
Thu Mar 17 05:12:14 PDT 2011


 I have setup single node opennebula cloud using ubuntu 10.10 server, I can
run the virtual machine but i cant ping or ssh to that instance. I used
ubuntu10.10-server.img, (i tried ttylinux image with same results) file for
the virtual machine. Here are some details.


*front node /etc/network/interfaces file*
------------------------------
---------------------------------
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

#auto br0
#iface br0 inet static
        address 192.168.31.53
        netmask 255.255.255.0
        network 192.168.31.0
        broadcast 192.168.31.255
        gateway 192.168.31.15
        # dns-* options are implemented by the resolvconf package, if
installed
        dns-nameservers 172.16.1.1


-----------------------------------------------------------------

*compute node /etc/network/interfaces
*
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.31.54
        netmask 255.255.255.0
        network 192.168.31.0
        broadcast 192.168.31.255
        gateway 192.168.31.53
        # dns-* options are implemented by the resolvconf package, if
installed
        dns-nameservers 172.16.1.1

---------------------------------------------------------------
*my virtual network template*

NAME = "LAN"
TYPE = RANGED
BRIDGE = br0
NETWORK_ADDRESS = 192.168.31.128
NETWORK_SIZE    = 126
NETMASK         = 255.255.255.0
GATEWAY         = 192.168.31.53
-----------------------------------------------------------------

*my Virtual Machine template*

CPU=1
MEMORY=512

OS=[ root="hda" ]

DISK=[
    source="/var/lib/one/images/ubuntu10.img",
    target="hda",
    readonly="no",
    bus="ide" ]

NIC=[ NETWORK="LAN" ]
FEATURES=[ acpi="no" ]

-------------------------------------------------------------------

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110317/0fbaa0e9/attachment-0002.htm>


More information about the Users mailing list