How to define a permanent IPv6 in loopback

General support questions
Post Reply
Minpu Kang
Posts: 4
Joined: 2018/10/28 14:36:59

How to define a permanent IPv6 in loopback

Post by Minpu Kang » 2018/12/11 07:15:49

Hello Support

I am trying to define a loopback with IPv6.
Temporary the cli can works: ifconfig lo:1000 add 1000::1000/125

But it will be cleared once the network service or node reboot.

Then I want to write that into a file like what to define with IPv4:
# more ifcfg-lo:1000
DEVICE=lo:1000
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.10.2
NETMASK=255.255.255.255
IPV6INIT=yes
IPV6ADDR=1000::1000/125


The IPv4 works well, but after restarting service, no IPv6 in the loopback.

May I know how to define such kind of file for a permanent IPv6 in loopback?

Thanks
BRs/Minpu

Post Reply