From owner-freebsd-questions@FreeBSD.ORG Sun Feb 24 23:16:42 2008 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 D29C216A401 for ; Sun, 24 Feb 2008 23:16:42 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3CA13C458 for ; Sun, 24 Feb 2008 23:16:42 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 24 Feb 2008 18:04:41 -0500 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 5330011713; Sun, 24 Feb 2008 18:04:41 -0500 (EST) Date: Sun, 24 Feb 2008 18:04:41 -0500 From: Ed Maste To: Andrea Venturoli Message-ID: <20080224230441.GA12542@sandvine.com> References: <47C012EE.6090006@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C012EE.6090006@netfence.it> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 24 Feb 2008 23:04:41.0543 (UTC) FILETIME=[A33AA570:01C87739] Cc: freebsd-questions@freebsd.org Subject: Re: 6.3 DHCP and static_routes 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: Sun, 24 Feb 2008 23:16:42 -0000 On Sat, Feb 23, 2008 at 01:34:54PM +0100, Andrea Venturoli wrote: > This used to work fine with 6.2, with the default route set up by the > DHCP servers. > > After I upgraded to 6.3, I get no default route anymore. This is the > relevant part of my logfile: As of FreeBSD 6.3 dhclient supports RFC3442, the classless static route option. If your DHCP server is including this option but not encoding the default route using the option you'll have no default route. Quoted from RFC 3442: > If the DHCP server returns both a Classless Static Routes option and > a Router option, the DHCP client MUST ignore the Router option. This is my guess as to what you're seeing. If this doesn't solve the issue for you, I'd suggest looking at the DHCP packets with e.g. wireshark. -Ed