Skip to main content


Showing posts from June, 2016

how to set up ipv6 in linux server

On Red Hat / CentOS / Fedora RHEL:
Red Hat / CentOS / Fedora RHEL support IPv6 out of box. All you have to do is update two files and turn on networking.

/etc/sysconfig/network : Turn on networking in this file.
# vi /etc/sysconfig/network
Append following line:
Open /etc/sysconfig/network-scripts/ifcfg-eth0 (1st network config file) # vi /etc/sysconfig/network-scripts/ifcfg-eth0 Append following config directives for IPv6:IPV6INIT=yesIPV6ADDR=<IPv6-IP-Address>IPV6_DEFAULTGW=<IPv6-IP-Gateway-Address>Here is my sample file with mix of IPv4 and IPv6 assigned to eth0:DEVICE=eth0BOOTPROTO=staticONBOOT=yesHWADDR=00:30:48:33:bc:33IPADDR=,NETWORKING_IPV6=yes|no – Enable or disable global IPv6 initialization.IPV6INIT=yes – Enable or disable IPv6 configuration for all interfaces.IPV6ADDR=2607:f0…