From owner-freebsd-questions Thu Nov 12 01:20:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA16180 for freebsd-questions-outgoing; Thu, 12 Nov 1998 01:20:55 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (ns.transport.gecalsthom.com [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA16174 for ; Thu, 12 Nov 1998 01:20:52 -0800 (PST) (envelope-from Thierry.Herbelot@alcatel.fr) From: Thierry.Herbelot@alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id LAA13085; Thu, 12 Nov 1998 11:19:22 +0100 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id KAA15439; Thu, 12 Nov 1998 10:18:48 +0100 (MET) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id KAA08810; Thu, 12 Nov 1998 10:00:56 +0100 (MET) Received: from telspace.alcatel.fr by telss1 (4.1/SMI-4.1) id AA13968; Thu, 12 Nov 98 10:03:47 +0100 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA093951002; Thu, 12 Nov 1998 09:56:42 +0100 X-Openmail-Hops: 1 Date: Thu, 12 Nov 98 09:56:27 +0100 Message-Id: In-Reply-To: Subject: Re: two default routes Mime-Version: 1.0 To: dan@dpcsys.com Cc: fabry@panam.edu, freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=US-ASCII; name="Re:" Content-Disposition: inline; filename="Re:" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Wed, 11 Nov 1998, Alain G. Fabry wrote: > > With two different network cards on two different networks, can I have two > > different default routes? > > No. This is a limitation of the BSD IP stack. In "TCP/IP Illustrated Vol 1", W. Richard Stevens states (on p. 114) that multiple default routes may be supported (he mentions Solaris 2.2 as an OS with this capbility) Is there any taker for this addition to FreeBSD ? TfH PS : this an excerpt from man 4 routing on a Solarie 2.5 machine : A wildcard routing entry is specified with a zero destina- tion address value. Wildcard routes are used only when the ^^^^^^ this is **plural** system fails to find a route to the destination host and network. The combination of wildcard routes and routing redirects can provide an economical mechanism for routing traffic. > > > If so, how do I need to specify the default route for the specific > > interface. > > A default route is used when no other route exists to handle the packet. > There can be only one default. > > If you only need to talk to the two networks, the routes setup by > ifconfig will work just fine. > > Dan > -- > Dan Busarow 949 443 4172 > Dana Point Communications, Inc. dan@dpcsys.com > Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message