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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content