#755148 if inet6 is set to "manual", then IPv4 is ignored, too

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
Harald Dunkel
Date:
2014-07-28 10:57:05 UTC
Severity:
normal
#755148#5
Date:
2014-07-18 09:28:54 UTC
From:
To:
If I set

	auto eth0
	iface eth0 inet6 manual
	# EOF

in /etc/network/interfaces, then network-manager seems to
ignore IPv4 on eth0, too. This is fatal.

I would suggest to keep IPv4 and IPv6 seperate, and to
introduce explicit "network_manager" methods for IPv4
and IPv6 in the interfaces file.


Please reassign, if necessary.

Regards
Harri

#755148#10
Date:
2014-07-20 10:02:07 UTC
From:
To:
Am 18.07.2014 11:28, schrieb Harald Dunkel:

Are you using managed=true mode in /etc/NetworkManager/NetworkManager.conf?

#755148#15
Date:
2014-07-25 13:01:04 UTC
From:
To:
It says:

	[main]
	plugins=ifupdown,keyfile

	[ifupdown]
	managed=false

AFAICS thats the default. If I set managed=true, then
eth0 gets both IPv4 and IPv6 addresses using DHCP4
and SLAAC. The "inet6 manual" in the interfaces file
is ignored.

???
Harri

#755148#20
Date:
2014-07-25 13:23:08 UTC
From:
To:
Am 18.07.2014 11:28, schrieb Harald Dunkel:

I don't understand what you are trying to say here.
Can you elaborate?

It's not clear what the problem is.

#755148#25
Date:
2014-07-28 10:53:36 UTC
From:
To:
I would like to tell n-m to stay away from eth0 wrt IPv6.
The IPv6 configuration for this interface is done using
/sbin/ip in a script.

If I use the interfaces configuration as shown above,
then n-m doesn't set up eth0 for IPv4, either.

If I set "managed=true" and the same interfaces config
file, then n-m configures both IPv4 and IPv6.

The problem is that n-m either takes over or ignores the
whole eth0 interface without distinguishing between IPv4
and IPv6. I would like to restrict n-m to IPv4 for this
interface.

My suggestion is to introduce a "network_manager" method
for the "inet" and "inet6" address families in
/etc/network/interfaces, e.g.

	auto eth0
	iface eth0 inet network_manager
	iface eth0 inet6 manual


Regards
Harri