Skip to content

Instantly share code, notes, and snippets.

@satanTime
Created November 3, 2016 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satanTime/a90046073a8bd30423d52398a6592239 to your computer and use it in GitHub Desktop.
Save satanTime/a90046073a8bd30423d52398a6592239 to your computer and use it in GitHub Desktop.
Creating own loopback ip address on macos to avoid conflicts of apple services
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version='1.0'>
<dict>
<key>Label</key>
<string>com.olovei.ip</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/ifconfig</string>
<string>lo0</string>
<string>alias</string>
<string>172.16.0.1</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
<!-- /Library/LaunchDaemons/com.olovei.ip.plist -->
<!-- launchctl load -w /Library/LaunchDaemons/com.olovei.ip.plist -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment