Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Change the default subnet for Internet Sharing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the default subnet for Internet Sharing
Authored by: smphoto on Aug 10, '10 06:36:03AM
Each comment is a small piece of the puzzle. To change the subnet used by Airport when internet sharing from a wired ethernet source, the "SharingNetworkStart" key has to placed inside the Airport section of the plist file. See the last key and string in this code snippet.

The previous commenters commands were changing the subnet for the ethernet network interface, not the airport interface. When I finally read the manual in the terminal for internet sharing (man InternetSharing), it says to put the airport subnet starting IP address inside the AirPort section of the plist file.

My office network uses the subnet 10.0.2.0 for its wired network. Internet Sharing over Airport defaults to the same subnet, causing it not to work. The subnet for Internet Sharing has to be unique to prevent conflicts. That's why I changed my Internet Sharing subnet to 10.0.99.0. I can finally use my desktop iMac to share wirelessly to my iPhone and my laptop.

<key>AirPort</key>
		<dict>
			<key>40BitEncrypt</key>
			<integer>0</integer>
			<key>Channel</key>
			<integer>0</integer>
			<key>Enabled</key>
			<integer>1</integer>
			<key>Extreme</key>
			<string></string>
			<key>NetworkName</key>
			<string>imacnet</string>
			<key>NetworkPassword</key>
			<data>cwB0AHUAYQByAA==</data>
			<key>SharingNetworkNumberStart</key>
			<string>10.0.99.0</string>
		</dict>


[ Reply to This | # ]