Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 17:19:29 +0200
From:      G Bryant <gbryant@roamingsolutions.net>
To:        daniel@dgnetwork.com.br
Cc:        freebsd-net@freebsd.org, FreeBSD <freebsd-ipfw@freebsd.org>, freebsd-pf@freebsd.org
Subject:   Re: Load Balancing Outgoing, its possible ?
Message-ID:  <43624181.5010305@roamingsolutions.net>
In-Reply-To: <4361FE7E.50607@dgnetwork.com.br>
References:  <4361FE7E.50607@dgnetwork.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Dias Gonçalves wrote:

>
> Complicated ? Its possible ?
>
>                                       TELECOM
>                                LOAD SHARING PER PACKET
> ------------------------------------------------------------------------------------------ 
>
>       |         |          |                          |          
> |        |
>       |         |          |                          |          
> |        |
> -------------------------------------           
> -------------------------------------
> CISCO 2600 (6mbps)                                  HAUWEI (6mbps)
> LOAD SHARING PER PACKET                             LOAD SHARING PER 
> PACKET
> -------------------------------------           
> -------------------------------------
>             Ethernet (64.XX.XX.1/30)                      Ethernet 
> (65.XX.XX.1/30)                      
> |                                               |
>                     |                                               |
>                     |                                               |
>             XL0 (64.XX.XX.2/30)                            XL1 
> (65.XX.XX.2/30)
> ------------------------------------------------------------------------------------------ 
>
> FREEBSD 5.4 + PF
> ------------------------------------------------------------------------------------------ 
>
>                  XL2 (192.168.0.254/24, 64.XX.XX.5/30, 65.XX.XX.5/30)
>                                           |
>                                           |
>                                   ------------------
>                                         SWITCH        
> ------------------------------- IP: 65.XX.XX.6/30
>                                   
> ------------------                                                GW: 
> 65.XX.XX.5
>                                /                     \
>                               /                       \
>               IP: 192.168.0.10/24                      IP: 64.XX.XX.6/30
>               GW: 192.168.0.254                        GW: 64.XX.XX.5
>               and more clients ...                           
> I need load balancing outgoing traffic from:
> 192.168.0.0/24 ( NAT )
> and 64.XX.XX.0/24, 65.XX.XX.0/24
>
> It is possible to make this balancing with the PF ? Exists some 
> software that I make this ? Zebra can help me?
> This type of balancing gives to problems with the navigation of the 
> user of NAT or IP valid ?
> If it is possible, wanted to see examples with rules.
>
> Thanks,
>
If you do not manage to come right with PF, I have a working example of 
a similar setup using IPFW & natd.
Let me know if you would like the config files.
Regards
Graham




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