ifconfig
was deprecated upstream a long time ago. The replacement is just ip
but I have never bothered to learn its syntax.
If like me you would rather keep using what was not broken, ifconfig
still exists it was just split off into its own package (Has been since March 2022) you can just continue using that.
Note deprecated in this context means that upstream said so not that we stopped shipping it entirely.