Skip to content

Instantly share code, notes, and snippets.

View ralayo-ut's full-sized avatar
🤓

Roc Alayo ralayo-ut

🤓
View GitHub Profile
@ralayo-ut
ralayo-ut / README.md
Last active June 26, 2017 16:25 — forked from brandt/README.md
Creates a loopback alias with IP 10.200.10.1 at startup on Mac OS X

Loopback Alias

Creates an alias on the loopback interface (lo0) with the IP 10.200.10.1 on Mac OS X.

Installation

  1. Install the plist to: /Library/LaunchDaemons/com.runlevel1.lo0.alias.plist
  2. Set mode: chmod 0644 /Library/LaunchDaemons/com.runlevel1.lo0.alias.plist
  3. Set owner: sudo chown root:wheel /Library/LaunchDaemons/com.runlevel1.lo0.alias.plist
  4. Load: sudo launchctl load /Library/LaunchDaemons/com.runlevel1.lo0.alias.plist