I have the following IPv4 address and mash in my Postgres hba.conf file:

Which works great when connecting my other Mac perfectly as long as I connect to the PostgreSQL database server directly using it's IPv4 address. But how do I convert it to IPv6?

closed as off-topic by dezso, Colin 't Hart, Marco, ypercubeᵀᴹ, Paul White Jun 12 '17 at 13:06

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    I'm voting to close this question as off-topic because it belongs on Super User or Unix/Linux. – Colin 't Hart Jun 12 '17 at 11:49
  • You might find some information here in the following document titled: Subnet masks (IPv4) and prefixes (IPv6) (IBM Documentation) – hot2use Jun 12 '17 at 12:47

The /24 in IPv4 is for small network. You can translate it in /96 for IPv6.

Here's the quote from documentation :

An IPv6 address range might look like ::1/128 for a single host (in this case the IPv6 loopback address) or fe80::7a31:c1ff:0000:0000/96 for a small network.

Not the answer you're looking for? Browse other questions tagged or ask your own question.