Difference between revisions of "DHCP"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
  
 
Renew DHCP address in your macOS from command line:
 
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>
+
* <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: