This is a discussion on Assigning IP Range via First Half of MAC ( hardware ) Address within the Linux Networking forums, part of the Linux Forums category; Does anyone know if it is possible to assign a certain range of IP numbers to a certain range of ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
"Chad" <chad@techoptics.net> wrote in message news:1105574066.016790.58020@c13g2000cwb.googlegro 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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|