[one-users] Virtual machine IP

Javier Diaz javier.diazmontes at gmail.com
Wed Dec 8 15:13:24 PST 2010


Hi,
In [1] you have a useful link to create bridges.

I also had problems to get up the interfaces with the default 
vmcontext.sh. So, I added at the end "ifup -a".


[1] 
http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29

Regards,
Javi

El 08/12/2010 15:15, zaina.afoulki escribió:
> Hi Steven,
>
> Thanks a lot for your reply.
>
>> Do you have the latest one-context script from opennebula 2.0
>> included as part of your VM.. that is what is either
>> supposed to grab the IP that opennebula assigns through
>> contextualization, or
>> make it be the last 4 bytes of the MAC address.  At least that's
>> what I understand.
> Yes I think I have included in the VM.
>
>> Is your image configured to get DHCP network otherwise?
> No I don't have DHCP but since I had the one-context scripts, I didn't
> think it was necessary.
>
>> Better to create a different bridge from virbr0 especially
>> for opennebula networking.. if you are doing KVM you will
>> have to do this by hand with brctl.
>>
> I'm using the default bridge created by libvirt, and I agree that it is
> probably where the issue is coming from. How would I create a new bridge
> for OpenNebula to use?
>
> I have already tried creating one but didn't succeed... so I used the
> vibr0 instead since it was already there. Just to give you an idea of how
> my network looks like: The frontend and two nodes are connected to eth0.
>
> I would appreciate some advice on how to accomplish this: I think I'm
> going to run these commands on all machines. Then I will just indicate br0
> in the VNet template for OpenNebula.
>
> brctl addbr br0
> brctl addif br0 eth0
> ifconfig br0 up
>
> Is this all I should do?
>
> Thank you
>
> Zaina
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
+-----------------------------------------------------+
Dr. Javier Diaz
Post Doctoral Fellow
Pervasive Technology Institute
Indiana University
2719 East Tenth Street, Bloomington, IN 47408, USA
e-mail: javidiaz at indiana.edu
+-----------------------------------------------------+




More information about the Users mailing list