How to change Internet Sharing subnet on Mac OS

1. Copy the plist file /Library » Preferences » SystemConfiguration » to your home directory, eg: sudo cp /Library/Preferences/SystemConfiguration/ ~

2. Use Xcode’s Property List Editor (or any other property list editor) to edit the file in your home directory (you may need to change permissions on it to be able to modify/save it)
To modify it’s permissions execute: sudo chown YourUsername:staff ~/

3. Add a new key (child) to the NAT dict. Call it SharingNetworkNumberStart. The type should be String, and the value is the IP network you want to use (eg

4. Save your changes.

5. Copy the edited file back to the original location. sudo cp ~/ /Library/Preferences/SystemConfiguration/

6. Restart Internet Sharing (disable/enable it)

On Yosemite, you need to add also:

Because of cacheing, you should use defaults write:

sudo defaults write /Library/Preferences/SystemConfiguration/ NAT -dict-add SharingNetworkNumberStart
sudo defaults write /Library/Preferences/SystemConfiguration/ NAT -dict-add SharingNetworkNumberEnd
sudo defaults write /Library/Preferences/SystemConfiguration/ NAT -dict-add SharingNetworkMask