From owner-freebsd-net@FreeBSD.ORG Thu Sep 23 10:13:48 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CD7E16A4CE for ; Thu, 23 Sep 2004 10:13:48 +0000 (GMT) Received: from smtp07.web.de (smtp07.web.de [217.72.192.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA5E743D53 for ; Thu, 23 Sep 2004 10:13:47 +0000 (GMT) (envelope-from Waldemar.Kornewald@web.de) Received: from [80.134.73.165] (helo=[80.134.73.165]) by smtp07.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #44) id 1CAQbj-000286-00 for freebsd-net@freebsd.org; Thu, 23 Sep 2004 12:13:47 +0200 Message-ID: <4152A184.9020301@web.de> Date: Thu, 23 Sep 2004 12:12:20 +0200 From: Waldemar Kornewald User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD-net X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Waldemar.Kornewald@web.de X-Sender: Waldemar.Kornewald@web.de Subject: creating default route in kernel X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 10:13:48 -0000 Hi, could you please tell me how I can create a default route from within the kernel? I am a member of the Haiku (OS) networking team and maintainer of the PPP stack and for dial-on-demand support there must be a default route which does not work. BTW, we use a port of your netstack (from the 4.x releases, I think). Which values should the default route get (netmask, destination, etc.) and which function(s) should I call (our PPP stack lives in the kernel)? Thank you. Bye, Waldemar Kornewald