0% found this document useful (0 votes)
82 views

How To Configure MAC Binding in DHCP Server - Devopszones

This document describes how to configure MAC address binding in a DHCP server to permanently assign static IP addresses to clients using their MAC addresses. It involves running commands like arp, ping and editing the dhcpd configuration file to add the client's MAC address and desired static IP address. Restarting the DHCP service applies the new configuration. Clients can then be verified to receive the expected static IP even after network service restarts.

Uploaded by

Manu Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views

How To Configure MAC Binding in DHCP Server - Devopszones

This document describes how to configure MAC address binding in a DHCP server to permanently assign static IP addresses to clients using their MAC addresses. It involves running commands like arp, ping and editing the dhcpd configuration file to add the client's MAC address and desired static IP address. Restarting the DHCP service applies the new configuration. Clients can then be verified to receive the expected static IP even after network service restarts.

Uploaded by

Manu Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

-->

TUESDAY, MARCH 8. HOME ABOUT CONTACT PRIVACY POLICY MANAGED SERVICES    

 CLUSTER DEVOPS LINUX MONITORING SOLARIS HOW-TO LINUX NEWS

 Recent Articles s DEVOPS How to migrate from docker containers to podman DEVOPS How to Install Podman on Oracle Linux 7 (OL7)

How to Configure MAC binding in DHCP Server


 Manas Ranjan Tripathy
 Monday, August 17, 2020

0

 Facebook
 Twitter
 Google+

How to Configure MAC binding in DHCP Server

Configuring MAC binding in DHCP server means permanently assigning static IP to the DHCP client using
client MAC address.

1. Check the DHCP Service is running

[[email protected] ~]# systemctl status dhcpd.service

2. PING to all the clients to get the IP which you want configure MAC binding.

#ping  <client_FQDN>

3. Run ARP command to get the MAC ID associated with the IP.

# arp -a

Please Support This


Website

If my website has helped you, then please


consider supporting it....
You can support it by
making a donation Or you can configure you
Mybillbook app - Get a Free Trial for 15
ad blocker to make an exception for my websi
Thanks in advance....
Days
OPEN

Business accounting & inventory management for small businesses. vyaparapp.in
GST Billing Software
My bill book app download
Business accounting & inventory management for small businesses.

vyaparapp.in OPEN

4. Edit the configuration and change as required

71 Stores across 26 Cities


BlueStone Jewellery Pitampura
[[email protected] ~]# vim /etc/dhcp/dhcpd.conf

host nfsserver {

 hardware ethernet 02:45:58:66:fa:c7;

 fixed-address 10.0.XXX.XXX;

}
Our Page

As shown above we have to add  MAC address and host IP address. If you want to configure MAC
binding for multiple servers then copy the same line and paste below and change there MAC address,
hostname and IP address accordingly.

POPULAR RECENT COMMENTS


5. Test configuration file before restarting DHCP server.

GrayLog: How to Reset Admin


Password?
 Sunday, April 24, 2016  0
[[email protected] ~]# dhcpd configtest
Centos 7 / RHEL 7 : SSSD couldn't load the
configuration database [5]: Input/output erro
6. Restart DHCP service
 Friday, October 05, 2018  0

How to Take Backup Of


MySQL/MariaDB Database and
[[email protected] ~]# systemctl restart dhcpd.service
Restore it
[[email protected] ~]# systemctl status dhcpd.service
 Monday, June 26, 2017  0

mount: /dev/mapper/STORBCK-backup alrea


7. That’s it restart network services in client and verify specified IP address it will get. Try restarting the mounted or /STORBCK busy?
network service multiple times,  you will get same IP address from DHCP lease.
 Monday, November 28, 2016  1

Lenovo Ideapad 330 touchpad


not working, How to Build the
Kernel to solve this issue
 Saturday, December 29, 2018  0

Frequent Topics

HOW-TO
(294) LINUX
(261) DEVOPS
(234)

MONITORING
(92) STORAGE
(68)

SECURITY
(51) KUBERNETES
(44)

DATABASE
(36) CACTI
(33) CLUSTER
(25)

VCS
(23) DOCKER
(22) MYSQL
(21)

NAGIOS
(18) ELASTICSEARCH
(13)

Mybillbook app - Get a Free Trial for 15

Days
OPEN
TAGS: HOW-TO LINUX NETWORKING

Business accounting & inventory management for small businesses. vyaparapp.in
About Manas Ranjan Tripathy

RELATED POSTS

Docker "NO ROUTE TO HOST" Error While connecting


How to Configure MAC binding in DHCP Server from one container to other
 August 17, 2020  0  February 21, 2020  0

How to Close A Socket / Port On Server In a TIME_WAIT Monitoring windows DISK IO utilization In cacti using
State Forcefully WMI?
 October 17, 2019  0  September 18, 2018  0

 PREVIOUS NEXT 

AWS: EKS : error: You must be logged in to Linux : How to send mails with attachments
the server (Unauthorized) using mailx command

POST A COMMENT BLOGGER DISQUS FACEBOOK

No comments

Facebook Twitter Instagram Youtube


 Join Us On Facebook
 Join Us On Twitter
 Join Us On Instagram
 Join Us On Youtube
Mybillbook app - Get a Free Trial for 15

 CLOUD  REVIEWS  ANDROID  LINUX  DEVOPS  MANAGED SERVICES

Days
OPEN

Crafted with  by TemplatesYard | Distributed by Blogger Templates
Business accounting & inventory management for small businesses. vyaparapp.in
Mybillbook app - Get a Free Trial for 15

Days
OPEN

Business accounting & inventory management for small businesses. vyaparapp.in

You might also like