Created
June 13, 2017 21:12
-
-
Save vtsatskin/d78d0f58f3cf440dc6c207b992f51e4f to your computer and use it in GitHub Desktop.
Add loopback to Network pane in System Preferences on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo networksetup -createnetworkservice Loopback lo0 | |
sudo networksetup -setmanual Loopback 172.20.42.42 255.255.255.255 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Allows for Internet Sharing without an active internet connection. From http://www.laszlopusztai.net/2016/02/14/creating-a-wi-fi-access-point-on-os-x/