What exactly are the meanings of the following settings when manually configuring network interfaces on CentOS (I'm trying to configure an IPv6 only host)?
I can guess what some of them mean by their name but I don't know what all of them mean (and some of my guesses could be wrong); is there any official documentation for these configuration options, I can't find any?
From /etc/sysconfig/network-scripts/ifcfg-eth0
IPV6INIT=yes # I assume this just enables IPv6 networking on this interface?
IPV6_AUTOCONF=no # Does this disable SLAAC?
IPV6_AUTOTUNNEL=no # ?
IPV6_FAILURE_FATAL=no # Something to do with IPv6 not working not being an issue?
IPV6_DEFROUTE=yes # ?
IPV6_PEERDNS=yes # Does this mean we use the default gateway for DNS queries?
IPV6_PEERROUTES=yes # Same as above?
IPV6ADDR=1::2/64 # This is obviously the IPv6 address and subnet mask
IPV6_DEFAULTGW=1::1 # This is obviously the default gateway
Also for IPv4 the settings DNS1
and DNS2
exist, do the equivilent ettings IPV6_DNS1
and IPV6_DNS2
exist?
Best Answer
Thanks for the great links although I was really after the answer with regards to the meaning of those IPv6 options I specified, not links to their meaning, as the links may suffer from link-rot.
From:
Sources: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html
https://www.deepspace6.net/projects/initscripts-ipv6.html#idm140568487160560
https://docs.oracle.com/cd/E37670_01/E41138/html/ol_about_netconf.html
and
cat /etc/sysconfig/network-scripts/ifup-ipv6