Domino
1
Since this morning,
I no longer have the /etc/network/interfaces path, has there been a Debian 11 image update ?
I tried on a brand new VPS, I am having issues everywhere, on all of my machines.
I only possess
- /etc/netconfig
- /etc/networks
Systemd network not found as well
root@test:~# systemctl status networking
Unit networking.service could not be found.
+-------+--------------+--------+----------------------------------------+--------------+-----------+---------+-------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE |
+-------+--------------+--------+----------------------------------------+--------------+-----------+---------+-------------------------------+
| | 249e361d4c54 | no | Debian bullseye amd64 (20230130_05:25) | x86_64 | CONTAINER | 83.56MB | Jan 30, 2023 at 11:07am (UTC) |
+-------+--------------+--------+----------------------------------------+--------------+-----------+---------+-------------------------------+
ip a
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 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: eth0@if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:16:3e:b9:92:dd brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.138.183.235/24 brd 10.138.183.255 scope global dynamic eth0
valid_lft 2572sec preferred_lft 2572sec
inet6 fd42:4b26:17c7:cbc8:216:3eff:feb9:92dd/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 3157sec preferred_lft 3157sec
inet6 fe80::216:3eff:feb9:92dd/64 scope link
valid_lft forever preferred_lft forever
tomp
(Thomas Parrott)
2
Yes, they use systemd-networkd for network setup now, and those configs are in /etc/systemd/network
.
lxc launch images:debian/11 c1
lxc ls c1
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
| c1 | RUNNING | 10.21.203.8 (eth0) | fd42:ffdb:caff:baf7:216:3eff:fe65:1c25 (eth0) | CONTAINER | 0 |
+------+---------+--------------------+-----------------------------------------------+-----------+-----------+
lxc exec c1 -- cat /etc/systemd/network/eth0.network
[Match]
Name=eth0
[Network]
DHCP=true
[DHCPv4]
UseDomains=true
lxc exec c1 -- networkctl status
● State: routable
Address: 10.21.203.8 on eth0
fd42:ffdb:caff:baf7:216:3eff:fe65:1c25 on eth0
fe80::216:3eff:fe65:1c25 on eth0
Gateway: 10.21.203.1 (Xensource, Inc.) on eth0
fe80::216:3eff:fe8b:c67e (Xensource, Inc.) on eth0
DNS: 10.21.203.1
Search Domains: lxd
Jan 30 11:24:32 c1 systemd[1]: Starting Network Service...
Jan 30 11:24:32 c1 systemd-networkd[53]: Failed to increase receive buffer size for general netlink socket, ignoring: Operation not permitted
Jan 30 11:24:32 c1 systemd-networkd[53]: Failed to increase buffer size for device monitor, ignoring: Operation not permitted
Jan 30 11:24:32 c1 systemd-networkd[53]: Enumeration completed
Jan 30 11:24:32 c1 systemd[1]: Started Network Service.
Jan 30 11:24:32 c1 systemd-networkd[53]: eth0: DHCPv4 address 10.21.203.8/24 via 10.21.203.1
Jan 30 11:24:34 c1 systemd-networkd[53]: eth0: Gained IPv6LL
This was added back in April 2022
Domino
3
Thank you Thomas, indeed the last date my last installation of a Debian 11 image dates back to before April 2022.
Thank you for your response 
1 Like