Networking Forums

Networking Forums > Computer Networking > Linux Networking > Assigning IP Range via First Half of MAC ( hardware ) Address

Reply
Thread Tools Display Modes

Assigning IP Range via First Half of MAC ( hardware ) Address

 
 
Chad
Guest
Posts: n/a

 
      01-12-2005, 10:54 PM
Does anyone know if it is possible to assign a certain range of IP
numbers to a certain range of MAC addresses? I'm not sure if this is
possible but I don't see why it wouldn't be. I need to do it so that I
can have my IP Phones on a different scope than my PC's. I don't wanna
manually enter them as reservec clients as this would take forever.
Thanks,
Chad

 
Reply With Quote
 
 
 
 
prg
Guest
Posts: n/a

 
      01-13-2005, 03:09 AM

Chad wrote:
> Does anyone know if it is possible to assign a certain range of IP
> numbers to a certain range of MAC addresses? I'm not sure if this is
> possible but I don't see why it wouldn't be. I need to do it so that

I
> can have my IP Phones on a different scope than my PC's. I don't

wanna
> manually enter them as reservec clients as this would take forever.
> Thanks,
> Chad


I started to respond earlier till I realized that I had no way of
finding out how your IP phones are connected (ethernet, wireless?),
what brand/model phone you have, and what if anything the maker reveals
about its initializtion process. It sounds like -- but you don't say
-- that you are trying to use dhcp to _assign_ them IPs. Is it even
possible? Or are you trying to _avoid_ assigning to other, dynamically
assigned, nics the IPs used by the IP phones?

If -- a big if -- you are assigning the phones dynamic IPs via dhcp,
then the _phone_ must send the dhcp server some kind of
client-identifier. The phone may do this already. Check the phones
docs for what they send in a lesae request. No docs? Sniff the wire
and read the packets. What are they sending that would identify them?

Read the man pages for all the dhcp related entries. Things like:
dhcpd
dhcpd.conf
dhclient
dhclient.conf
dhcpcd
dhcpcd.conf
dhcp-options

Which ones you have will depend on your distro and what dhcp software
you are running. I use ISC software, so ymmv.

Once you have an identifier that will work use a class statement (or
equivalent) together with a match expression in the dhcpd.conf. This
can be made to work in the second case mentioned above also.
hth,
prg
email above disabled

 
Reply With Quote
 
David Schwartz
Guest
Posts: n/a

 
      01-13-2005, 04:48 PM

"Chad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...

> Does anyone know if it is possible to assign a certain range of IP
> numbers to a certain range of MAC addresses? I'm not sure if this is
> possible but I don't see why it wouldn't be. I need to do it so that I
> can have my IP Phones on a different scope than my PC's. I don't wanna
> manually enter them as reservec clients as this would take forever.


Your question is really vague. What does this have to do with Linux? Is
your question about configuring a DHCP server?

DS


 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-14-2005, 10:44 PM
Chad wrote:

> Does anyone know if it is possible to assign a certain range of IP
> numbers to a certain range of MAC addresses? I'm not sure if this is
> possible but I don't see why it wouldn't be. I need to do it so that I
> can have my IP Phones on a different scope than my PC's. I don't wanna
> manually enter them as reservec clients as this would take forever.
> Thanks,
> Chad


Many NICs support locally assigned addresses. You can put what you want in
them, provided each one is unique on the local network. Incidentally, IPv6
uses the MAC address, to provide part of the IP.

 
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
Command for assigning IPv6 address and MAC address on the interface iceman Linux Networking 7 03-03-2008 07:51 PM
Assigning Invalid IP address??? Bonnie. Wireless Networks 5 01-25-2007 07:17 PM
Assigning a range for proxying in a NAT server? Elf M. Sternberg Linux Networking 0 06-06-2006 10:57 PM
Assigning IP Range to Wildcard MAC-Adresses with ISC dhcpd Robert Braeutigam Linux Networking 2 03-11-2005 10:17 AM
half mile range SOUND Wireless Internet 6 12-15-2003 01:30 AM



1 2 3 4 5 6 7 8 9 10 11