Problems with two interfaces on the same subnet?

Ivan Voras ivoras at freebsd.org
Tue Feb 12 17:50:27 UTC 2013


On 12/02/2013 18:38, Eggert, Lars wrote:

> This sounds like your default route is going via igb2.

Yes, it is.

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

I've found previous posts on "policy routing" with ipfw
(http://lists.freebsd.org/pipermail/freebsd-security/2004-April/001839.html)
but this is probably not what I need; I would need that packets
generated as a response to incoming packets go to the same interface as
the incoming packet. Or are you thinking of hard-coding client addresses
in ipfw rules so that packets going to specific IPs go to a specific
interface?


-------------- 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/715e67f7/attachment.sig>


More information about the freebsd-net mailing list