F. Omar Telan

View Original

Configure - OSX - Network Settings (IP, DNS, gateway) Command-Line

networksetup -listallhardwareports
sudo networksetup -setdnsservers <NETWORKSERVICE> 128.91.18.2 128.91.49.2 128.91.18.1 128.91.491.1 128.91.94.1
sudo networksetup -setmanual <NETWORKSERVICE> <IP> <SUBNET> <GATEWAY>