Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Could someone kindly provide a skeleton ifcfg-eth0:[X] for creating an alias with a IPv6 address and no IPv4 address?

Or, alternatively, what's the IPv6 equivalent of this:

in /etc/sysconfig/network-scripts/ifcfg-eth0:1


Or does this not even make sense in IPv6 space?

I know that I can use, for example:


But then do I need to specify that there is no IPv4 address associated with this alias? If so, how? And do I need to also specify the IPV6_DEFAULTGW? Or can it piggyback on the eth0 (unaliased) gateway, which is specified, like with IPv4 aliases?


Answered my own question!

The easiest way to accomplish this seems to be not to create an alias as with IPV4, but to specify, for example, IPV6ADDR_SECONDARIES=2600:4200::6900:6666:dead:beef on the script for the base interface, e.g. ifcfg-eth0.

share|improve this question
Please post your solution as an answer to the question rather than putting it in the question. –  N.N. Apr 13 '12 at 7:41
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.