[one-users] Virtual machine IP
zaina.afoulki
zaina.afoulki at ensi-bourges.fr
Wed Dec 8 12:15:25 PST 2010
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
More information about the Users
mailing list