Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Change default subnet IP with internet sharing

Hi all,

I think that this problem concern many users in the world, but nobody have one working solution....

It easy, internet sharing in OSX it's really easy to setup, but, no if your local lan uses 192.168.2.x subnet, because this is default subnet for OSX internal dhcp.

How we can change this default ip address with any other like 10.0.0.x ??

Thanks

Macbook Pro 17", Mac OS X (10.6.6)

Posted on Jan 19, 2011 1:00 AM

Reply
6 replies

Oct 4, 2017 2:34 AM in response to Brian Dodds

Still working in Sierra, just copying from the original comment:


sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 192.168.0.0

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberEnd 192.168.0.255

sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkMask 255.255.255.0


(change the IP addresses to suit your network)

Change default subnet IP with internet sharing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.