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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBB25EC775143822EB582ED2A
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/02/2013 19:10, Eggert, Lars wrote:
> Hi,
>=20
> 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, alth=
ough I have not tried that.)
>>
>> The concept of FIBs looks clean and applicable but setfib works on new=
ly
>> started process, and I would need to do something like apply it to
>> packets coming from an interface.
>=20
> Assuming your default route is via igb2, you can do something like this=
:
>=20
> ipfw add fwd <router upstream of igb3> ip4 from <local address of igb3>=
 to not <subnet of igb2> out
>=20
> (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"...?



--------------enigBB25EC775143822EB582ED2A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigBB25EC775143822EB582ED2A--




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