Using Macbook Pro Ethernet as a Dhcp Server

Using Macbook Pro Ethernet as a Dhcp Server

I'm developing an arduino project with an Ethernet shield. In order to simulate that the arduino is connected to a router i simply want to make the Macbook act as a DHCP server and give the IP to the arduino board

how do i do?

Thanks

1 Answer

You can use Internet Sharing from Sharing Preference Pane.

  1. Open System Preferences

  2. Select Sharing Preference Pane

  3. Enable Internet Sharing with the following settings:

    Share your connection from: Wi-Fi

    To computers using: Ethernet

Aleph 0 has a more detailed article about it.

There's also an article by Jacques Fortier on Running Mac OS X's built-in DHCP server that describes how you can do it manually.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.