Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Add subnet to LAN Net Alias?

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 2.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.
    • A Offline
      Andyrue
      last edited by

      Coming from Untangle, there was an option to add an alias network for an interface.  I tried doing this in pfSense by adding a Virtual IP, but that alias subnet doesn't seem to be reflected when creating firewall rules and selecting "LAN Net" as the source/destination.  Is that expected behavior, or am I doing something wrong?

      Primary subnet 10.111.106.0/24
      Secondary subnet 10.111.107.0/24

      107 is our VoIP network, but there are a couple computers that happen to sit on there that need internet access, so I have always routed them back to my primary Firewall.  Network wise, everything is working I just would need to duplicate all my rules that I have setup with "LAN Net" as the source, or create a NEW alias called "The REAL LAN Net" that has both subnets in it and will still have to update all my rules.  I assume "LAN Net" is just an alias somewhere, can I modify it?  Any way around this?  Thanks!

      1 Reply Last reply Reply Quote 0
      • dotdashD Offline
        dotdash
        last edited by

        In your situation, you could just back off the mask and use 10.111.106.0/23. LAN NET will always reflect the main interface configuration. Aliases and such require custom configuration. Others might want to filter the VOIP traffic in different ways than the 'real' LAN, so making 'LAN NET' encompass alias IPs would be a bad idea for many.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Andyrue
          last edited by

          Thanks, I can do that.  Will it break anything if I just change the /24 to /23 on the LAN interface, or would I need to update anything else?  Can I leave all the clients with a /24 mask?  I was about to make the change, but thought I should double check before hitting the button…

          1 Reply Last reply Reply Quote 0
          • dotdashD Offline
            dotdash
            last edited by

            Easiest to leave the clients the way they are, you might want to separate them at some point. It's fine to change the firewall, it's just saving you from making two rules everywhere.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy