Difference between revisions of "DHCP"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
  
  
Renew DHCP address in your [[macOS]] from command line (change <code>en0</code> by the name of your interface):
+
[[Renew DHCP address in your macOS from command line]]
* <code>interface=en0 && sudo ipconfig set $interface BOOTP && sudo ipconfig set $interface DHCP && sleep 5 && sudo ipconfig getifaddr $interface</code>
 
  
 
== Activities ==
 
== Activities ==

Revision as of 14:58, 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

Activities

See also

Advertising: