Difference between revisions of "DHCP"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
− | Renew DHCP address in your [[macOS]] from command line: | + | Renew DHCP address in your [[macOS]] from command line (change <code>en0</code> by the name of your interface): |
* <code>interface=en0 && sudo ipconfig set $interface BOOTP && sudo ipconfig set $interface DHCP && sleep 5 && sudo ipconfig getifaddr $interface</code> | * <code>interface=en0 && sudo ipconfig set $interface BOOTP && sudo ipconfig set $interface DHCP && sleep 5 && sudo ipconfig getifaddr $interface</code> | ||
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 (change en0
by the name of your interface):
interface=en0 && sudo ipconfig set $interface BOOTP && sudo ipconfig set $interface DHCP && sleep 5 && sudo ipconfig getifaddr $interface
Activities
- Configure a DHCP server for your network using
isc-dhcp-server
package - Cisco IOS DHCP Server configuration
See also
- 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: