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

    Can't add additional subnet to LAN - 2.3.3-RELEASE-p1 (amd64)

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    4 Posts 4 Posters 1.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 Offline
      pgk
      last edited by

      Latest version running –
      2.3.3-RELEASE-p1 (amd64)
      built on Thu Mar 09 07:17:41 CST 2017
      FreeBSD 10.3-RELEASE-p17

      Needed to add a second subnet to the LAN - I have done this before - so:  Firewall > Virtual IPs > Add

      Type - IP Alias
      Interface - LAN
      "Address Type" defaults to "Single address" - and cannot be changed to a network type address!

      Actually changing the "Type" option to anything will not open up this field.

      ...so - is it broke?

      pgk

      ![IP Alias Fail.jpg](/public/imported_attachments/1/IP Alias Fail.jpg)
      ![IP Alias Fail.jpg_thumb](/public/imported_attachments/1/IP Alias Fail.jpg_thumb)

      1 Reply Last reply Reply Quote 0
      • DerelictD Offline
        Derelict LAYER 8 Netgate
        last edited by

        You should not be seeing the grayed out netmask. Try hard reloading especially if you tracked dev releases in the past.

        Welcome to the forum.

        But, in general, IP Alias VIPs are single, not subnet. but the netmask can matter there.

        https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses

        ![Screen Shot 2017-03-15 at 12.46.27 AM.png](/public/imported_attachments/1/Screen Shot 2017-03-15 at 12.46.27 AM.png)
        ![Screen Shot 2017-03-15 at 12.46.27 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2017-03-15 at 12.46.27 AM.png_thumb)

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kpa
          last edited by

          On FreeBSD 10 and later the netmask on an alias does not matter anymore. This will work fine now but previously required a /32 mask on the second and subsequent addresses of a range (2nd and 4th addresses below).

          
          # ifconfig em0 inet 192.168.0.100/24
          # ifconfig em0 inet 192.168.0.200/24 alias
          # ifconfig em0 inet 172.16.31.100/24 alias
          # ifconfig em0 inet 172.16.31.200/24 alias
          
          
          1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator
            last edited by

            "Needed to add a second subnet to the LAN"

            As a vlan??  Or you wanting to run multiple layer 3 on the same layer 2??  If so that is BORKED - rethink what your doing.  And when you come up with vlans as your answer to running multiple networks on the same physical interface you have gotten to the correct answer ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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