netbsd-help@netbsd.org
[Top] [All Lists]

Re: 2 x DSL question

Subject: Re: 2 x DSL question
From: David Brownlee
Date: Tue, 8 Aug 2006 09:27:10 +0100 BST
On Mon, 7 Aug 2006, Dawid Busse wrote:

Hello,

I would like to connect second DSL to my network and map first one to the half 
of the hosts and second one to the other
half. Routing traffic through different gateways seems to be problematic. Is it 
possible? (specify routes basing on
source address?) or is there another solution to use two DSL's? I will be 
grateful for any tips/solutions.

        We have five DSL lines to our capetown office and have the
        following in our pf.conf

int_net  = "192.168.3.0/24"
adsl_gw1 = "192.168.9.1"
adsl_gw2 = "192.168.9.2"
adsl_gw3 = "192.168.9.3"
adsl_gw4 = "192.168.9.4"
adsl_gw5 = "192.168.9.5"
adsl     = "192.168.9.0/24"


pass in quick on $int_if route-to { \
        ($adsl_if $adsl_gw1), \
        ($adsl_if $adsl_gw2), \
        ($adsl_if $adsl_gw3), \
        ($adsl_if $adsl_gw4), \
        ($adsl_if $adsl_gw5) \
    } round-robin proto tcp from $int_net to !$adsl port = 80 \
    flags S/SA modulate state


--
                David/absolute       -- www.NetBSD.org: No hype required --

<Prev in Thread] Current Thread [Next in Thread>