Will pfSense support DHCP dual wan?



  • When will pfSense be able to support a dual wan setup with DHCP connections instead of static only?
    I would really like to use pfSense in that manner now that I have a cable and dsl connection. Both are DHCP.
    Currently I'm using a Linksys RV082 but I used to use pfsense when I had only one wan connection.
    Thanks.



  • @Gitsum:

    When will pfSense be able to support a dual wan setup with DHCP connections instead of static only?
    I would really like to use pfSense in that manner now that I have a cable and dsl connection. Both are DHCP.
    Currently I'm using a Linksys RV082 but I used to use pfsense when I had only one wan connection.
    Thanks.

    Who said it doesn't?  This works now.  I think you are confusing PPPoE and DHCP.. We only support 1 PPPoE connection.



  • Dynamic connections will work with loadbalancing/policybased routing IF the gateways are static. This applies to most dhcp connections though you won't have too much luck with PPPoE for that.



  • Oh, well hot damn!
    All the documentation I've seen shows that I have to use a static IP for the WAN connection.
    How do you set it up when you have DHCP connections?
    Thanks!



  • Just set your interfaces to DHCP. At the loadbalancer pool enter the gateway IPs that you see at status>interfaces for your WANs. Then use that pool in a firewallrule at LAN as gateway.



  • So, in the Load Balancer:Pool:Edit screen, I would put the same IP address in the "Monitor IP" and the "IP" box?



  • It depends if it makes sense for your setup but you could just start with that to see if it works.



  • @hoba:

    Just set your interfaces to DHCP. At the loadbalancer pool enter the gateway IPs that you see at status>interfaces for your WANs. Then use that pool in a firewallrule at LAN as gateway.

    What if the gateway IP address you see there is identical to the actual WAN IP which you are issued via DHCP? This cannot work. What gateway IP address should you use then?



  • This is usually only the case for PPPoE connections. Haven't seen that on a DHCP connection yet. Don't think it will work in such a scenario.



  • Well this is happening in my setup. My connections make use of pppoA.
    Does this mean it will be impossible for me to get this working?
    Or is there something I can do to take care of this problem?



  • Add a Modemrouter in front of this WAN and use it as fake static Gateway. If you have the option to set a DMZ or expedited Host IP at the modemrouter set it to the pfSense IP. This way you only have to do administration at the pfSense (NAT, firewallrules, etc).



  • Thank you. Much appreciated :)


Locked