Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2 WAN IPs 2 GW 1 NIC - no need for load balancing etc.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      peterlinuxgeek
      last edited by

      Hi All,

      In the process of switching ISP.
      New ISP gave me 2 static IPs

      x.y.z.38 w/GW x.y.z.37 & SM 255.255.255.252

      x.y.z..42 w/GW x.y.z.41 & SM 255.255.255.252

      Now I have a brand-new pfSense 2.0rc3 box with 3 segments and 3 NICs
      I would like to configure only 1 WAN interface that listens/replies to both IP's …

      Both IPs will NAT/port FWD into a DMZ for mail & other services (http(s) / ssh)
      some names will point to the .38 and others to the .42

      The LAN segment (3rd) just has to go out.

      The thing I don't know is how to setup this WAN interface.
      (Have done multiple IPs with 1 GW - but this 2nd GW throws me off)

      Probably lack some networking knowledge too ...

      Not sure where / how to start.

      Thx

      Peter

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That's easy in 2.0. Just add an IP Alias type VIP for IPs in the other subnet, and you can then use it on your WAN directly as if it were the IP there.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.