[one-users] Can not ssh any virtual machine.

Carsten.Friedrich at csiro.au Carsten.Friedrich at csiro.au
Wed Sep 8 16:50:52 PDT 2010


When you log into the machine through vnc and run "ifconfig" and "route" do you get the expected values?

Carsten

From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of rajendra kumar
Sent: Thursday, 9 September 2010 0:02
To: users at lists.opennebula.org
Subject: [one-users] Can not ssh any virtual machine.

Hi All,

I have setup a dhcp server for my organization.This DHCP server(192.168.0.0-254) will serve IP Address to all physical machine.
and i also have setup opennebula for virtual machine(KVM hypervisor). And i dont want that my virtual machine's get IP Address
from virtual network(opennebula gives a provision to do that). Means Virtual Machine should get IP address from range
192.168.0.1 to 254.

For MAC Address management i am taking care of that.

I doing this because of these virtual machine should be accessible locally from any physical machine whenever i want(using ssh).
if i am using openebula's method, in which say i have a virtual network with ranged(190.168.2. or any thing other than 192.168.0.).
then i won't be able to access virtual machines. because this virtual network is isolated from my local network.

(like in Virtual Box, if we have changed Network setting for Virtual machine as Bridge then this virtual machine will the part of your
local network.It will get IP address from your DHCP server)

i have tried with this template.

NAME   = ttylinux
CPU    = 0.1
MEMORY = 512

DISK   = [
  source   = "/srv/cloud/one/one-templates/ttylinux.img",
  target   = "hda",
  readonly = "no" ]

NIC    = [ MAC = "00:20:11:54:21:32" ]  # i am not specifying NETWORK=""  intentionally

FEATURES=[ acpi="no" ]

GRAPHICS = [
  type    = "vnc",
  listen  = "0.0.0.0",
  port    = "6789"
  ]

but this template won't deploy successfully.

If you have any suggestion for this i will be very great-full to you guys.

Thanks in advance!!

--

Regards
Rajendra Kumar
KQ infotech
Mobile No: +91-9823565282
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100909/8ceecdb5/attachment-0003.htm>


More information about the Users mailing list