Static IPv4 and dynamic IPv6 on same interface
Posted
by Zsub
on Server Fault
See other posts from Server Fault
or by Zsub
Published on 2010-03-22T11:51:04Z
Indexed on
2010/03/22
12:01 UTC
Read the original article
Hit count: 489
I am trying to set up a CentOS 5.4 box to use a static IPv4 address, while getting a dynamic IPv6 address at boot time.
I have only one interface, apart from the loopback interface, eth0
. It has a static v4 and internet connectivity (I can SSH in). However, it doesn't get an IPv6 by default.
I have enabled IPv6 in /etc/sysconfig/network
and I have added IPV6INIT=yes
to the config in /etc/sysconfig/networking/devices/
.
If I use dhcp6c it does get a valid IPv6 address, but the main question is how do I configure it to get one at boot-time?
© Server Fault or respective owner