Cobbler server without DHCP IPs

Cobbler server without DHCP IPs.

Cobbler server using dhcpd service to authenticate client MAC address and don't allocate DHCP IP address to client. Cobbler server allocate static IP to the client machine and start Operating System installation.

Steps to configure dhcpd service without dynamic IP range.

> Loging to the DHCP server with root / sudo user. and edit dhcp.conf file.
 Command: #cd /etc/dhcp          ----- Go to DHCP directory
                     #vi dhcpd.conf        ----- Edit dhcpd.conf file.

Dom the changes as per following screen ( Test mark in Yellow ) in dhcpd.conf file

 range dynamic-bootp        172.30.0.5 172.30.0.5;

Note: - 172.30.0.5 is my dhcp server IP, You can put your lab dhcp server ip here.



:wq     ----- Save teh file and exit.

> Restart DHCP server 

Command: #service dhcpd restart


> Go to cobbler directory and edit dhcp.template file.
Command: #cd /etc/cobbler                ----- Go to cobbler directory
                    #vi dhcp.template              ----- Edit dhcp.template file.

Dom the changes as per following screen ( Test mark in Yellow ) in dhcpd.conf file

 range dynamic-bootp        172.30.0.5 172.30.0.5;

Note: - 172.30.0.5 is my dhcp server IP, You can put your lab dhcp server ip here.


:wq         ----- Save the file and exit

> Restart Cobbler server service 
Command: #service cobblerd restart


> Sync cobbler server 
Command: #cobbler sync


> Check Cobbler server for any errors.
Command: #cobbler check



EOF

Comments

Popular posts from this blog

KVM Live Migration without Shared Storage

Create CentOS 6 Local package and Group package Repository

Create Linux ( LUCI ) Cluster