5

Static IPv4 & IPv6 configuration on CentOS 6.2

view full story
linux-howto

http://unix.stackexchange.com – I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 XXXX:C810:3001:D00::3/56 # ip -6 route add default XXXX:C810:3001:D00::1 However, I want to keep this configuration after a reboot. So I made the following configuration: Enabling IPv6 [root@test network-scripts]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=test.net NETWORKING_IPV6=yes Interface Configuration [root@test network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DE (HowTos)