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

    Ip range to CIDR ranges in Aliases (network(s))

    General pfSense Questions
    2
    3
    1.2k
    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.
    • B
      biGdada
      last edited by

      Hi all.
      IP range to CIDR range expansion behaves differently in 2.2

      in 2.1 an IP range was converted to a set of CIDR ranges,
      for example when i was entering 192.168.1.220-192.168.1.230 the range was converted to
      192.168.1.220/30, 192.168.1.224/30, 192.168.1.228/31, 192.168.1.230/32

      now, in 2.2, then i enter the same range i get a list of ip's.
      192.168.1.220/32
      192.168.1.221/32
      192.168.1.222/32
      192.168.1.223/32
      192.168.1.224/32
      192.168.1.225/32
      192.168.1.226/32
      192.168.1.227/32
      192.168.1.228/32
      192.168.1.229/32
      192.168.1.230/32
      is this intended behavior or a bug?

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        It is a bug, fixed by: https://github.com/pfsense/pfsense/commit/e69a0cf3a216c8647a6def4eee41ab01319ce90f
        Redmine: https://redmine.pfsense.org/issues/4318

        Put that fix in and you will feel much happier!

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • B
          biGdada
          last edited by

          thank you, the patch solves the problem.

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