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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like