+ Post New Thread
Results 1 to 12 of 12
Windows Server 2008 R2 Thread, DHCP Reservation by computer name rather than MAC? in Technical; We would like to setup a new IP plan that shows so we know the ip address depending on the ...
  1. #1

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11

    DHCP Reservation by computer name rather than MAC?

    We would like to setup a new IP plan that shows so we know the ip address depending on the room number.

    We are also trying to avoid going with static IP addresses.

    Is it possible to create DHCP reservations depending on the computer name?

    This would mean that if a computer were moved we wouldnt have to log into the server to change its IP.

    Thanks.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,610
    Thank Post
    730
    Thanked 1,688 Times in 1,502 Posts
    Rep Power
    433
    Unfortunately no.

    Ben

  3. #3

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    9,473
    Thank Post
    633
    Thanked 2,118 Times in 1,454 Posts
    Blog Entries
    19
    Rep Power
    882
    Why not do the reservations by MAC address?

  4. #4

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,610
    Thank Post
    730
    Thanked 1,688 Times in 1,502 Posts
    Rep Power
    433
    So am I thinking you want to do something like:

    Reserve 30 IP's for all machines names starting with 01
    Reserve 30 IP's for all machines names starting with 02

    PC exists as 01-01 give it an ip from the first block.

    PC is moved and renamed 02-29 change it's ip to be from the second block.

    ????

    Ben

  5. #5

    Join Date
    Dec 2009
    Posts
    914
    Thank Post
    98
    Thanked 184 Times in 159 Posts
    Rep Power
    54
    Quote Originally Posted by X-13 View Post
    Why not do the reservations by MAC address?
    If the network was VLAN'd that wouldnt work as you'd be reserving the MAC address in one VLAN, move the machine and the MAC address stays the same but there is no reservation. At least with the machine name it could change meaning it could work across any VLAN.......all assuming the network in question is VLAN'd.

  6. #6

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    9,473
    Thank Post
    633
    Thanked 2,118 Times in 1,454 Posts
    Blog Entries
    19
    Rep Power
    882
    Quote Originally Posted by RTFM View Post
    If the network was VLAN'd that wouldnt work as you'd be reserving the MAC address in one VLAN, move the machine and the MAC address stays the same but there is no reservation. At least with the machine name it could change meaning it could work across any VLAN.......all assuming the network in question is VLAN'd.
    I realised that after I'd said it.

    But, I went to lunch and stopped thinking about it.

  7. #7

    Join Date
    Dec 2009
    Posts
    914
    Thank Post
    98
    Thanked 184 Times in 159 Posts
    Rep Power
    54
    Quote Originally Posted by X-13 View Post
    I realised that after I'd said it.

    But, I went to lunch and stopped thinking about it.
    In fairness it could be a totally flat network, so i could be totally wrong and MAC address would be fine ^_^

  8. #8

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    Quote Originally Posted by plexer View Post
    So am I thinking you want to do something like:

    Reserve 30 IP's for all machines names starting with 01
    Reserve 30 IP's for all machines names starting with 02

    PC exists as 01-01 give it an ip from the first block.

    PC is moved and renamed 02-29 change it's ip to be from the second block.

    ????

    Ben
    Yep that is correct.

    It is VLANd but this isnt the reason.

    There are two reasons for it.

    A: The manager likes to move PC's when one is broken buto doesnt change the IP. So when you replace the moved PC and set the IP up you then have a conflict. No matter how many times you explain.

    B: Makes everything easier and less complicated.

  9. #9

    Join Date
    Dec 2009
    Posts
    914
    Thank Post
    98
    Thanked 184 Times in 159 Posts
    Rep Power
    54
    Quote Originally Posted by dany2010 View Post
    A: The manager likes to move PC's when one is broken buto doesnt change the IP. So when you replace the moved PC and set the IP up you then have a conflict. No matter how many times you explain.
    You'd only have to do this if they were on a fixed IP....why put every machine onto a fixed IP?

    Quote Originally Posted by dany2010 View Post
    B: Makes everything easier and less complicated.
    DHCP is the easiest and least complicated method surely?

    Put a small number of IP's in each VLAN which arent issued through DHCP and if you need any machines on a fixed IP put them on one of those (at least, thats how we do it.....).

  10. #10

    Join Date
    Nov 2011
    Posts
    628
    Thank Post
    87
    Thanked 21 Times in 19 Posts
    Rep Power
    11
    AB control seems to have problems with DHCP for some reason so I'm hoping using reservations means the ip won't change and all will be good.

  11. #11
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,993
    Thank Post
    120
    Thanked 286 Times in 263 Posts
    Rep Power
    108
    Quote Originally Posted by dany2010 View Post
    AB control seems to have problems with DHCP for some reason so I'm hoping using reservations means the ip won't change and all will be good.
    You might wants to check your DNS scavenging for this issue.

  12. #12

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    We used to run our own MYSQL DB with a web front end,

    The DB had MAC, Room, IP, Machine Name,

    A script checked a flag file every minuet for changess and if it found a change it rewrote the DHCP config.

    Worked very well for a number of years.

    Rob

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 10
    Last Post: 24th January 2012, 12:19 PM
  2. link in a php page sends the .php rather than the .pdf which is linked (ffox on Mac)
    By RabbieBurns in forum Internet Related/Filtering/Firewall
    Replies: 12
    Last Post: 31st July 2011, 01:01 PM
  3. DNS - can't ping by computer name
    By SimpleSi in forum Windows
    Replies: 15
    Last Post: 29th September 2006, 02:42 PM
  4. BSF - or outsourcing by another name
    By broc in forum General Chat
    Replies: 79
    Last Post: 6th July 2006, 03:47 PM
  5. MAC Addresses and Computer Names
    By mattpant in forum Wireless Networks
    Replies: 4
    Last Post: 29th October 2005, 05:58 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •