Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

VM Context failed to start IPV6 addr on CentOS 7 #3

Closed
jfontan opened this issue Aug 27, 2014 · 0 comments
Closed

VM Context failed to start IPV6 addr on CentOS 7 #3

jfontan opened this issue Aug 27, 2014 · 0 comments

Comments

@jfontan
Copy link
Contributor

jfontan commented Aug 27, 2014

By Nicolas Belan from http://dev.opennebula.org/issues/3160

I have installed a CentOS 7 from scratch.
I installed one-context RPM for 4.8.0.

I rebooted and 'cat' eth0 configuration:

[root@localhost network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.255.128
IPADDR=192.168.0.135
GATEWAY=192.168.0.254

IPV6INIT=yes
IPV6ADDR=2a00:afee:0:f:400:b9ff:fe1e:5c87
IPV6_DEFAULTGW=2a00:afee:0:f::ffff

The IPv6 addr is not set correctly on reboot. Only L-local IP is set (fe80::)

To fix that, I added NM_CONTROLLED=no in 00-network:gen_network_configuration()

ONBOOT=yes
NM_CONTROLLED=no
TYPE=Ethernet

Now, IPv6 is correctly set on reboot.

jfontan added a commit that referenced this issue Aug 28, 2014
Patch provided by Nicolas Belan
@jfontan jfontan closed this as completed Aug 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant