FOSS Linux published a tutorial about enabling ifconfig on Debian.
How to add missing ifconfig command on Debian
In this article, we will be tackle how to add the missing ifconfig command on Debian. We will run all this on Debian version 11, “bullseye.”
How to add missing ifconfig command on Debian | FOSS Linux