From owner-freebsd-net Thu Mar 13 12:34:27 2003 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 EE1C737B401 for ; Thu, 13 Mar 2003 12:34:24 -0800 (PST) Received: from kcmso2.proxy.att.com (kcmso2.att.com [192.128.134.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CFF343F3F for ; Thu, 13 Mar 2003 12:34:23 -0800 (PST) (envelope-from jwb@hera.homer.att.com) Received: from ulysses.homer.att.com ([135.205.193.8]) by kcmso2.proxy.att.com (AT&T IPNS/MSO-4.0) with ESMTP id h2DKYJFl020200; Thu, 13 Mar 2003 14:34:19 -0600 (CST) Received: from hera.homer.att.com (hera.homer.att.com [135.205.193.102]) by ulysses.homer.att.com (8.9.3/8.9.3) with ESMTP id PAA06546; Thu, 13 Mar 2003 15:34:18 -0500 (EST) Received: from hera.homer.att.com (localhost [127.0.0.1]) by hera.homer.att.com (8.9.3/8.9.3) with ESMTP id PAA04880; Thu, 13 Mar 2003 15:34:18 -0500 (EST) Message-Id: <200303132034.PAA04880@hera.homer.att.com> To: Iasen Kostov Cc: Kevin_Stevens@pursued-with.net, freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net In-Reply-To: <20030307065558.W52594-100000@shadowhand.OTEL.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4877.1047587657.1@hera.homer.att.com> Date: Thu, 13 Mar 2003 15:34:18 -0500 From: "J. W. Ballantine" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu Mar 6 23:56:51 2003, ikostov@otel.net suggested: > Use : > route add -net 10.17.47.37/32 -cloning -iface xl0 > that sould work. I've tried several variations of this with limited success: Script started on Thu Mar 13 12:26:27 2003 # ifconfig xl0 inet 209.122.66.XXX netmask 255.255.255.0 # route add -net 10.0.0.0 -iface -interface xl0 # add net 10.0.0.0: gateway xl0 # route add -net default -iface -interface xl0 # add net default: gateway xl0 # netstat -nrW Routing tables Internet: Destination Gateway Flags Refs Use Mtu Netif Expire default link#1 UCSc 0 0 1500 xl0 10 link#1 UCSc 0 0 1500 xl0 127.0.0.1 127.0.0.1 UH 0 0 16384 lo0 209.122.66 link#1 UC 0 0 1500 xl0 # ping 10.17.47.37 <<