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

[SOLVED] WAN Static IP with Virtual IPS

Scheduled Pinned Locked Moved General pfSense Questions
wanvirtualipstatic ip
6 Posts 3 Posters 1.1k 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.
  • C
    crooskey
    last edited by crooskey Sep 17, 2019, 9:03 AM Sep 10, 2019, 3:39 PM

    For the past few years I have used PPOE connection that was assigned a /29 block of Public IP addresses.

    On PPOE i was assigned a /29 subnet for IP addresses to use, I simply set this up in Virtual IP's (type OTHER), and my WAN IP was given a IP outside of this range (via PPOE). Now on my new setup, my WAN is configured via static IP, my provider has again assigned me a /29 block of public IPV4 addresses.

    But this time, say I am given the following subnet (example):

    192.168.155.112/29 # IP Range
    192.168.155.113 # Gateway Address 
    

    So I set my Wan Static IP (for the pfsense box) as 192.168.155.114/29 with the gateway as 192.168.155.113. This works fine and internet routes correctly.

    Now when I go to add my new block of Virtual IP's do I still add 192.168.155.112/29 and simply not assign .114 to anything, or do I do this another way? At the moment I have the static IP connection working correctly, just wondered how to configure the Virtual IP's (so I can assign .115 .116 .117 and .118 to internal addresses) thanks.

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Sep 10, 2019, 3:47 PM

      You add them as Virtual IP - IP Aliases, and no you don't add one for the WAN since .114 is already in use.

      1 Reply Last reply Reply Quote 0
      • C
        crooskey
        last edited by Sep 10, 2019, 3:59 PM

        Thanks, so just add each one individually as a /32 ?

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Sep 10, 2019, 4:01 PM

          No, you add them as they were assigned .115/29, .116/29 .117/29 etc etc

          1 Reply Last reply Reply Quote 0
          • C
            crooskey
            last edited by Sep 17, 2019, 9:02 AM

            Thanks, seems to be working as expected.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Sep 17, 2019, 1:58 PM

              With IPAliases you can usually use either /32 or the correct subnet size. The important thing is you have at least one IP defined on the interface with the correct subnet in order to add the correct routing.

              https://docs.netgate.com/pfsense/en/latest/firewall/virtual-ip-address-feature-comparison.html#ip-alias

              Steve

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received