Question: ifconfig how to remove ip address?
Answer: To remove an IP address from an interface, complete one of the following steps: If the interface is... Then... ... 
Enter the following command: ifconfig interface 0.0.0.0. interface is the name of the interface from which you want to remove the IP address.