What you want is very similar to the load balancing example in
faq/pf/pools.html, but rather than using one route-to rule with
a round-robin address pool with multiple addresses used for
packets "from $lan_net", you want two route-to rules, one for
"from $wireless_lan_net" using "adsl wan 1" in the route-to,
and one "from $lab_net" using "adsl wan 2".

On 2014-05-02, Theron ZORBAS <theronzor...@yahoo.com> wrote:
> Hi,
>
> I'm trying to handle dual wan connections on OpenBSD. I see the official PF 
> load balancing example at main site, clearly.
> But my aim is not load balancing. I'm just trying to use first wan connection 
> for our labs and use second wan connection for wireless users.
> Also NAT is needed cause i use private ip networks.
>
> # cat /etc/hostname.re0 
> inet 172.16.67.2 255.255.255.0 NONE description "ADSL WAN 1"
>
>  # cat /etc/hostname.re1 
> inet 172.16.68.2 255.255.255.0 NONE description "ADSL WAN 2"
>
> # cat /etc/hostname.re3 
> inet 192.168.8.1 255.255.248.0 NONE description "Wireless LAN"
>
> # cat /etc/hostname.re4 
> inet 192.168.1.254 255.255.255.0 NONE description "LAB Network"
>
> # cat /etc/mygate 
> 172.16.67.1
>
> I could not know where to start how to do it?
 I've just stucked.
> Thanks for your help.
>
> --
> Theron

Reply via email to