Assigning IP Range to Wildcard MAC-Adresses with ISC dhcpd

Discussion in 'Linux Networking' started by Robert Braeutigam, Mar 10, 2005.

  1. Hello,
    I want to configure our ISC dhcpd (3.x) in a way that Devices with a
    MAC-Adress starting with a specific vendor code (in this case Alcatel
    IP-Phones) get an IP-Adress from a specified IP-Range.
    The Idea is that the IP-Phones are all in a IP-Range of their own.
    Can anyone give me a hint or maybe even an example on how to do this ?
    Thanks a lot in advance,

    Robert Bräutigam
    Robert Braeutigam, Mar 10, 2005
    1. Advertisements

  2. Robert Braeutigam

    prg Guest


    The documentation for dhcpd, etc. is a bit scattered for my taste. The
    man pages are fairly complete but hard to navigate. You might want to
    use the html man page versions here:

    There are several ways in which you can set up this sort of thing and
    the one that you go with will depend on what you will need to take into
    account before assigning client net configuration.

    Check out class, subclass, match, option, DATA EXPRESSIONS (hardware)
    in these pages:
    class, subclass, match:

    conditional evaluation dicussion (maybe more than you need):

    complete list of option statements:

    Two things I see as potential gothchas:
    -- are MAC OID bytes _really_ identical (probably, but some makers have
    more than one number or may use same number for more than one kind of
    -- if you have multiple subnets, can you know ahead of time where in
    the network (which subnet) the IP phone clients are located or do you
    have a solution for this (eg., all IP phones on a single vlan)?

    If you come up with some appropriate way to identify IP phones, and
    figure out how to distribute IPs/netmasks, one of the available
    test/assign examples in the docs above should work. You might
    want/need to sniff the packets on the wire as the phones come up and
    send dhcp requests. Ethereal is good for this (or tcpdump if you can
    read the output;).

    prg, Mar 10, 2005
    1. Advertisements

  3. Thanks a lot for this and the other links, i will read them. Yep, the
    documentation is a bit... difficult to navigate.

    Yep, at least the alcatel consultant who sells the stuff (and is very
    keen on isntalling a W2k based dhcp-Server) tells me that. Well, in
    general I wouldnt mind a working dhcp-server on any OS platform, but I
    dont want to move from our current one because of the other settings I
    already made there.

    No subnets, just a dedicated ip-range from our 10.x.x.x internal

    Thanks a lot for your hints, I think I have to read a bit on the
    weekend :)

    Robert Braeutigam, Mar 11, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.