I am trying to set bind loopback to an IP address with ip link set lo 10.254.254.254 up
but keep getting the error Error: either "dev" is duplicate, or "10.254.254.254" is a garbage.
I googled the error, but there isn't any consistency in the answers and nothing that I have tried has helped.
Before I was using ifconfig, which is now deprecated and used the command ifconfig lo 10.254.254.254 up
. Am I correct that above lo command should do the same thing?