ISC dhcpd can do interesting stuff, but ... / 2010-09-27

2010-09-27 ISC dhcpd can do interesting stuff, but ...
ISC dhcpd can do interesting stuff, but some options can be quite obscure. Today we suddenly got flooded by alcatel telephones doing DHCP requests in the wrong VLAN. Probably having to do something with moving phones between buildings with different voice vlans. I don't want them to use up dynamic IPs in a production network so I searched a bit and found DHCP for specific range of mac addresses? - Networking. Simple bit of config:
    if binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) = "1-0-80-9f" {
        deny booting;
    }
Which will deny those 00:80:9f addresses. The first 1 is for hardware class ethernet.

Tags: , , ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.55 2021/11/09 13:09:49 koos Exp $ in 0.006159 seconds.