On 07/25/14 15:23, Michael Biebl wrote:
> Am 18.07.2014 11:28, schrieb Harald Dunkel:
>> 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 don't understand what you are trying to say here.
> Can you elaborate?
> 

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.

>> I would suggest to keep IPv4 and IPv6 seperate, and to
>> introduce explicit "network_manager" methods for IPv4
>> and IPv6 in the interfaces file.
> 
> It's not clear what the problem is.
> 

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


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to