[one-users] Wrong IP Address
Antonio Carlos Salzvedel Furtado Junior
acsfj08 at inf.ufpr.br
Mon May 7 09:10:22 PDT 2012
Hello,
I'm successfully being able to deploy VMs on my cloud, but there is a
problem with the IP addresses that OpenNebula reports to be leased.
The DHCP seems to work fine with the bridge. For instance, I have a Debian
running in a VM, which was given the IP 192.168.122.254.
This is the output of 'ifconfig -a' ( excluding loopback ):
eth0 Link encap:Ethernet Endereço de HW 02:00:c0:a8:7a:02
inet end.: 192.168.122.244 Bcast:192.168.122.255
Masc:255.255.255.0
endereço inet6: fe80::c0ff:fea8:7a02/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:1198 (1.1 KiB) TX bytes:1512 (1.4 KiB)
IRQ:11 Endereço de E/S:0x8000
The MAC address is correct. It is the same as the output of onevm show <VM
NUMBER>:
NIC=[
BRIDGE=virbr0,
IP=192.168.122.2,
MAC=02:00:c0:a8:7a:02,
NETWORK="Private LAN",
NETWORK_ID=0,
VLAN=NO ]
I just don't know where OpenNebula got that IP address 192.168.122.2, shown
above. 'arp -i virbr0' gives me the following:
Address HWtype HWaddress Flags Mask
Iface
192.168.122.244 ether 02:00:c0:a8:7a:02 C
virbr0
The VM was not contextualized, but that is not necessary, right? As far as
I'm concerned, OpenNebula only defines the MAC ADDRESS, but where does it
take information about leases?
ps.:Using KVM as hypervisor.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120507/764b49c6/attachment-0002.htm>
More information about the Users
mailing list