Tuesday, July 3, 2018

Checkpoint DHCP reservation With IP and MAC address

  • Firstly, take backup of original DHCP configuration file and store in local machine through WinScp.

Path : root/etc/dhcpd.conf


  • To unlock original dhcp file we need to run following commands in EXPERT mode:


Expert@Hostname# lsattr /etc/dhcpd.conf
# chattr -i /etc/dhcpd.conf
# lsattr /etc/dhcpd.conf



  •  To configure file enter into VI edit mode,

Expert@Hostname#vi /etc/dhcpd.conf

Add following syntex after curly bracket,

host Encrust-PC {                                                 ######
hardware ethernet 00:0c:29:08:60:15;                  ###### Changes we made in this steps.
fixed-address 20.20.20.18;                                    ######
}


Save configuration by shift++ command.




  • Now, previously we unlock dhcpd.conf file again after made changes in that we need to lock so Checkpoint can boot from that file.

Steps to lock file again:

Expert@Hostname# lsattr /etc/dhcpd.conf
# chattr +i /etc/dhcpd.conf
# lsattr /etc/dhcpd.conf



  • Create Rule such as destination will be broadcast and port 67 & 68 should be allowed.


  • Save configuration and reboot Checkpoint.




\

No comments:

Post a Comment