Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2013 19:18:17 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Re: Problems with two interfaces on the same subnet?
Message-ID:  <kfe116$j7f$1@ger.gmane.org>
In-Reply-To: <D4D47BCFFE5A004F95D707546AC0D7E91F70A47C@SACEXCMBX01-PRD.hq.netapp.com>
References:  <kfduar$qrh$1@ger.gmane.org> <D4D47BCFFE5A004F95D707546AC0D7E91F70995D@SACEXCMBX01-PRD.hq.netapp.com> <kfdvck$6ak$1@ger.gmane.org> <D4D47BCFFE5A004F95D707546AC0D7E91F70A47C@SACEXCMBX01-PRD.hq.netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 12/02/2013 19:10, Eggert, Lars wrote:
> Hi,
> 
> On Feb 12, 2013, at 9:50, Ivan Voras <ivoras@freebsd.org> wrote:
>>> You can make this work with ipfw rules (and I guess also setfib, although I have not tried that.)
>>
>> The concept of FIBs looks clean and applicable but setfib works on newly
>> started process, and I would need to do something like apply it to
>> packets coming from an interface.
> 
> Assuming your default route is via igb2, you can do something like this:
> 
> ipfw add fwd <router upstream of igb3> ip4 from <local address of igb3> to not <subnet of igb2> out
> 
> (From memory, no guarantees.)

Ok, but both the clients and the server are on the same VLAN and use
private, non-routable IP addresses so there is no "upstream router"...?



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEah2kACgkQ/QjVBj3/HSxHpACglErHyl42DNAiu5JuGue/6BEh
OGgAn09a8XNGvB3dmH2v6KIhc2DMR2zp
=DVT2
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kfe116$j7f$1>