From owner-freebsd-hackers Wed Jun 28 14:52: 2 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id 394E437B971 for ; Wed, 28 Jun 2000 14:51:56 -0700 (PDT) (envelope-from nick@rapidnet.com) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id PAA31110 for ; Wed, 28 Jun 2000 15:51:49 -0600 (MDT) Date: Wed, 28 Jun 2000 15:51:49 -0600 (MDT) From: Nick Rogness To: freebsd-hackers@freebsd.org Subject: 2 routes/same net Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maybe someone on this list knows the answer... How do you add 2 static routes to the same network through different gateways with different metric sizes? (FBSD 4.0-RELEASE,3.3-RELEASE) This is legal to do in routing... Example: # route add -net 192.168.0.0 -netmask 255.255.255.252 192.168.1.1 # route add -net 192.168.0.0 -netmask 255.255.255.252 192.168.1.2 route: writing to routing socket: File exists add net 192.168.0.0: gateway 192.168.1.2: File exists I thought (at 1 time) there was a -metric switch to route(8)? Is -hopcount associated with that? Can you even add 2 routes to the same network? Thanks in adv. Nick Rogness - Speak softly and carry a Gigabit switch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message