Skip to content

DHCP server

Dynamic Host Configuration Server

  • The DHCP assaigns IP address to all devisces on the subnet mask
    • IT keeps all the log files of wich machine is allocated to which IP address at anyone time
      • The DHCP is running in the bacgorund as dhcp dameon
  • In oreder to connect from LAN u must have DHCP assaigned IP
    • You can do it by
      • either restart or
      • by calling DHCP with dhclient and the interface
        • Note that diffrent distors may have diffrents DHCP clients >[!example] >kali >dhclient eth0 >>[!tip]- Whats happening >>The dhclient command sends a DHCPDISCOVER request from the network interface specified (here, eth0). It then receives an offer (DHCPOFFER) from the DHCP server (192.168.181.131 in this case) and confirms the IP assignment to the DHCP server with a dhcp request.

[!quote] DHCP_protocol Automatic Private IP Addessing