notes/net/proto/dhcp.txt
Ihar Hancharenka 48b59971b1 m
2023-11-21 13:51:38 +03:00

24 строки
430 B
Plaintext

70|LXF201 - DHCP
DHCP:
ifconfig eth0 0.0.0.0
remove the IP address
ifconfig eth0:0
???
service isc-dhcp-server start
start a DHCP server (dhcpd)
(/etc/init.d/...)
dhclient -v eth0
send DHCPDISCOVER req
get DHCPOFFER from all the DHCP servers
then - DHCPREQUEST
and DHCPACK
ip addres send for some period of time (but remembers at the cache)
2023
https://habr.com/ru/companies/yandex/articles/774462/