From owner-freebsd-current@FreeBSD.ORG Wed Jul 15 17:31:57 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84CAF106566B for ; Wed, 15 Jul 2009 17:31:57 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 426958FC0C for ; Wed, 15 Jul 2009 17:31:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MR8Kh-0002DI-4a for freebsd-current@freebsd.org; Wed, 15 Jul 2009 17:31:55 +0000 Received: from 193.33.173.33 ([193.33.173.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jul 2009 17:31:55 +0000 Received: from c.kworr by 193.33.173.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jul 2009 17:31:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Volodymyr Kostyrko Date: Wed, 15 Jul 2009 20:31:39 +0300 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.33.173.33 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.22) Gecko/20090624 SeaMonkey/1.1.17 Sender: news Subject: route_enable vs dhclient X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2009 17:31:57 -0000 Hi all. Back before in the days of 7.2 I have found that configuring dchlient via dhclient.conf have a drawback - you can't add manual routes that would be enabled after acquiring the address. Now in 8.0 routing is initialized just before dhclient resulting in: route: writing to routing socket: Network is unreachable add net 172.16: gateway 172.24.14.254: Network is unreachable route: writing to routing socket: Network is unreachable add net 193.33.172: gateway 172.24.14.254: Network is unreachable Additional routing options: IP gateway=YES. DHCPREQUEST on fxp0 to 255.255.255.255 port 67 DHCPACK from 172.24.14.254 bound to 172.24.14.13 -- renewal in 43200 seconds. Waiting 30s for the default route interface: ............................. Can someone revert the old behavior where routing turns in after enabling dhcp on interfaces? -- Sphinx of black quartz judge my vow.