linux – How can I clear the IP address of Ethernet interface without cycling the interface up/down or restarting it – Super User Engineering and technology notes Jovan Stosic March 17, 2019 To remove all addresses (in case you have multiple): ip addr flush dev eth0 Source: linux – How can I clear the IP address of Ethernet interface without cycling the interface up/down or restarting it – Super User