I used to deploy Debian 10 through PXE, and it worked.
Now that Debian 11 is released, I decided to do the same with it, but the installation fails as soon as it tries to configure the network:
Network autoconfiguration failed
Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly.
There are a few strange things:
The machine can reach DHCP when it just loads. I can see the DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, and DHCPACK messages in the log in DHCP server. Besides, the machine communicates with the TFTP server (to retrieve pxelinux.0 and others) using its correct IP address. So, after all, the machine does access DHCP, and gets access to the local network, but then magically forgets about it.
The machine has two adapters:
enp1s0andenp111s0. If during the installation, I bring the console and Iip link set enp111s0 down; ip addr add 192.168.1.50/24 dev enp1s0, then I can access the local network (but not internet).If, additionally, I specify a gateway by running
ip route add default via 192.168.1.1 dev enp1s0, I can access not only the local network, but internet as well.
What happened in Debian 11 which could explain that?
How can I fix the connectivity issue?