Web lists-archives.com

/etc/network/interfaces and IPv6


I am just wondering why ipv6 gets configured for enp1s0, even though I do not 
request that in /etc/network/interfaces (?).

I suspect NetworkManager takes care of that, but I always thought, network 
manager does not touch interfaces mentioned in /etc/network/interface?

System is stretch.

[   17.057438] r8169 0000:01:00.0 enp1s0: link down 
[   17.057440] r8169 0000:01:00.0 enp1s0: link down 
[   17.057546] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready 
[   28.782440] r8169 0000:01:00.0 enp1s0: link up 
[   28.782473] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready

root@gigabyte:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto enp1s0
allow-hotplug enp1s0
iface enp1s0 inet dhcp
#iface eno1.7 inet6 auto
root@gigabyte:~# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
    link/ether 74:d4:35:7b:0d:d8 brd ff:ff:ff:ff:ff:ff
    inet brd scope global enp1s0
       valid_lft forever preferred_lft forever
    inet6 2a02:8070:898f:e4fc:76d4:35ff:fe7b:dd8/64 scope global mngtmpaddr 
       valid_lft 14307sec preferred_lft 14307sec
    inet6 fe80::76d4:35ff:fe7b:dd8/64 scope link 
       valid_lft forever preferred_lft forever

Many thanks

Rainer Dorsch