From owner-freebsd-questions Tue Apr 15 08:14:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA14647 for questions-outgoing; Tue, 15 Apr 1997 08:14:20 -0700 (PDT) Received: from mail.rwth-aachen.de (mail.RWTH-Aachen.DE [137.226.144.9]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA14640 for ; Tue, 15 Apr 1997 08:14:16 -0700 (PDT) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de) by mail (PMDF V5.0-6 #16313) id <01IHQQ70QCHA90MZSQ@mail>; Tue, 15 Apr 1997 17:13:25 +0000 (GMT) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.5/8.6.9) id RAA04059; Tue, 15 Apr 1997 17:31:06 +0200 (MET DST) Date: Tue, 15 Apr 1997 17:31:06 +0200 (MET DST) From: Christoph Kukulies Subject: Re: Class C Routing In-reply-to: <33539294.70AD@enta.net> To: simat@enta.net (Simon N Atkin) Cc: freebsd-questions@FreeBSD.ORG Reply-to: Christoph Kukulies Message-id: <199704151531.RAA04059@gilberto.physik.rwth-aachen.de> MIME-version: 1.0 X-Mailer: ELM [version 2.4ME+ PL28 (25)] Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Just installed FreeBSD 2.2.1 and are trying to set up > the routing between two class C networks. > > my example is routing between networks 207.24.36 > and 207.24.132, so far I have tried using > route add 207.24.36.0 207.24.132.1 1 > > This machine is host 1 > > and route add -net 207.24.36 207.24.132 1 I believe you have to use the route command as follows: route add -net 207.24.36.0 207.24.132.1 [host/network] gateway-host - no metrics argument required - you have to specify the gateway as a host, not a network. > > I have also tried using gated with a gated.conf file > of just > > rip yes ; > > I just keep getting no route to host when pinging > host 1 of network 207.24.36. > Anyone know what I'm doing wrong as this is definitly possible. I would leave finger off of gated or routed unless you know exactly what you want to do. > > Thanks > > Simon Atkin. > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de