Problems with two interfaces on the same subnet?

Ivan Voras ivoras at freebsd.org
Tue Feb 12 18:18:37 UTC 2013


On 12/02/2013 19:10, Eggert, Lars wrote:
> Hi,
> 
> On Feb 12, 2013, at 9:50, Ivan Voras <ivoras at 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"...?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20130212/f47fe75f/attachment.sig>


More information about the freebsd-net mailing list