OS X Command Line IPv4 interface Reset
These commands worked for me.
Shutting off IPv4:
sudo networksetup -setv4off Wi-Fi
Setting it back to DHCP:
sudo networksetup -setdhcp Wi-Fi
These commands worked for me.
Shutting off IPv4:
sudo networksetup -setv4off Wi-Fi
Setting it back to DHCP:
sudo networksetup -setdhcp Wi-Fi