Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2014 13:26:51 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Dante =?iso-8859-1?Q?F=2E_B=2E_Col=F2?= <dante01010@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Static routes issue
Message-ID:  <20141106212651.GK24601@funkthat.com>
In-Reply-To: <545BE687.3070506@gmail.com>
References:  <545BE687.3070506@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141106212651.GK24601>