[CentOS] Ifconfig ipv6:permission denied.

Thu Sep 11 08:24:58 UTC 2014
James Hogarth <james.hogarth at gmail.com>

On 11 September 2014 05:30, dE <de.techno at gmail.com> wrote:

>
>
> ifcfg enp0s3 add fc00::1002/124 results in
> arping: Unknown host fc00:1002
> Error: some host already uses address fc00:1002 on enp0s3.
>
> You know the last error message sounds ridiculous. The virtual interface
> on the host has IP fc00::1001/124
>
> Using ip, it also complains "RTNETLINK answer: Permission denied".
>
> Since this's a fresh install, I think I should file a bug.
>


Um ifcfg doesn't handle ipv6 - just take a look at the shell script that
makes it up ...

This is highlighted by arping ... ipv6 does not use arp

I just built a minimal C7 instance to verify the behaviour...

systemctl status NetworkManager shows that it is running

ip addr add fc00::1001/124 dev eth0 adds the IP address to the interface

NetworkManager does not remove this from the interface