Difference between revisions of "DHCP"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
Related files:
 
Related files:
 
* <code>/etc/dhcp/dhclient.conf</code>
 
* <code>/etc/dhcp/dhclient.conf</code>
 +
 +
 +
 +
Renew DHCP address in your macOS from command line:
 +
<code>sudo ipconfig set en0 BOOTP && sudo ipconfig set en0 DHCP && sleep 5 && sudo ipconfig getifaddr en0</code>
  
  

Revision as of 14:55, 21 January 2020

The Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on UDP/IP networks whereby a DHCP server dynamically assigns an IP address and other network configuration parameters to each device/computer on a network.


  • Static vs dynamic IP addressing
  • Reservations
  • Scopes
  • Leases
  • Options (DNS servers, suffixes)
  • IP helper/DHCP relay


Related files:

  • /etc/dhcp/dhclient.conf


Renew DHCP address in your macOS from command line: sudo ipconfig set en0 BOOTP && sudo ipconfig set en0 DHCP && sleep 5 && sudo ipconfig getifaddr en0


Activities

See also

Advertising: