From owner-freebsd-isp Sat Apr 19 00:22:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA00160 for isp-outgoing; Sat, 19 Apr 1997 00:22:32 -0700 (PDT) Received: from spooky.eis.net.au (ernie@spooky.eis.net.au [203.12.171.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA00154 for ; Sat, 19 Apr 1997 00:22:14 -0700 (PDT) Received: (from ernie@localhost) by spooky.eis.net.au (8.8.5/8.8.5) id RAA17902 for freebsd-isp@freebsd.org; Sat, 19 Apr 1997 17:22:02 +1000 (EST) From: Ernie Elu Message-Id: <199704190722.RAA17902@spooky.eis.net.au> Subject: routed and small subnets To: freebsd-isp@freebsd.org Date: Sat, 19 Apr 1997 17:22:01 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am trying to get routed to add routes for a couple of small subnets I have hanging of ppp dialup modems. All systems are FreeBSD 2.2 I have tried about 10 different /etc/gateways lines but no matter what the traceroute for any ip in the subnets wants to go out to the default router. The /etc/gateways file entry is: net 203.13.222.32/28 gateway 203.13.222.33 metric 1 passive net 203.13.222.16/29 gateway 203.13.222.17 metric 2 passive So there are 2 small subnets on of 8 addresses and the other of 16 talking I can ping 203.13.222.17 and 203.13.222.33 but no other hosts in either of the subnets. If I kill off routed and do it manually ie. route add -net 203.13.222.32 -netmask 0xfffffff0 203.13.222.33 it works but of course modem lines hang up so the routes get lost every now and then. Is this the correct sort of thing to do with routed or is it best handled some other way perhaps with static routes? - Ernie.