From: "Matthieu PATOU" Subject: Re: disabling dhcp for a xenU host Date: Mon, 18 Oct 2004 23:50:03 +0200 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <2f17cbf59fcf0c6aaf07ef7206fff05f@matws.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On October 15, 9:16 am Ian Pratt wrote: > > I have xen domains at home, and i would like to be able to avoid xenU > > to ask (via dhcp) for an ip adresse. > > Looking at xen_repo/docs/xen_config.html i saw that i can pass the > > parameter (ip ":::::eth0:dhcp") but by replacing it by (ip > > ":::::eth0:dhcp") i should be able to desactivate dhcp. > > Yep, I've previously noticed that xm prevents you from turning > off the ip= component of the kernel command line. The best you can > currently do is to set 'ip=off' in the configuration file and end > up with a broken ip= parameter that is ignore by the kernel. > Mike is aware of the problem. > > Ian > you can't prevent xm to pass a ip parameter but by specifiying :::::eth0:off the kernel should ignore the ethernet adapter. But it's not the case. I'll try to see why but i'm not a kernel expert so if someone can do a quick glance it should be better. What i have found so far is the ip parameter is mostly ignored by xenU kernel (i've tried to specify bootp but the kernel still do dhcp request ..). I was also wondering about the syntax of the ip parameter inside de net vif block (as explained in xen_repo/docs/xen_config.html ) what's the purpose of this parameter ? Matthieu ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl