Can I create a virtual IPv6 address ranges on loopback interface (lo)?

Solution Verified - Updated -

Issue

  • Can we configure a range of virtual IPv6 addresses on the loopback device by simply specifying the IPv6 network prefix?

  • In IPv4, we are able to achieve that by specifying the IP address subnet on loopback device (e.g: "ip addr add 10.1.0.0/16 dev lo").

  • The same command does not seem to work the same way for IPv6. It only adds a single IPv6 address on loopback device and it automatically adds an "unreachable" route entry on the ipv6 route table for that IPv6 network prefix.

Environment

  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5
  • 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