Difference between revisions of "Dynamic Host Configuration Protocol (DHCP)"
Jump to navigation
Jump to search
(13 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | The [[Dynamic Host Configuration Protocol|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. | + | The [[wikipedia:Dynamic Host Configuration Protocol|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 | + | * [[Static]] vs dynamic IP addressing |
* Reservations | * Reservations | ||
* Scopes | * Scopes | ||
− | * Leases | + | * Leases: <code>[[show ip dhcp binding]]</code> |
* Options (DNS servers, suffixes) | * Options (DNS servers, suffixes) | ||
* IP helper/DHCP relay | * IP helper/DHCP relay | ||
Line 11: | Line 11: | ||
Available DHCP Servers: | Available DHCP Servers: | ||
* [[ISC-DHCP (DHCP) Configuration]] | * [[ISC-DHCP (DHCP) Configuration]] | ||
− | * [[Cisco IOS]] dhcp server | + | * [[Cisco IOS]] dhcp server |
+ | * [[dhcpcd]]: <code>[[/etc/dhcpcd.conf]]</code> | ||
− | dhclient -r INTERFACE | + | [[dhclient]] -r INTERFACE |
dhclient -r INTERFACE -v (verbose) | dhclient -r INTERFACE -v (verbose) | ||
Related files: | Related files: | ||
− | * <code>/etc/dhcp/dhclient.conf</code> | + | * <code>[[/etc/dhcp/dhclient.conf]]</code> |
− | |||
− | |||
+ | == Activities == | ||
* [[Renew DHCP address in your macOS from command line]] | * [[Renew DHCP address in your macOS from command line]] | ||
− | + | * [[Configure a DHCP server for your network]] using <code>[[isc-dhcp-server]]</code> package | |
− | |||
− | |||
− | * [[Configure a DHCP server for your network]] using <code>isc-dhcp-server</code> package | ||
* [[Cisco IOS DHCP Server configuration]] | * [[Cisco IOS DHCP Server configuration]] | ||
+ | * <code>[[show running-config dhcp]]</code> | ||
− | + | == See also == | |
+ | * [[Cisco IOS]] | ||
+ | * {{DHCP}} | ||
+ | * [[KVM]]: <code>[[virsh net-dhcp-leases]]</code> | ||
[[Category:DHCP]] | [[Category:DHCP]] |
Latest revision as of 06:46, 27 January 2023
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:
show ip dhcp binding
- Options (DNS servers, suffixes)
- IP helper/DHCP relay
Available DHCP Servers:
- ISC-DHCP (DHCP) Configuration
- Cisco IOS dhcp server
- dhcpcd:
/etc/dhcpcd.conf
dhclient -r INTERFACE dhclient -r INTERFACE -v (verbose)
Related files:
Activities[edit]
- Renew DHCP address in your macOS from command line
- Configure a DHCP server for your network using
isc-dhcp-server
package - Cisco IOS DHCP Server configuration
show running-config dhcp
See also[edit]
- Cisco IOS
- DHCP: Cisco IOS DHCP Server,
isc-dhcp-server (dhcpd.conf)
,ip dhcp pool
show ip dhcp pool
,show ip dhcp binding
,show ip dhcp conflict
,show ip dhcp server statistics
, DHCP snooping,client-identifier
,hardware-address
,show ip dhcp
,ip link
,dhcpcd
,AWS::EC2::DHCPOptions, dhclient, systemd-networkd
- KVM:
virsh net-dhcp-leases
Advertising: