Hacker News new | ask | show | jobs
by squarefoot 2287 days ago
Understood, thanks, I'm so used to ifconfig that always tried to avoid using ip. Time to learn it I guess.
1 comments

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.