DHCP or a manual IP address?
Start with DHCP on a typical home or office network. A manual address is useful for a direct connection to equipment when there is no DHCP server.
Choose an addressing method
- If the network assigns addresses, use DHCP. It can also supply the subnet mask, gateway and DNS servers.
- If your Mac needs a predictable address on a managed network, ask the administrator about a DHCP reservation.
- For a direct connection to a device with a fixed address, give your Mac an unused address on the same subnet and use the matching mask.
A direct connection
For a device at 192.0.2.1/24, the Mac could use 192.0.2.10/24 if that address is free. Traffic between those two addresses needs no default gateway.