From owner-freebsd-stable@FreeBSD.ORG Mon Oct 31 01:54:10 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0F1516A41F for ; Mon, 31 Oct 2005 01:54:10 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AB8443D67 for ; Mon, 31 Oct 2005 01:54:07 +0000 (GMT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 8C066677F9 for ; Mon, 31 Oct 2005 01:54:04 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.13.4/8.13.1) with ESMTP id j9V1qqOh041103; Mon, 31 Oct 2005 12:53:01 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200510310153.j9V1qqOh041103@drugs.dv.isc.org> To: Joel Hatton From: Mark Andrews In-reply-to: Your message of "Mon, 31 Oct 2005 10:50:38 +1000." <200510310050.j9V0oc8n020913@app.auscert.org.au> Date: Mon, 31 Oct 2005 12:52:52 +1100 Sender: Mark_Andrews@isc.org Cc: freebsd-stable@freebsd.org Subject: Re: 6.0 RC1 dhclient (was Re: 6.0 RC1 usbd.conf (and installation comments)) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2005 01:54:10 -0000 > I said: > > > > DHCP configuration - for some reason my machine didn't acquire a > > default route on boot, but rerunning the dhclient script after > > boot caused the interface to be set up again successfully. I > > haven't looked into this further yet, I'll repost if it is a > > repeatable problem. > > This issue is repeatable. Although I haven't had time to trace it further, > I have worked out that if I configure my dhcp interface with an alias eg > ifconfig_em0_alias0 a default route is not added; after commenting that > line in /etc/rc.conf the route is ok again on reboot. I've tried > alternating between commented/uncommented with consistent success/fail > results so I guess this needs looking at. > > joel ALIAS DECLARATIONS alias { declarations ... } Some DHCP clients running TCP/IP roaming protocols may require that in addition to the lease they may acquire via DHCP, their interface also be configured with a predefined IP alias so that they can have a perma- nent IP address even while roaming. The Internet Software Consortium DHCP client doesn't support roaming with fixed addresses directly, but in order to facilitate such experimentation, the dhcp client can be set up to configure an IP alias using the alias declaration. The alias declaration resembles a lease declaration, except that options other than the subnet-mask option are ignored by the standard client configuration script, and expiry times are ignored. A typical alias declaration includes an interface declaration, a fixed-address declaration for the IP alias address, and a subnet-mask option declara- tion. A medium statement should never be included in an alias decla- ration. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org