[one-users] Gateway configured where not specified

Marco Lanzotti - ADGlamor marco.lanzotti at adglamor.com
Tue Aug 13 02:11:19 PDT 2013


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

I've a virtual network configured without a gateway:

oneadmin at 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 at 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


More information about the Users mailing list