[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Just-In-Time Summoning of Unikernels

On Fri, 24 Apr 2015, at 13:42, Carlos Oviedo wrote:
> Hi Magnus,
> We are interested to know how the VMs that Jitsu boots up get their IP 
> addresses. Are they hardcoded in libvirt domain XML and/or Mirage config 
> file?
> We are thinking of a dynamic approach where unikernels get their IP from 
> a DHCP server and we wonder how to retrieve their IP.
> Help will be appreciated, thanks

Jitsu has to know the IP and MAC addresses of the unikernels it controls
in advance, as it sends the DNS reply earlier than the unikernel would
receive a DHCP address. Currently IP addresses are set manually in both
Jitsu (on the command line) and the unikernel (in config.ml).

It would be possible to extend Jitsu to allocate IP addresses
dynamically, for example by passing an IP address as a boot option to
the unikernel (see e.g. https://github.com/mirage/mirage-bootvar-xen).
Jitsu could then be configured to control a pool of static IP addresses
or to automatically request them from a local DHCP server on behalf of
the unikernels.


MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.