Re:Linux maintains bugs: The real reason ifconfig on Linux i...
by gerdesj on Thursday March 19, 2020 @06:42PM
(#22632528)
I spend a lot of times dealing with new devices. Plug it into the same VLAN as my desktop and then in a term:
# ip a a 192.168.1.32/24 dev eth0
Then put 192.168.1.1 into browser etc. Do job. Back to term. Up arrow to get last command, change the second a to d (for delete) and the extra address is gone.
# ip a a 192.168.1.32/24 dev eth0
Then put 192.168.1.1 into browser etc. Do job. Back to term. Up arrow to get last command, change the second a to d (for delete) and the extra address is gone.