Hi all, I've an issue on a virtual network.

I've a virtual network configured without a gateway:

oneadmin@metal01:~$ onevnet show 0
VIRTUAL NETWORK 0 INFORMATION
ID             : 0
NAME           : Private Network
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : -
TYPE           : FIXED
BRIDGE         : lan0
VLAN           : No
USED LEASES    : 3

PERMISSIONS
OWNER          : um-
GROUP          : ---
OTHER          : ---

VIRTUAL NETWORK TEMPLATE
DNS="192.168.1.1 192.168.1.2"
NETWORK_ADDRESS="192.168.1.0"
NETWORK_MASK="255.255.255.0"


When I run a virtual machine open nebula configures network with a default gateway:

ml@vm01:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 192.168.1.101
  network 192.168.1.0
  netmask 255.255.255.0
  gateway 192.168.1.1


If I add an interface with public IP and default gateway configured default route still via 192.168.1.1.

Bye,
Marco
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to