This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: Communicating with the Guest Os before the network c

To: Ligesh <xen@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Communicating with the Guest Os before the network comes up.
From: Gerd Hoffmann <kraxel@xxxxxxx>
Date: Wed, 19 Jul 2006 08:45:49 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jacob Gorm Hansen <jacobg@xxxxxxx>
Delivery-date: Tue, 18 Jul 2006 23:46:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060719054509.GA13957@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060718115411.GA3210@xxxxxxxxxx> <e08041f30607181302u1a182631pc0b4b81e13345d45@xxxxxxxxxxxxxx> <20060719054509.GA13957@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20060527)
> Yes, on linux you can pass arguments to the kernel commandline which
> can be read from the /proc/cmdline. But I needed a cross platform
> generic method by which to bootstrap the network of the guest OS, and
> currently it appears there isn't one. In fact, when it comes to Xen,
> my primary aim is to run Windows.

I still can't see what is wrong with the DHCP approach ...

 * You can give every virtual machine a fixed MAC address.
 * DHCP can be configured to hand out fixed IP address (based on the
   machines MAC address).
 * You can even invent some scheme to map mac addresses to ip addresses
   (something like aa:bb:01:02:03:04 =>, then you can easily
   script-generate the dhcp config file entries.

That will "just work" with almost every OS on the planet ;)


Gerd Hoffmann <kraxel@xxxxxxx>

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>