NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Policy routing (NetBSD 5.1)



On Wed, Oct 23, 2013 at 09:02:44AM -0400, Chris Ross wrote:
> My home gateway is a NetBSD 5.1_STABLE machine.  Not terribly up to
> date, and in need of an upgrade, but in the more immediate term, I
> have a desire to run multiple outgoing links.  Is there any way to
> determine next-hop (either based on source address, or also
> setting source-address appropriately) dynamically in NetBSD 5.x?

You can use one of the packet filters for that purpose. Both PF and
IPFilter support this feature. In "pf.conf" you need to use the
"route-to" keyword (see "man 5 pf.conf"). In "ipf.conf" you need
to use "fastroute" (see "man 5 ipf.conf").

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index