[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dhcp-client
Subject:    RE: IP Addresses & Names....
From:       Dierking Kevin <kevin () cadant ! com>
Date:       2001-07-19 15:43:47
[Download RAW message or body]

   *** From dhcp-client -- To unsubscribe, see the end of this message. ***


I'd like to take a stab at this.... I've found a way via client identifier
if that's what you mean, you question is kinda vague.  But anyway here is
how we accomplish IP given out by client identifier, hope that helps.

# $FreeBSD: src/etc/dhclient.conf,v 1.2 1999/08/27 23:23:41 peter Exp $
#
#	This file is required by the ISC DHCP client.
#	See ``man 5 dhclient.conf'' for details.
#
#	In most cases an empty file is suffient for most people as the
#	defaults are usually fine.
#
interface "sf0" {
    send dhcp-client-identifier "SF00";
    send host-name "TEST-SF00";
    supersede dhcp-lease-time 10;
}
interface "sf1" {
    send dhcp-client-identifier "SF01";
    send host-name "TEST-SF01";
    supersede dhcp-lease-time 10;
}
interface "sf2" {
    send dhcp-client-identifier "SF02";
    send host-name "TEST-SF02";
    supersede dhcp-lease-time 10;
}
interface "sf3" {
    send dhcp-client-identifier "SF03";
    send host-name "TEST-SF03";
    supersede dhcp-lease-time 10;
}
interface "sf4" {
    send dhcp-client-identifier "SF04";
    send host-name "TEST-SF04";
    supersede dhcp-lease-time 10;
}
interface "sf5" {
    send dhcp-client-identifier "SF05";
    send host-name "TEST-SF05";
    supersede dhcp-lease-time 10;
}
interface "sf6" {
    send dhcp-client-identifier "SF06";
    send host-name "TEST-SF06";
    supersede dhcp-lease-time 10;
}
interface "sf7" {
    send dhcp-client-identifier "SF07";
    send host-name "TEST-SF07";
    supersede dhcp-lease-time 10;
}
interface "sf8" {
    send dhcp-client-identifier "SF08";
    send host-name "TEST-SF08";
    supersede dhcp-lease-time 10;
}
interface "sf9" {
    send dhcp-client-identifier "SF09";
    send host-name "TEST-SF09";
    supersede dhcp-lease-time 10;
}
interface "sf10" {
    send dhcp-client-identifier "SF10";
    send host-name "TEST-SF10";
    supersede dhcp-lease-time 10;
}
interface "sf11" {
    send dhcp-client-identifier "SF11";
    send host-name "TEST-SF11";
    supersede dhcp-lease-time 10;
}
interface "sf12" {
    send dhcp-client-identifier "SF12";
    send host-name "TEST-SF12";
    supersede dhcp-lease-time 10;
}
interface "sf13" {
    send dhcp-client-identifier "SF13";
    send host-name "TEST-SF13";
    supersede dhcp-lease-time 10;
}
interface "sf14" {
    send dhcp-client-identifier "SF14";
    send host-name "TEST-SF14";
    supersede dhcp-lease-time 10;
}
interface "sf15" {
    send dhcp-client-identifier "SF15";
    send host-name "TEST-SF15";
    supersede dhcp-lease-time 10;
}

then on the server side........

ddns-update-style ad-hoc;
#not authoritative;
authoritative;

class "TEST-SF00" { match option dhcp-client-identifier; }
class "TEST-SF01" { match option dhcp-client-identifier; }
class "TEST-SF02" { match option dhcp-client-identifier; }
class "TEST-SF03" { match option dhcp-client-identifier; }
class "TEST-SF04" { match option dhcp-client-identifier; }
class "TEST-SF05" { match option dhcp-client-identifier; }
class "TEST-SF06" { match option dhcp-client-identifier; }
class "TEST-SF07" { match option dhcp-client-identifier; }
class "TEST-SF08" { match option dhcp-client-identifier; }
class "TEST-SF09" { match option dhcp-client-identifier; }
class "TEST-SF10" { match option dhcp-client-identifier; }
class "TEST-SF11" { match option dhcp-client-identifier; }
class "TEST-SF12" { match option dhcp-client-identifier; }
class "TEST-SF13" { match option dhcp-client-identifier; }
class "TEST-SF14" { match option dhcp-client-identifier; }
class "TEST-SF15" { match option dhcp-client-identifier; }

# SUBCLASS FOR CPE TEST MACHINES 1of40 
subclass "TEST-SF00" "SF00";
subclass "TEST-SF01" "SF01";
subclass "TEST-SF02" "SF02";
subclass "TEST-SF03" "SF03";
subclass "TEST-SF04" "SF04";
subclass "TEST-SF05" "SF05";
subclass "TEST-SF06" "SF06";
subclass "TEST-SF07" "SF07";
subclass "TEST-SF08" "SF08";
subclass "TEST-SF09" "SF09";
subclass "TEST-SF10" "SF10";
subclass "TEST-SF11" "SF11";
subclass "TEST-SF12" "SF12";
subclass "TEST-SF13" "SF13";
subclass "TEST-SF14" "SF14";
subclass "TEST-SF15" "SF15";

# SUBCLASS FOR CPE TEST MACHINES 2of40 
subclass "TEST-SF00" "SF00-2";
subclass "TEST-SF01" "SF01-2";
subclass "TEST-SF02" "SF02-2";
subclass "TEST-SF03" "SF03-2";
subclass "TEST-SF04" "SF04-2";
subclass "TEST-SF05" "SF05-2";
subclass "TEST-SF06" "SF06-2";
subclass "TEST-SF07" "SF07-2";
subclass "TEST-SF08" "SF08-2";
subclass "TEST-SF09" "SF09-2";
subclass "TEST-SF10" "SF10-2";
subclass "TEST-SF11" "SF11-2";
subclass "TEST-SF12" "SF12-2";
subclass "TEST-SF13" "SF13-2";
subclass "TEST-SF14" "SF14-2";
subclass "TEST-SF15" "SF15-2";

shared-network CPE-SUB16 {

    subnet 10.51.200.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.200.255;
        not authoritative;
        pool {
            allow members of "TEST-SF00";
            range 10.51.200.10 10.51.200.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.201.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.201.255;
        not authoritative;
        pool {
            allow members of "TEST-SF01";
            range 10.51.201.10 10.51.201.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.202.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.202.255;
        not authoritative;
        pool {
            allow members of "TEST-SF02";
            range 10.51.202.10 10.51.202.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.203.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.203.255;
        not authoritative;
        pool {
            allow members of "TEST-SF03";
            range 10.51.203.10 10.51.203.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.204.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.204.255;
        not authoritative;
        pool {
            allow members of "TEST-SF04";
            range 10.51.204.10 10.51.204.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.205.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.205.255;
        not authoritative;
        pool {
            allow members of "TEST-SF05";
            range 10.51.205.10 10.51.205.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.206.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.206.255;
        not authoritative;
        pool {
            allow members of "TEST-SF06";
            range 10.51.206.10 10.51.206.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.207.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.207.255;
        not authoritative;
        pool {
            allow members of "TEST-SF07";
            range 10.51.207.10 10.51.207.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.208.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.208.255;
        not authoritative;
        pool {
            allow members of "TEST-SF08";
            range 10.51.208.10 10.51.208.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.209.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.209.255;
        not authoritative;
        pool {
            allow members of "TEST-SF09";
            range 10.51.209.10 10.51.209.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.210.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.210.255;
        not authoritative;
        pool {
            allow members of "TEST-SF10";
            range 10.51.210.10 10.51.210.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.211.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.211.255;
        not authoritative;
        pool {
            allow members of "TEST-SF11";
            range 10.51.211.10 10.51.211.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.212.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.212.255;
        not authoritative;
        pool {
            allow members of "TEST-SF12";
            range 10.51.212.10 10.51.212.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.213.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.213.255;
        not authoritative;
        pool {
            allow members of "TEST-SF13";
            range 10.51.213.10 10.51.213.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.214.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.214.255;
        not authoritative;
        pool {
            allow members of "TEST-SF14";
            range 10.51.214.10 10.51.214.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }
    subnet 10.51.215.0 netmask 255.255.255.0 {
        option routers 10.51.30.1;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.51.215.255;
        not authoritative;
        pool {
            allow members of "TEST-SF15";
            range 10.51.215.10 10.51.215.40;
            default-lease-time 36000;
            max-lease-time 36000;
        }
    }


-----Original Message-----
From: Ted Lemon [mailto:mellon@nominum.com]
Sent: Thursday, July 19, 2001 1:48 AM
To: dhcp-client@isc.org
Subject: Re: IP Addresses & Names.... 


   *** From dhcp-client -- To unsubscribe, see the end of this message. ***


> I ask few questions and noone answer me back.

You haven't purchased a support contract, as far as I know, so answers
to your questions will come if someone has time, and it's not fair for
you to get indignant if nobody answers.

> I ask about if there some way to configure the DHCP server to give IP
> regarding the IP address of the name sent by the client excluding the
> way of get the hardware address (the ethernet address)...if there is
> some way I would like you to let me know, or at least that don't know.

There is no way to do this.   If you want to know why, please look in
the mailing list archives.

			       _MelloN_
-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------
-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic