RHCE Configure IPv6

RHCE Objectives: Configure IPv6 addresses and perform basic IPv6 troubleshooting.

Configuring IPv6 on Red Hat 7 is very similar to configuration on Red Hat 6.

Files are located in: /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-interface

The definition for IPv6 specific settings are located in /usr/share/doc/initscripts-*/sysconfig.txt

network

The IPV6INIT command is not used in RHEL7 but configured in the individual interface files below. Other IPV6 commands can be set in the network file and are superseded by the same commands in the interface files.

* IPV6 Default Gateway – IPV6DEFAULTGW=”3gg3:ffff:1234:5678::1″

ifcfg-interface

In the /etc/sysconfig/network-scripts directory are located the interface configuration files. See the txt file above for lots of information but in general the following configuration options are needed when activating IPv6. Some commands like IPV6_DEFAULTGW can be set here if not set in the above network file.

* Initialize IPv6 – IPV6INIT=”yes”
* Static IPv6 IP – IPV6ADDR=address/prefix length
** IPV6ADDR=”3ffe:ffff:0:5::1/128″ (/64 is default)
* DHCP IPv6 – DHCPV6C=”yes|no”
* Default IPV6 Gateway – IPV6_DEFAULTGW=”3ff3:ffff:1234:5678::1″

This entry was posted in Computers and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *