[one-users] Problem with network bridge from VMs to physical network.

Diego M. thedragonsreborn at hotmail.com
Tue Jul 22 03:11:40 PDT 2014


Hi all,I'm trying to implement opennebula on my personal lab as we have some projects with a colleague and it is nice to have disposable VMs, and also we are taking the oportunity to learn about OpenNebula to keep up-to-date :)
I would like to ask you a question I have, regarding networking, because I'm pretty sure that I'm missing something on the configurations but I cannot realize what.
We have the following infrastructure:  
  And the problem is that from the clients on 192.168.7.0/24 subnet I can ping the VMs on 192.168.254.0/24, but the problem is that from the VM I can only ping 192.168.7.1, 192.168.7.2, and 192.168.7.254 of the 192.168.7.0/24 subnet, and all the other clients from some reason are not reacheable. 

I'm for sure missing something somewhere, but I cannot figure what. I had already enabled the ip4 forwarding on Host1 for all interfaces, and the following are the contents of /etc/network/interfaces file:# The loopback network interfaceauto loiface lo inet loopback
# The primary network interfaceallow-hotplug eth0iface eth0 inet static        address 192.168.7.1        netmask 255.255.255.0        gateway 192.168.7.254
auto Vbr0iface Vbr0 inet static        address 192.168.7.2        netmask 255.255.255.0        network 192.168.7.0        broadcast 192.168.7.255        gateway 192.168.7.254        bridge_ports eth1        bridge_fd 9        bridge_hello 2        bridge_maxage 12        bridge_maxwait 5        bridge_stp off
auto Vbr0:1iface Vbr0:1 inet static        address 192.168.254.254        netmask 255.255.255.0        gateway 192.168.7.2

And this is the vnet template I'm using for the VMs:onevnet show PublicVIRTUAL NETWORK 48 INFORMATIONID             : 48NAME           : PublicUSER           : oneadminGROUP          : usersCLUSTER        : -TYPE           : RANGEDBRIDGE         : Vbr0VLAN           : NoUSED LEASES    : 1
PERMISSIONSOWNER          : um-GROUP          : u--OTHER          : ---
VIRTUAL NETWORK TEMPLATEBRIDGE="Vbr0"DESCRIPTION=""DNS="192.168.7.254"GATEWAY="192.168.254.254"NETWORK_ADDRESS="192.168.254.0"NETWORK_MASK="255.255.255.0"PHYDEV=""VLAN="NO"VLAN_ID=""
RANGEIP_START       : 192.168.254.1IP_END         : 192.168.254.253
USED LEASESLEASE=[ MAC="02:00:c0:a8:fe:01", IP="192.168.254.1", IP6_LINK="fe80::400:c0ff:fea8:fe01", USED="1", VID="92" ]
VIRTUAL MACHINES
    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME    92 admin    users    Debian 7.5 Base runn    0    256M HOMPLMPKRS   0d 11h23
If someone realize what I'm doing wrong and could give me an advise?May also, it is not the best way to bridge the connection of the VMs to the physical network, but I did not found other way of doing it on the documentation, or at least I did not understood.
Thanks in advance to all :) 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140722/bd95e890/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InfraVMs.jpg
Type: image/jpeg
Size: 77876 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140722/bd95e890/attachment-0001.jpg>


More information about the Users mailing list