Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 17:54:12 -0600
From:      Wes Peters <wes@softweyr.com>
To:        star@iwl.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: NAT Gateway to multiple ISPs
Message-ID:  <37659624.3A6B8F9C@softweyr.com>
References:  <199906141306.IAA12874@star1.iwl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
star@iwl.net wrote:
> 
> Any ideas on the following ?
> 
>   I am setting up a home/office network with NAT filtering gateway
>    on a dual-NIC FreeBSD 3.2 box.  No problem so far - I've set
>    up several like this on 2.2.8 using natd.
> 
>   The new wrinkle is this:  I need to connect to two ISPs
>    (DSL & Cable Modem), ideally with automatic failover and
>    load balancing when multiple internal PC's are generating
>    internet traffic.
> 
>   I know that this requires running gated (or routed) to
>    receive RIP or OSPF messages from the ISPs, and to select the
>    best outgoing ISP's route.
> 
>   The key question is: while the routing program probably
>    requires a third NIC so that each external link has its own
>    device, how can natd handle multiple external internet
>    interfaces.

You could certainly (and easily) do it with *two* FreeBSD boxes:

                 +----------+      +----------+
	Cable -->|  Router  |      | Firewall |
                 |  Gated+  |<---->|  natd+   |<-- internal network
	  DSL -->| FreeBSD  |      | FreeBSD  |
                 +----------+      +----------+

I'm not sure it is possible to virtualize the connection between the
"router" and "firewall" above.  Perhaps with a clever (ab)use of the
bridging code.

-- 
       "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                 Softweyr LLC
http://www.softweyr.com/~softweyr                      wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37659624.3A6B8F9C>