[libvirt-users] domain -> IP
Daniel P. Berrange
berrange at redhat.com
Wed Jan 27 13:18:53 UTC 2010
On Wed, Jan 27, 2010 at 07:30:04AM -0500, Matthew Farrellee wrote:
> How can I map from a domain to the IP(s) given to its network interfaces?
>
> I'm not specifying a <mac .../> to the domain, so I don't have an upfront mapping setup.
>
> Is the best way to do some upfront mapping, e.g. install static MAC -> IP
> in the DHCP server and add <mac .../> to my domains?
Yes, you want to setup static MAC <-> IP mapping, then give a specific
MAC to the guest at install time - virt-install and virt-manager both
have options for setting an explicit MAC instead of auto-generating
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 :|
More information about the libvirt-users
mailing list