Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 1999 00:40:58 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        star@iwl.net
Cc:        hackers@FreeBSD.ORG
Subject:   Re: NAT Gateway to multiple ISPs 
Message-ID:  <199906142340.AAA47618@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Mon, 14 Jun 1999 08:06:14 CDT." <199906141306.IAA12874@star1.iwl.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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.
[.....]
>   3) Configure an internal pseudo-device (tun ?) or divert 
>     interface between natd (and the internal NIC) on the inside 
>     and gated or routed (and the two external NICS) on the 
>     outside.
>     This way, natd and the routing program would be completely
>     isolated and wouldn't need to know that the other existed.
> 
>  ISP1 - NIC1
>              \
>              gated  -  TUN  -  natd  -  NIC3  -  internal net
>              /        device
>  ISP2 - NIC2
> 
> 
>    The third seems the best choice, but I haven't seen any
>     discription of this type of configuration.

Except of course for the working example I mailed you on June 9 and 
committed to src/share/examples/ppp.

>    Any advice ?
> 
> Thanks very much for your help,
> 
> Andy Starratt

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@uk.FreeBSD.org>




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?199906142340.AAA47618>