From owner-freebsd-questions@FreeBSD.ORG Wed May 6 15:47:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4F2A1065701; Wed, 6 May 2009 15:47:42 +0000 (UTC) (envelope-from jt@0xabadba.be) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 139F98FC1B; Wed, 6 May 2009 15:47:41 +0000 (UTC) (envelope-from jt@0xabadba.be) Received: by ewy3 with SMTP id 3so255427ewy.43 for ; Wed, 06 May 2009 08:47:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.7.209 with SMTP id 59mr783418wep.213.1241623627220; Wed, 06 May 2009 08:27:07 -0700 (PDT) X-Originating-IP: [192.52.218.40] In-Reply-To: <1241623255.12407.6.camel@phoenix.blechhirn.net> References: <1241623255.12407.6.camel@phoenix.blechhirn.net> From: jt@0xabadba.be Date: Wed, 6 May 2009 11:26:47 -0400 Message-ID: To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, "freebsd-questions@freebsd.org" Subject: Re: Assign IP address and hostname via kernel parameter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 15:47:43 -0000 Hi, I would take a look at sysctl this system takes care of kernel parameters. There are a few man pages that delineate what is read only. I'm sure you are aware of setting the hostname at boot time. It seemed like you were more curious about on the fly. I'm not familiar with xen domU's hope this helps, =jt On Wed, May 6, 2009 at 11:20 AM, Mister Olli wrote: > Hi, > > is there a way to configure IP address and hostname on freebsd systems > via kernel command line parameters? > > I have some freebsd systems in as xen domU's and it would be really > great to be able to set the ip address & hostname within the > configuration file for the domU. > > I'm aware that I could configure a static mac address and use DHCP, but > with several layer2 segments on different XEN hosts setting up DHCP > correctly would be a real pain ;-) > > --- > Regards > Mr. Olli > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >