Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-23-2005, 09:20 AM   #1
LQ Newbie
Registered: May 2005
Location: STB-Portugal
Distribution: RH
Posts: 1

Rep: Reputation: 0
DHCPd based on Hardware Address Wildcard.

Hi all,

This is my very first thread here in

I'm trying to set up a DHCP server were I have to offer different bootp files, to the DHCP Clients, based on their MAC Address.

Assuming the first 6 characters, of the MAC address, are referring to the Vendor, I would like to create a scope with two client-class; were I offer file "X" to Clients were the MAC address request starts by "00:00:11:*" and offer file "Y" to Clients were the MAC address requests starts by "00:00:22:*"

Note: Those MACs are completely invented.

The idea is to give automatically to the requests offers from the same IP scope, but having a rule criteria based on the MAC address vendor.

Thanks in advance,
Old 05-23-2005, 11:44 AM   #2
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
uuufff it would be nice but I doubt the ol' BOOTP protocol support that kind of wildcard without HEAVY tweaking.
Hmmm the only way I think of right now would be a script listening to the network packets for "new" mac address and that add these to dhcpd.conf (and restart dhcpd) if one is found. But that wouldn't be easy to code, neither it would be safe to use.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MAC Address based hostname hogg85 Linux - Networking 2 06-13-2005 12:51 PM
restricting service based on mac address sixth_sense Linux - Networking 3 09-28-2004 08:59 PM
Blocking IP Address ranges in dhcpd.conf pmcdaid Linux - Networking 4 06-09-2004 09:18 AM
Get IP based on Mac address sunmiewon Linux - Networking 4 01-31-2004 06:18 PM
Is a INTEL 56K V.90\92 Hardware-Based Modem a TRUE hardware modem? ElijahLofgren Linux - Hardware 2 01-27-2004 07:06 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration