Date: Wed, 16 May 2012 19:20:52 +0400 From: Andrey Zonov <andrey@zonov.org> To: Sean Bruno <seanbru@yahoo-inc.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: [stable-9] Message-ID: <4FB3C5D4.6080005@zonov.org> In-Reply-To: <1337105271.3434.8.camel@powernoodle-l7.corp.yahoo.com> References: <1337105271.3434.8.camel@powernoodle-l7.corp.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/15/12 10:07 PM, Sean Bruno wrote: > Trying to use two interfaces connected to the same network with the same > default router. The two interfaces have two different IPs on the > same /28 and point at the same default router of .1. I have > successfully configured the machine such that data is coming *in* on > both interfaces, but the output is only going out the first interface. > > I've compiled with RADIX_MPATH enabled, and I'm setting the default > route ... but, I'm pretty ignorant what to do next. Chances are, I'm > just being stupid here and I need to get more sleep. > > -bash-4.2$ netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif > Expire > default<redacted> UGS 0 33320033 igb0 > XXX.XXX.XXX.0/25 link#1 U 0 0 igb0 => > XXX.XXX.XXX.0/25 link#2 U 0 0 igb1 > > > What am I missing here? > Did you try to use ipfw instead of RADIX_MPATH? Try something like this: route add default $router -interface $if1 ipfw add $number fwd $router ip from $ip2 to any out via $if2 -- Andrey Zonov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB3C5D4.6080005>