Crmgo Blog

Configuring IPv6 on a Network Interface (CentOS)

Configuring IPv6 on a Network Interface (CentOS)

Open /etc/sysconfig/network: # vi /etc/sysconfig/network and add the following line: NETWORKING_IPV6=yes Next, proceed to configure the interface itself. # vi /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE="eth1" BOOTPROTO="static" IPV6INIT="yes" ONBOOT="yes" TYPE="Ethernet" IPV6ADDR="your_ipv6_address" IPV6_DEFAULTGW="your_ipv6_gateway" Where IPV6INIT=yes enables IPv6 support for this interface. After that, you can reinitialize...

Configuring IPv6 on a Network Interface (CentOS)

Open /etc/sysconfig/network:
# vi /etc/sysconfig/network
and add the following line: NETWORKING_IPV6=yes
Next, proceed to configure the interface itself.
# vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="static"
IPV6INIT="yes"
ONBOOT="yes"
TYPE="Ethernet"
IPV6ADDR=”your ipv6 address”
IPV6_DEFAULTGW=”your ipv6 gateway”
Where IPV6INIT=yes enables IPv6 support for this interface. After that, you can restart the network: # service network restart Our DNS servers also respond via IPv6. To use them, edit the /etc/resolv.conf file: nameserver 2a00:1f70:0:10::4 nameserver 2a00:1f70:0:10::5 To verify functionality, use the ping6 utility. # ping6 ipv6.google.com

Read the full article: http://www.h1host.ru/blog/

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.