From owner-freebsd-stable Wed Sep 2 20:38:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA05358 for freebsd-stable-outgoing; Wed, 2 Sep 1998 20:38:43 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from calis.BlackSun.org (slip-ppp-4-198.escape.com [205.160.46.198]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA05353 for ; Wed, 2 Sep 1998 20:38:39 -0700 (PDT) (envelope-from don@calis.BlackSun.org) Received: from localhost (don@localhost) by calis.BlackSun.org (8.8.8/8.8.7) with SMTP id XAA10185; Wed, 2 Sep 1998 23:37:53 -0400 (EDT) (envelope-from don@calis.BlackSun.org) Date: Wed, 2 Sep 1998 23:37:53 -0400 (EDT) From: Don To: Tom cc: freebsd-stable@FreeBSD.ORG Subject: Re: How to add route In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > the -interface flag is required for the route addition and netmask > Interface flags is NOT required. The interface should always be implied > by the gateway address anyhow. Using the "-interface" flag can do funny > things. In fact, it is only recent that "-interface" even works on > FreeBSD. (I said the interface flag was required due to the syntax being used in the original question (ie specifying the interface at the end of the command), But it is not usually the format I use) I usually add routes by using the format: route add / But What about in the case of the the localnet? When adding a route for the local network I have always used: route add / -interface Should i instead be specifying the localhost as the gateway? -Don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message