On 05/04/2013 09:11 PM, Giuliano Casale wrote: > Hi all, > > I have a working installation of OpenNebula 3.8.3, but despite many > efforts I still cannot ssh from the host into the VMs. the easiest to debug is to connect with VNC (from Sunstone or directly with sometihn like virt-manager). Of course, to do so , a graphics must be set in template.
You will be able to debug connect issues. Could be a ssh-server start up issue, or a "no root" ssh connection issue..... Or a ssh key based only connection issue (all depends on your VM) Olivier > > All hosts have: > - an eth0 interface listening to the internal network of my institution > - an eth1 interface for a private switched LAN only between the hosts > that compose the OpenNebula cloud. The hosts have IPs 10.0.0.X on this > network. > > On all the machines I have run the following commands: > > brctl addbr br1 > brctl addif br1 eth1 > ifconfig eth1 down > ifconfig eth1 0.0.0.0 up > ifconfig br1 10.0.0.X/24 up (where X=1,2,... depending on the host). > > I then defined in Sunstone a virtual network as follows: > ============= > ID : 0 > NAME : vn-private > USER : oneadmin > GROUP : oneadmin > CLUSTER : cluster > TYPE : RANGED > BRIDGE : br1 > VLAN : No > PHYSICAL DEVICE: > VLAN ID : > USED LEASES : 2 > > PERMISSIONS > OWNER : um- > GROUP : --- > OTHER : --- > > VIRTUAL NETWORK TEMPLATE > > > RANGE > IP_START : 192.168.100.1 > IP_END : 192.168.100.128 > > USED LEASES > LEASE=[ IP="192.168.100.13", MAC="02:00:c0:a8:64:0d", USED="1", VID="14" ] > LEASE=[ IP="192.168.100.37", MAC="02:00:c0:a8:64:25", USED="1", VID="41" ] > ============= > > Now: using VNC, I see that the two VMs .13 and .37 can correctly ping > each other.However, if I login to any host and do 'ssh > root@192.168.100.13' it does not connect to the VMs. > > I tried then 'route add -net 192.168.100.0 netmask 255.255.255.0 dev > br1' and 'route' shows correctly > > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.100.0 * 255.255.255.0 U 0 0 0 br1 > > but still ssh does not work. > > Can someone help me? My ultimate goals are: > 1) to be able to ssh from the host into the VMs. > 2) if possible, give internet connectivity to the VMs through eth0. > > Thanks, > Giuliano > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org