two ISP connections, three nics, and a NAT

Tomas Quintero tomasq at gmail.com
Thu May 12 08:06:41 PDT 2005


> I have two ISP connections, a DSL line and a Cable Modem line.  I want
> to plug both connections into a FreeBSD box that has three nics in it,
> one nic for each ISP connection and the last nic for my NAT.  How can
> I bind the connections together without any other sort of router?
> I've used ipfw a bit over the past couple of years, and I've got a
> basic NAT working for the other LAN PCs.  I can't seem to find any
> docs on how to proceed with two connections however.  I've got two
> connections for the sake of failover but it'd be nice to actually use
> both of them instead of one or the other sitting idle all the time.
> Would it be as simple as adding a static route from each connection to
> the other?
> 

PF is wonderful for this. I manage a router with 3 DSL Circuits and
have PF setup to round-robin between them. The configuration is fairly
simple, and I can provide my pf.conf if you'd like for some
clarification on how to go about doing it.

-- 
-Tomas Quintero


More information about the freebsd-questions mailing list