Networking Forums

Networking Forums > Computer Networking > Linux Networking > Assigning IP Range to Wildcard MAC-Adresses with ISC dhcpd

Reply
Thread Tools Display Modes

Assigning IP Range to Wildcard MAC-Adresses with ISC dhcpd

 
 
Robert Braeutigam
Guest
Posts: n/a

 
      03-10-2005, 10:23 AM
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
 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      03-10-2005, 07:01 PM

Robert Braeutigam wrote:
> 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

?

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:
http://default.co.yu/~bc/rtfm/index....and=&display=D

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:
http://default.co.yu/~bc/rtfm/index....and=dhcpd.conf

conditional evaluation dicussion (maybe more than you need):
http://default.co.yu/~bc/rtfm/index....mand=dhcp-eval

complete list of option statements:
http://default.co.yu/~bc/rtfm/index....d=dhcp-options

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
device)?
-- 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.

hth,
prg

 
Reply With Quote
 
Robert Braeutigam
Guest
Posts: n/a

 
      03-11-2005, 10:17 AM
"prg" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed) roups.com>...

> 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:
> http://default.co.yu/~bc/rtfm/index....and=&display=D


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


> 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
> device)?


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
network.

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

Ciao,
Robert
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a range for proxying in a NAT server? Elf M. Sternberg Linux Networking 0 06-06-2006 10:57 PM
Assigning IP Range via First Half of MAC ( hardware ) Address Chad Linux Networking 3 01-14-2005 10:44 PM
Wildcard SSL certificate Scott Lowe Windows Networking 0 11-03-2004 03:21 PM
assigning multiple IP address to one interface via dhcpd Nejat AYDIN Linux Networking 4 06-07-2004 12:26 AM
dhcpd: Assigning address to dual boot machine Todd Aiken Linux Networking 0 08-10-2003 05:31 AM



1 2 3 4 5 6 7 8 9 10 11