DHCP Reservations



  • Is there a way to set up DHCP reservations when using the FOG default DHCP server? I need to give each computer a known IP address for some scripts I plan on running on each computer after deployment.

    Thanks.



  • Hi!

    1. Search for dhcp.conf or dhcp3.conf or something in /etc
    2. edit this file with nano or vi
    3. for each host you need an entry of this form:

    host MYCOOLHOST {
    hardware ethernet 00:00:00:00:00:00;
    fixed-address 1.2.3.4;
    }

    1. Replace the 00:00:00:00:00:00 hosts MAC
    2. Replace 1.2.3.4 with your desired IP
    3. restart dhcp service or simply reboot

    hth
    xibeaga


 

438
Online

41.9k
Users

12.4k
Topics

116.8k
Posts