[one-users] Virtual Machine Static IP Address
Daniel.MOLDOVAN at cs.utcluj.ro
Daniel.MOLDOVAN at cs.utcluj.ro
Thu Nov 18 08:27:09 PST 2010
Hy,
Is there any method of assigning a fixed/static IP to a virtual machine? I
have tried anything, even creating a virtual network with only one IP as
lease like below and assign this network to the virtual machine in the vm
template.
NAME = "VM2_net"
TYPE = FIXED
BRIDGE = virbr0
LEASES = [IP=192.168.122.23]
Nomather what i try, the virtual machine will always get a random IP
located in the subnet of the virbr0 bridge. Although using onevm show, the
IP i have requested is reported as assigned, inside the virtual machine
things are different.
Can there be issues regarding the host/guest OS? I am running CentOS as
host and currently experimenting with Ubuntu JeOs and Desktop editions as
guest systems.The network configuration inside the hosts states that the
IP is assigned by DHCP.
P.S. And just of curiosity(i am new to bridging/networking) how difficult
it is to perform some bridging or connection in order to be able to ping
the virtual machine from any opennebula node or client, not just from the
current host of the virtual machine?
Thank you,
Daniel
More information about the Users
mailing list