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

    5 Static WAN IP's and multi lan's

    Routing and Multi WAN
    4
    7
    3.9k
    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.
    • G
      gregoryc911
      last edited by

      Hi,
      Newbie here…. I apologize if this has been posted before but I have been reading and can't seem to find the solution.

      I have a cable modem with 5 static IP address's:
      X.X.X.239 (Static 1)
      X.X.X.240 (Static 2)
      X.X.X.241 (Static 3)
      X.X.X.242 (Static 4)
      X.X.X.243 (Static 5 - This static we will not run through pfSense)

      I have 5 NIC's.  What I need is to run .239, .240, .241, .242 through fxp0.  Then the other four NIC's use for each LAN network.  I am not sure in the gui how to set up the 1 NIC to have the 4 static IP's coming through.  Any help would be appreciated.

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • K
        kc8apf
        last edited by

        You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

        1 Reply Last reply Reply Quote 0
        • G
          gregoryc911
          last edited by

          @kc8apf:

          You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

          So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

          Thank you again in advance!
          ;D

          1 Reply Last reply Reply Quote 0
          • M
            marrandy
            last edited by

            @gregoryc911:

            @kc8apf:

            You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

            So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

            Thank you again in advance!
            ;D

            Why would you do that.

            You just stated they were static addresses.

            1 Reply Last reply Reply Quote 0
            • R
              roundkat
              last edited by

              @kc8apf:

              You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

              I was also curious about this..

              I use OpenBSD for  my firewalls and have been looking at pfSense for sometime..

              Assume Virtual IP's  = ViPs
              So ViPs can also be added for the LAN side as well ???

              Example
              3 external static IPs +3 internal subnets = 2 physical NICs  ??
              2 IPs being ViPs on both the WAN and LAN side ??

              rk

              1 Reply Last reply Reply Quote 0
              • K
                kc8apf
                last edited by

                @roundkat:

                @kc8apf:

                You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

                I was also curious about this..

                I use OpenBSD for  my firewalls and have been looking at pfSense for sometime..

                Assume Virtual IP's  = ViPs
                So ViPs can also be added for the LAN side as well ???

                Example
                3 external static IPs +3 internal subnets = 2 physical NICs  ??
                2 IPs being ViPs on both the WAN and LAN side ??

                rk

                Yes, you can use virtual IPs on any interface, should you choose to.  In your theoretical situation, I'm not sure what advantage you get by having the router have IPs on 3 different subnets on the same LAN, but you could do it.

                1 Reply Last reply Reply Quote 0
                • K
                  kc8apf
                  last edited by

                  @gregoryc911:

                  @kc8apf:

                  You add them as virtual IPs under Firewall/Virtual IPs.  They can then be used for 1:1 NAT, manual outbound NAT, or port forwarding.

                  So should I leave the WAN as DHCP?  Right now for testing I have the WAN set for the .240  If it is supposed to be DHCP I will change that and make the setting changes.

                  Thank you again in advance!
                  ;D

                  The WAN interface would generally occupy one of the static IPs.  All the other static IPs would be added as virtual IPs on the WAN interface.  You could run DHCP on the WAN interface and have all the static IPs as virtual, but there isn't any benefit unless you needed all your static IPs for some special purpose and used the DHCP address for outbound NAT or something.

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