linux – How can I clear the IP address of Ethernet interface without cycling the interface up/down or restarting it – Super User

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

linux – How can I clear the IP address of Ethernet interface without cycling the interface up/down or restarting it – Super User was last modified: March 17th, 2019 by Jovan Stosic

Leave a Reply