From owner-freebsd-questions Tue Dec 5 16:46:01 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA19284 for questions-outgoing; Tue, 5 Dec 1995 16:46:01 -0800 Received: from bubba.tribe.com ([205.184.207.7]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA19278 for ; Tue, 5 Dec 1995 16:45:57 -0800 Received: (from archie@localhost) by bubba.tribe.com (8.6.12/8.6.12) id QAA17690 for freebsd-questions@freebsd.org; Tue, 5 Dec 1995 16:44:59 -0800 From: Archie Cobbs Message-Id: <199512060044.QAA17690@bubba.tribe.com> Subject: half routing To: freebsd-questions@freebsd.org Date: Tue, 5 Dec 1995 16:44:59 -0800 (PST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 990 Sender: owner-questions@freebsd.org Precedence: bulk Hello, What is the correct way to do half-routing with the FreeBSD "ifconfig" and "route" commands? For example, suppose you have a point-to-point link between two networks, say 192.168.1.0 and 192.168.2.0, and gateways "gw1" and "gw2" on either end, but you don't have any other IP addresses for which to number the interfaces on the (inside) ends of the point-to-point link: 192.168.1.0 --*[ gw1 ]*---point-to-point-link---*[ gw2 ]*-- 192.168.2.0 no address here ^ no address here ^ That is, what commands should be issued on "gw1" and "gw2"... the "route" command with the "interface" option requires the ip address of the interface through which to route, and in this case it won't have one (it seem like you ought to be able to just specify the interface name instead (eg, "ppp0")). Thanks, -Archie _______________________________________________________________________________ Archie L. Cobbs, archie@tribe.com * Tribe Computer Works http://www.tribe.com