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

    Add additional prefix to network interface

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 1.5k 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.
    • H
      hexa
      last edited by

      Hi all,

      i've been given administering access to pfsense 2.0.3 in production.
      There are many interfaces, each in it's own network. Now we got another /24 network prefix routed to this pfsense setup (advertising it using OpenBGPD). I want this /24 network to become available on the same physical network interface where another /24 bit network already resides (also advertised via OpenBGPD).

      If i go to interfaces -> $"interface name for old /24 bit network", i don't see any option to add another IP/network under "Static IP configuration". So my question is this, how can I add another IP/network to this interface?

      Using console it would be easy, but it would not wise to bypass WEBGUI.

      Using CARP might be an option, but because i don't have another pfsense firewall with CARP, flooding network with VRRP advertisements seems stupid.

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

        Huh 2 networks on same interface…
        Sounds like VLAN to me :)

        1 Reply Last reply Reply Quote 0
        • H
          hexa
          last edited by

          I'm familiar with 802.1q, but in this case, the costumer doesn't want to implement VLANs.

          Think of it as basic IP aliasing, except on a different subnet. FreeBSD users should understand something like this:
          ifconfig_em0_alias0="inet y.y.y.1 netmask 255.255.255.0"
          is what i want.

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

            OK then :)

            See attached image, maybe will help :)

            BTW, why not VLAN?

            Capture.JPG
            Capture.JPG_thumb

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Looks like you should use a virtual IP of type 'IP alias'.
              Look in Firewall: Virtual IPs:

              Steve

              Edit: Beat me to it!  ::)

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

                Yeah sorry, you are correct…
                I have wrong radio button selected in upper screenshot... It should be first one IP alias as  Stephen said :)

                1 Reply Last reply Reply Quote 0
                • H
                  hexa
                  last edited by

                  Thank you both / hvala.

                  I will try and use IP alias.

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

                    Sure thing :)

                    P.S.
                    You should really upgrade to 2.1 :)

                    P.P.S.
                    Lepo da je še kak Slovenc tle gor :)

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