- 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
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
Am 18.07.2014 11:28, schrieb Harald Dunkel: Are you using managed=true mode in /etc/NetworkManager/NetworkManager.conf?
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
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.
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