From the Apple Menu, choose
Control Panels, TCP/IP
.
The settings should look like these.
Close the window, and then click
Save
.