Routing With Two ISPs?

Helge Oldach helge.oldach at atosorigin.com
Thu Nov 6 23:59:49 PST 2003


Drew Tomlinson:
>I have a 4.8 box serving as a gateway with two connections to the
>Internet.  Is there some way to set the box up so that packets are
>routed out through the same interface from which they arrived?  For
>example, if a connection is initiated on port 80 from a packet arriving
>on one interface, is there a way to make the outgoing packets from my
>web server use that same interface as a gateway instead of the default
>interface?

Unfortunately not. While your application (multi-homing, aka "strong ES"
model of RFC 1122) would appear simpler, a general solution would target
at true policy-based routing.

The latest information I have seen is
http://www.mail-archive.com/freebsd-net@freebsd.org/msg07737.html.

Helge


More information about the freebsd-net mailing list