Options

Question about DHCP Reservations

Mmartin_47Mmartin_47 Member Posts: 430
Was watching the CBT Nuggets for 291. James states that reservations can be useful to assign the same IP to the same server/client/printer whatever based on its MAC address.

Question is say I have 50 servers and want to use reservations so I don't have to configure each server individually and so the other options are configured such as DNS, router, etc.

Is it possible to pull all the MAC addresses connected to the network so I can make reservations? How is that done?

Comments

  • Options
    dave0212dave0212 Member Posts: 287
    I think the easiest way would be to ping the IP's and check your local MAC Table
    This week I have achieved unprecedented levels of unverifiable productivity


    Working on
    Learning Python and OSCP
  • Options
    Mmartin_47Mmartin_47 Member Posts: 430
    dave0212 wrote:
    I think the easiest way would be to ping the IP's and check your local MAC Table

    Yeah I was thinking that's the only way? Dang having 50 servers... Going to take me a while!
  • Options
    mariegeniamariegenia Member Posts: 27 ■□□□□□□□□□
    Another option is to use a SW that you can download from
    http://find-mac-address.uptodown.com/

    The SW is called: FIND MAC ADRESS
    I've never used, so be carefull... but it seems that could help you!

    Good luck!
    working on 70-291

    70-290
  • Options
    SlowhandSlowhand Mod Posts: 5,161 Mod
    You're going to find that dealing with MAC addresses is going to be a tedious chore at first. There is no "easy" way to get them from devices, not the same automated way you can find IP addresses and device names. As you work and you dig a little deeper into the networking-end of things, (as you're doing now with 70-291,) you'll get used to cataloging your devices as you get to them. The more you work, the more you'll find uses for MAC addresses, so you'll definitely grow accustomed to noting them the same way you do IP addresses now. Soon enough, pulling a MAC address will be as natural as getting a serial number or model number from a computer.

    (Never stops being a pain in the ass, just less so as time passes. icon_lol.gif )

    Free Microsoft Training: Microsoft Learn
    Free PowerShell Resources: Top PowerShell Blogs
    Free DevOps/Azure Resources: Visual Studio Dev Essentials

    Let it never be said that I didn't do the very least I could do.
  • Options
    bwcartybwcarty Member Posts: 422 ■■■□□□□□□□
    Angry IP Scanner can ping a range of IP addresses and report their mac addresses quickly. The MAC address column isn't enabled by default - you have to check it under Options > Select Columns.
    http://www.angryziber.com/w/Home

    Somewhat less convenient would be to use a script to use the getmac command on each of your hosts:
    getmac /s system
    Help eradicate blood cancers with a donation to the Leukemia & Lymphoma Society.
  • Options
    NetAdmin2436NetAdmin2436 Member Posts: 1,076
    I like LanSpy, it worked wonders.

    http://lantricks.com/
    WIP: CCENT/CCNA (.....probably)
  • Options
    SlowhandSlowhand Mod Posts: 5,161 Mod
    Well, looks like I was wrong about the automation part, judging by the last two posters. Still, it takes a little while before you close down a scanning tool and don't swear a little because you printed out all the IPs, but not the MAC addresses. icon_lol.gif

    Free Microsoft Training: Microsoft Learn
    Free PowerShell Resources: Top PowerShell Blogs
    Free DevOps/Azure Resources: Visual Studio Dev Essentials

    Let it never be said that I didn't do the very least I could do.
  • Options
    Tyrant1919Tyrant1919 Member Posts: 519 ■■■□□□□□□□
    I use angry IP scanner for a range of IPs. Or nbtstat -a/A to get a single MAC.
    A+/N+/S+/L+/Svr+
    MCSA:03/08/12/16 MCSE:03s/EA08/Core Infra
    CCNA
  • Options
    SieSie Member Posts: 1,195
    Once you have your list why not use netsh in a script such as the one mentioned here?

    http://cwashington.netreach.net/depo/view.asp?Index=983

    Or here?

    http://www.thegeeksweek.com/blog/scripting-windows-2003-dhcp-server-configuration.html
    Foolproof systems don't take into account the ingenuity of fools
  • Options
    Mmartin_47Mmartin_47 Member Posts: 430
    Well these are all excellent solutions! Sorry for late reply but thanks. Don't even have to break a sweat with those programs. =)
Sign In or Register to comment.