ipcalc command doesn’t work for ipv6

Solution Verified - Updated -

Issue

  • The ipcalc command doesn’t work for ipv6
  • Ipcalc does not support ipv6
$ ipcalc -6 --network 2607:f8b0:4006:801::1009/128
ipcalc: unable to show setting for IPv6
  • Does not report error with invalid prefix, e.g. x1
$ipcalc -6c 2607:f8b0:4006:801::1009/x1
$ echo $?
0

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.