Greetings.
I am using Opennebula 4.12.3 and I got issues connecting my vms to internet. I have created a virtual network which uses openvswitch for bridging and I have followed the directions for IP assignment from here:
http://docs.opennebula.org/4.12/user/virtual_machine_setup/cong.html#cong
The first vm created has access to the internet but the rest do not, even though the IPs are correctly connected to the lease, and the vms can ping each other. Moreover, the VM that has internet access can not ping the host. The VM uses the IP 139.91.72.104, which is the same as the network address.
The specs I am using are the following:
Server: Opennebula 4.12.3
Hypervisor: KVM
Network: OpenvSwitch
Image: Lubuntu 15.10
and the templates I am using are the following:
For the virtual machine template:
TEMPLATE 2 INFORMATION
ID : 2
NAME : Lubuntu-IoT
USER : oneadmin
GROUP : oneadmin
REGISTER TIME : 05/12 07:28:07
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
TEMPLATE CONTENTS
CONTEXT=[
NETWORK=“YES”,
SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="0.1"
DESCRIPTION="A lubuntu for IoT template"
DISK=[
IMAGE=“Lubuntu-15.10-IoT”,
IMAGE_UNAME=“oneadmin” ]
GRAPHICS=[
LISTEN=“0.0.0.0”,
TYPE=“VNC” ]
HYPERVISOR="kvm"
LOGO="images/logos/ubuntu.png"
MEMORY="1024"
NIC=[
NETWORK=“VN1”,
NETWORK_UNAME=“oneadmin” ]
OS=[
ARCH=“i686”,
BOOT=“hd,fd,cdrom” ]
SUNSTONE_CAPACITY_SELECT="YES"
SUNSTONE_NETWORK_SELECT=“YES”
For the virtual network:
VIRTUAL NETWORK 1 INFORMATION
ID : 1
NAME : VN1
USER : oneadmin
GROUP : oneadmin
CLUSTER : -
BRIDGE : br0
VLAN : No
USED LEASES : 3
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
VIRTUAL NETWORK TEMPLATE
BRIDGE="br0"
DESCRIPTION="A virtual network for IoT."
GATEWAY="0.0.0.0"
NETWORK_ADDRESS="139.91.72.104 "
NETWORK_MASK=“255.255.255.0"
PHYDEV=”"
SECURITY_GROUPS=“0"
VLAN=“NO"
VLAN_ID=””
ADDRESS RANGE POOL
AR 0
SIZE : 10
LEASES : 3
RANGE FIRST LAST
MAC 98:90:96:e0:c0:42 98:90:96:e0:c0:4b
IP 139.91.72.104 139.91.72.113
LEASES
AR OWNER MAC IP IP6_GLOBAL
0 VM : 7 98:90:96:e0:c0:42 139.91.72.104 -
0 VM : 10 98:90:96:e0:c0:44 139.91.72.106 -
0 VM : 9 98:90:96:e0:c0:45 139.91.72.107 -
Does anyone know why this thing happens? Thank you very much for your time.