Subject: Re: domU network configuration in xen config file
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Geert Hendrickx <ghen@telenet.be>
List: port-xen
Date: 03/12/2006 16:16:44
On Sat, Mar 11, 2006 at 10:52:37PM +0100, Manuel Bouyer wrote:
> On Sat, Mar 11, 2006 at 04:14:15PM +0100, Geert Hendrickx wrote:
> > Hi,
> >
> > it is possible to specify an unprivileged domain's network configuration in
> > its Xen config file, with the "ip", "netmask", "gateway", "hostname" and/or
> > "dhcp" config parameters. Linux domU's respect these parameters and use it
> > when booted, but NetBSD doesn't seem to. Is it possible to implement this
> > for NetBSD, too? I guess these parameters are somehow passed to the kernel
> > when loaded, but I don't know how.
>
> This will only be used if you use
> options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTSTATIC
> in your kernel config file, and use root on NFS.
Why couldn't it use this info (pass it on to userland) in other (non-diskless)
cases? Linux domU's can do it, and it looks like a useful feature to me (e.g.
sending a generic domU image to your Xen hosting provider without having to
worry about the network configuration; they would simply provide it in the Xen
config file and your NetBSD domU would use that info).
Geert