Configure your MacBook Pro as a router by enabling Internet Sharing from System Preferences while connected to the internet via Wi-Fi and sharing that connection through the Ethernet port. On the Windows 10 laptop, ensure the Ethernet adapter is set to obtain an IP address automatically so it receives a valid gateway and DNS settings from the Mac.
Prerequisites and Physical Connections
Before diving into software configurations, you must establish a reliable physical link between the two devices. Your MacBook Pro (Mid 2015) likely requires a USB-C to Ethernet adapter or a Thunderbolt to Ethernet adapter if it does not have a built-in RJ45 port. Ensure that the MacBook is currently connected to the internet via Wi-Fi, as this will be the source of the upstream traffic. Connect one end of a standard Cat5e or Cat6 Ethernet cable to the MacBook’s Ethernet port and the other end to the Windows 10 laptop’s Ethernet port. If you are using a hub or switch, ensure it is powered on and functioning correctly.
It is important to verify that the network interface on the Windows side is active. You can do this by checking the Network Connections panel in Windows Control Panel. The adapter should show as "Connected" without any yellow warning triangles. If the light on the Ethernet port does not illuminate, check the cable integrity and try a different port on the MacBook if available.
Configuring Internet Sharing on macOS
The core mechanism for routing traffic on macOS is called Internet Sharing. This feature allows the Mac to act as a NAT (Network Address Translation) device, forwarding packets from the local Ethernet segment to the Wi-Fi interface. Navigate to System Preferences > Sharing. In the left-hand sidebar, locate the Internet Sharing option but do not check the box yet.
Click the Share your connection from: dropdown menu and select Wi-Fi. This tells macOS that the internet source is the wireless adapter. Next, click the To computers using: dropdown menu and check the box next to Ethernet. This designates the wired port as the outgoing interface for clients. Some users may also see options for Thunderbolt Bridge or USB Ethernet; ensure only Ethernet is selected to avoid confusion or conflicting routes.
Once these selections are made, click the checkbox next to Internet Sharing in the left sidebar to enable it. A confirmation dialog will appear warning that services might be interrupted. Click Start. The status indicator next to Internet Sharing should change to green, indicating that the service is running. At this point, the MacBook is broadcasting a DHCP server on the Ethernet interface, handing out IP addresses to connected clients.
Configuring the Windows 10 Client
On the Windows 10 laptop, the configuration is typically minimal because modern versions of Windows use Dynamic Host Configuration Protocol (DHCP) by default. Open the Control Panel and navigate to Network and Internet > Network and Sharing Center. Click on the link labeled Change adapter settings on the left pane.
Right-click the Ethernet adapter and select Properties. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties again. Ensure that both Obtain an IP address automatically and Obtain DNS server address automatically are selected. Click OK to save the settings. If they were already set to automatic, you can force a renewal by opening Command Prompt as Administrator and running ipconfig /renew.
Verify the configuration by pinging the MacBook’s local IP address or a public website like 8.8.8.8. If you receive replies, the routing is working. You can also check the assigned IP address by running ipconfig in the command prompt. It should show an IP in the range of 192.168.2.x or 172.16.x.x, depending on macOS defaults, with the MacBook’s IP listed as the Default Gateway.
Troubleshooting Common Issues
If the Windows machine cannot access the internet despite correct settings, several factors may be at play. First, verify that Firewall** on the MacBook is not blocking the shared connection. While Internet Sharing usually bypasses the main firewall, custom rules might interfere. Check System Preferences > Security & Privacy > Firewall to ensure it is not actively blocking incoming connections on the Ethernet interface.
Another common issue involves IPv6. Although less common, some networks may have conflicts with IPv6 routing. On the Windows Ethernet properties, uncheck Internet Protocol Version 6 (TCP/IPv6) temporarily to see if connectivity is restored. On the Mac side, you can also try toggling Internet Sharing off and on again to reset the DHCP lease table.
If the connection drops intermittently, check the power management settings. macOS may put the Wi-Fi adapter to sleep if no traffic is detected, breaking the route. Go to Battery settings in System Preferences and ensure that Put hard disks to sleep when possible is unchecked, though this primarily affects storage, ensuring the network stack remains active is key. Additionally, keep the MacBook plugged into power to prevent Wi-Fi throttling due to low battery mode.
Performance Considerations
Using a MacBook as a router introduces a slight overhead due to NAT processing. For general web browsing and email, this is negligible. However, for high-bandwidth activities like large file transfers or online gaming, the throughput will be limited by the MacBook’s Wi-Fi speed and CPU load. The Mid-2015 model has sufficient processing power for typical home use, but avoid heavy multitasking on the Mac while routing to maintain stability.
For more detailed insights into how macOS handles network paths, you might find Adding a New Route in macOS: Will it Affect Existing TCP/UDP Connections? helpful for understanding underlying packet flow.
Frequently Asked Questions
Can I share Wi-Fi to Wi-Fi on a MacBook?
No, macOS does not support creating a Wi-Fi hotspot from a Wi-Fi client interface natively. You must share the connection from Wi-Fi to Ethernet, or from Ethernet to Wi-Fi (if you have two adapters). The Mid-2015 MacBook Pro cannot broadcast its own Wi-Fi network while receiving Wi-Fi internet simultaneously.
Why does my Windows PC get a 169.254.x.x IP address?
This indicates that the Windows machine failed to contact the DHCP server on the MacBook. It means the Ethernet cable is faulty, the port is disabled, or Internet Sharing on the Mac is not actually active. Restart the sharing service and reseat the cable.
Will this setup work if the MacBook goes to sleep?
By default, macOS will disconnect all network interfaces, including Ethernet, when the system sleeps. To maintain the route, you must prevent the Mac from sleeping. Use third-party tools like Amphetamine or adjust Energy Saver settings to disable sleep while the display is off.
Is it safe to leave Internet Sharing enabled permanently?
Yes, it is safe. However, leaving it open exposes your Mac to potential network scanning from the Windows client. Ensure you do not share sensitive files over the network unless necessary, and consider disabling Internet Sharing when not in use to minimize attack surface.
How do I stop sharing without restarting the computer?
Simply go back to System Preferences > Sharing, uncheck the Internet Sharing box in the left sidebar, and confirm the stop action. This immediately tears down the NAT rules and stops the DHCP server on the Ethernet interface.