Final answer:
To configure a Mac to have a static IP address at work and a dynamic IP address at home, you can set up location-based network profiles in the Network preferences.
Step-by-step explanation:
To configure a Mac to have a static IP address at work and a dynamic IP address at home, you can use the option C) Set up location-based network profiles in the Network preferences. This allows you to create different network profiles for different locations and automatically switch between them based on your location.
Here's how you can do it:
- Go to System Preferences and click on Network.
- Click on the location drop-down menu and choose Edit Locations.
- Click on the plus (+) button to create a new location.
- Give the new location a name, such as 'Work' or 'Home'.
- Click on the Apply button to save the new location.
- Select the new location from the location drop-down menu.
- Configure the network settings, such as the IP address, subnet mask, and router address, for each location.
- Click on the Apply button to save the settings.
Now, whenever you switch between work and home, you can simply select the corresponding location from the location drop-down menu in the Network preferences, and your Mac will automatically use the static IP address at work and the dynamic IP address at home.