From owner-freebsd-questions Mon Mar 18 07:09:23 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA26004 for questions-outgoing; Mon, 18 Mar 1996 07:09:23 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA25996 for ; Mon, 18 Mar 1996 07:09:16 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA23969; Mon, 18 Mar 1996 10:09:09 -0500 Date: Mon, 18 Mar 1996 10:09:09 -0500 From: "Garrett A. Wollman" Message-Id: <9603181509.AA23969@halloran-eldar.lcs.mit.edu> To: Robert Du Gaue Cc: questions@freebsd.org Subject: route question In-Reply-To: References: Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk < said: > If that gets deleted is there a way to had it? I've tried > route add -net 165.90.138.0 link#1 1 -netmask 255.255.255.0 > but it doesn't work, doesn't like link#1 as an argument. I've also tried > giving the gateway as the NIC IP address on that machine and that doesn't > work either. You need to say: route add -net xx.xx.xx.xx -iface -link name-of-interface e.g., route add -net 18.26.1.0 -netmask 255.255.255.0 -iface -link ed0 ...for a machine on my desk. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant