From owner-freebsd-net Sat Mar 15 14:20: 3 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 9366937B401 for ; Sat, 15 Mar 2003 14:20:02 -0800 (PST) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7C6A43F3F for ; Sat, 15 Mar 2003 14:20:01 -0800 (PST) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.8/8.12.8) with ESMTP id h2FMK0pH040824; Sat, 15 Mar 2003 17:20:00 -0500 (EST) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.8/8.12.8/Submit) id h2FMK0Xn040823; Sat, 15 Mar 2003 17:20:00 -0500 (EST) (envelope-from barney) Date: Sat, 15 Mar 2003 17:20:00 -0500 From: Barney Wolff To: Guido van Rooij Cc: "J. W. Ballantine" , freebsd-net@FreeBSD.ORG Subject: Re: route pointing to a gateway that's not on net Message-ID: <20030315222000.GA40787@pit.databus.com> References: <20030314202944.GA5071@gvr.gvr.org> <200303142117.h2ELHdl21193@akiva.homer.att.com> <20030315214239.GA23489@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030315214239.GA23489@gvr.gvr.org> User-Agent: Mutt/1.4i X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) 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 Sat, Mar 15, 2003 at 10:42:39PM +0100, Guido van Rooij wrote: > > You already mentioned that adding the -iface route to 10.* in combination > with a default route to your gateway worked for everything except 207.172.3.*. Actually, I don't think that's what he wrote. Rather, that net is an example of not being able to reach anything via the default. The problem is that the link to the ISP is ethernet but is not being used as a subnet, as an ethernet conventionally is. I would make up an address for the default router that's on your subnet, declare that to be the default route, and put a permanent entry into the arp table with the gateway's actual mac address. That ought to work. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message