[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] Are there interfaces to change IP address of given domain before it runn
- From: "Daniel P. Berrange" <berrange redhat com>
- To: Ian jonhson <jonhson ian gmail com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] Are there interfaces to change IP address of given domain before it runn
- Date: Wed, 26 Nov 2008 12:44:48 +0000
On Wed, Nov 26, 2008 at 08:02:42PM +0800, Ian jonhson wrote:
> > Use DHCP, and ensure that when you create the domain configuration xml
> > file for the second instance that you remove the MAC address lines
> > before you define it in virsh so libvirt generates new MAC addresses
> > for the copies.
> >
>
> However, I can not know the IP address before it has been allocated by
> DHCP service. So, I can not scp my applications outside into new cloned
> VM. Have any solution to bind a given IP address to a VM instance?
Setup fixed MAC -> hostname -> IP address mappings in your DNS / DHCP
servers
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]