From owner-freebsd-hackers Fri Jul 19 08:06:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA00950 for hackers-outgoing; Fri, 19 Jul 1996 08:06:27 -0700 (PDT) Received: from etinc.com ([204.141.95.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA00943 for ; Fri, 19 Jul 1996 08:06:24 -0700 (PDT) Received: from dialup-usr11.etinc.com (dialup-usr11.etinc.com [204.141.95.132]) by etinc.com (8.6.12/8.6.9) with SMTP id LAA27956; Fri, 19 Jul 1996 11:12:47 -0400 Date: Fri, 19 Jul 1996 11:12:47 -0400 Message-Id: <199607191512.LAA27956@etinc.com> X-Sender: dennis@etinc.com X-Mailer: Windows Eudora Version 2.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Archie Cobbs From: dennis@etinc.com (Dennis) Subject: Re: interfaces, routes, etc. Cc: hackers@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >> On a different note.. >> >> Is there anyone working on or thinking about being able to point >> routes at an interface rather than an address? i.e. >> >> route add 211.17.12.1 -interface ed0 >> >> or something similar? With aliasing and all this talk of NMBA its >> going to be a larger and larger issue. You can do this in LINUX and >> it makes life easier and is much more readable as well. Its particularly >> useful for setting up routing when interfaces don't yet have addresses >> (ie they are learning them via RARP, or INVARP). >> >> Dennis >> ---------------------------------------------------------------------------- >> Emerging Technologies, Inc. http://www.etinc.com > >I have wondered this myself. Especially for a point-to-point link, >there's no reason (except the arcane FreeBSD routing code) why you >shouldn't be able to say "if it's going to XYZ, send it out THAT >interface", letting the link layer handle the link layer addressing. > >It wouldn't be hard to modify "route" to accept either type of >argument... the question is, does the kernel store interface >routes using the actual address or using a pointer to the interface? You have to do it without trashing the "gateway" concept of passing info to devices. Dennis ---------------------------------------------------------------------------- Emerging Technologies, Inc. http://www.etinc.com Synchronous Communications Cards and Routers For Discriminating Tastes. 56k to T1 and beyond. Frame Relay, PPP, HDLC, and X.25 for BSD/OS, FreeBSD and LINUX