Ad
  • Custom User Avatar

    it looks like I'm approaching this the wrong way

    MIN/MAX functions do not return the first/last IP address in a network. You have to search for another solution.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I'm not sure what you mean by "sorting in a format where you can select the IP addresses". Could you explain what exactly you're trying to do (or better post your code in a comment with a spoiler tag)?

  • Custom User Avatar

    I'm having trouble sorting the IP Addresses in a format where I can select the first and last IPs. What ends up happening is that I get a table with the following results (first row only):

    id first_address last_address
    1 182.240.42.115/1 182.240.42.115/1

    From my output, it looks like I'm approaching this the wrong way (using Min() and Max() )