How to Limit MAC addresses in my DHCP Linux server

Hi have dhcp linux server , it is work fine , but I need to specify MAC's addresses for Trusted PC Only witch Only I need to get dynamic ip from dhcp , so if another/Unowned PC's connect to my switch then it can not get ip from my dhcp

Well I'm not sure what you are tring to achieve. If you use iptables to restrict connections based on MAC addess then if a connection is allowed it will get a dynamic IP address from DHCP. I don't know any way to do this just using DHCP. DHCP issues dynamic or reserved IP addresses. A Dynamic IP address will be provided to any MAC address that does not have a reservation allocated to it. A reserved address can be issued to a nominated MAC address.

I have never seen this as part of a DHCP server in any O/S. Even in wireless routers the MAC filtering function is seperate from DHCP. Someone may come along and contradict me but in my experience I have never seen this.

0

Featured Post

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Users are often faced with high disk consumption without really knowing where the largest amount of data resides.
Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …

In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster.
To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…