Remove IP Address From Eth Device With Linux


How To Remove An Ip Address With A Linux Device Like eth0 or eth1

This basic set of instructions can be used to remove an ip address of a device on your Linux system.

Show IP addresses.

 root_user# ip addr show eth0   

Remove the undesired ip.

 root_user# ip addr del 192.168.0.1/21 dev eth0