From owner-freebsd-net@FreeBSD.ORG Thu Nov 6 21:26:52 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9687213 for ; Thu, 6 Nov 2014 21:26:52 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A0E0ABF2 for ; Thu, 6 Nov 2014 21:26:52 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id sA6LQp2N039147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Nov 2014 13:26:51 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id sA6LQpYT039146; Thu, 6 Nov 2014 13:26:51 -0800 (PST) (envelope-from jmg) Date: Thu, 6 Nov 2014 13:26:51 -0800 From: John-Mark Gurney To: Dante =?iso-8859-1?Q?F=2E_B=2E_Col=F2?= Subject: Re: Static routes issue Message-ID: <20141106212651.GK24601@funkthat.com> Mail-Followup-To: Dante =?iso-8859-1?Q?F=2E_B=2E_Col=F2?= , freebsd-net@freebsd.org References: <545BE687.3070506@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <545BE687.3070506@gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 06 Nov 2014 13:26:52 -0800 (PST) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 21:26:52 -0000 "Dante F. B. Col" wrote this message on Thu, Nov 06, 2014 at 19:22 -0200: > I'm trying to setup some static routes on a freebsd box for some public > addresses , the machine has two ethernet cards *em0 *and *em1 ***, *em0* > is attached to a Cisco internet router and *em1* is connected to a > switch, both interfaces have public addresses of the same range , *em1 > *appears has absolutely no communication , i took a look at the static > routes and there is a route for the subnet that it goes to *em0* , i'm > trying to add a static route for the ip address pointing to the***em1 > *without pass gateway using *-iface* parameter but always returns > "Network unreachble", someone can help me or give some tips to address > this ? for many here this is probably a nooby question, we also have > some firewall Linux boxes that i'm gonna migrate to freebsd (also trying > on openbsd with the same problem) but first i have to solve this. Sounds like you're looking for multipath routing... This requires the kernel to be recompiled w/ the option RADIX_MPATH.. By default, FreeBSD does not support having the same route to two different interfaces.. Hope this helps... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."