From owner-freebsd-net Tue Jul 11 14: 6:39 2000 Delivered-To: freebsd-net@freebsd.org Received: from kx2.lh.net (kx2.lh.net [216.81.128.204]) by hub.freebsd.org (Postfix) with ESMTP id 9923E37B7D5 for ; Tue, 11 Jul 2000 14:06:21 -0700 (PDT) (envelope-from freebsd-q@cambridge.lh.net) Received: from cambridge.lh.net ([216.81.128.29]) by kx2.lh.net (InterMail vK.4.02.00.10 201-232-116-110 license fa447d7e5453d7b15649594624cecde5) with ESMTP id <20000711210432.CCAH353.kx2@cambridge.lh.net> for <@mail.lh.net:freebsd-net@freebsd.org>; Tue, 11 Jul 2000 16:04:32 -0500 Received: from localhost by cambridge.lh.net via ESMTP (8.9.3/970220.SGI.BM.8.8.5) for id VAA10864; Tue, 11 Jul 2000 21:06:11 GMT Date: Tue, 11 Jul 2000 16:06:11 -0500 From: Trumpy To: freebsd-net@freebsd.org Subject: Routed and multiple routes... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Here's my situation... I have two nameservers that about 7500 people are looking to for primary name services. Both these boxes are running FreeBSD 3.4-STABLE and need to be renumbered in a new subnet. What I want to do is run two network cards in each machine, connected to the two different subnets (old and new) such that the following conditions are met: 1) All services are reachable via both IPs. (easy part) 2) Two default routes, one out to a router on the new subnet, and one out to a router on the old subnet, the first more preferenced such that if it goes down, default traffic will start going out to a router on the old subnet. I've tried running routed, but when I enter the default routes in /etc/gateways and then start routed, I get: Jul 11 16:06:47 god routed[26243] unreachable gateway 192.168.0.254 in /etc/gateways When, in fact, I can *ping* 192.168.0.254 from the FreeBSD box, and the subnet and broadcast are most definitely set correctly. Diagram: (192.168.0.0/24 is the new, 10.0.0.0/24 is the old) 192.168.0.254 10.0.0.254 ___________ ___________ | NEW | | OLD | | BORDER |----------------| BORDER | | ROUTER | | ROUTER | |_________| |_________| | | | | (preferred | | route) | ________________ | | | FreeBSD 3.4 | | | | | | 192.168.0.25 -> ------|eth0 eth1|------- <- 10.0.0.25 | | |--------------| Any ideas? Do I need to try gated? Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message