I am testing the alpha 2 release of Debian 12
(I'm quite annoyed they have done away with /var/log/syslog)

My system is "pure" debian 12 and was net installed a few minutes before my checks. Nothing was changed from the original install.

My problem today is identifying what bit of the system is getting the IPv6 address. I can find nothing in journalctl

The networking  is pure systemd networkd.service controlled

root@debian12:/etc/network# systemctl status networking
● networking.service - Raise network interfaces
     Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
     Active: active (exited) since Tue 2023-03-14 12:04:46 AWST; 23min ago
       Docs: man:interfaces(5)
    Process: 299 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)     Process: 374 ExecStart=/bin/sh -c if [ -f /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment --allow=hotplug; fi (code=exited, status=0/SUCCESS)
   Main PID: 374 (code=exited, status=0/SUCCESS)
        CPU: 15ms

Mar 14 12:04:46 debian12 systemd[1]: Starting networking.service - Raise network interfaces... Mar 14 12:04:46 debian12 systemd[1]: Finished networking.service - Raise network interfaces.


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

# The primary network interface
allow-hotplug enp0s3
iface enp0s3 inet dhcp
# This is an autoconfigured IPv6 interface
iface enp0s3 inet6 auto

Checking dhclient I see

ps ax | grep dhcl
    354 ?        Ss     0:00 dhclient -4 -v -i -pf /run/dhclient.enp0s3.pid -lf /var/lib/dhcp/dhclient.enp0s3.leases -I -df /var/lib/dhcp/dhclient6.enp0s3.leases enp0s3
    579 pts/0    S+     0:00 grep dhcl

So no dhclient -6 running.

root@debian12:/etc/network# journalctl | grep -i ipv6
Mar 14 11:48:25 debian12 kernel: Segment Routing with IPv6
Mar 14 11:48:25 debian12 kernel: In-situ OAM (IOAM) with IPv6
Mar 14 11:48:25 debian12 kernel: mip6: Mobile IPv6
Mar 14 11:48:26 debian12 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
Mar 14 12:04:46 debian12 kernel: Segment Routing with IPv6
Mar 14 12:04:46 debian12 kernel: In-situ OAM (IOAM) with IPv6
Mar 14 12:04:46 debian12 kernel: mip6: Mobile IPv6
Mar 14 12:04:48 debian12 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready


My question remains. What is getting the IPv6 address and how can I make configuration changes if required?




Jeremy

Reply via email to