Solved

Automated DHCP Addition based upon hostname, but added security so not just anyone can join?

Posted on 2006-06-30
5
208 Views
Last Modified: 2010-03-18
Hi,
Right now we use microsoft's dhcp server to add a user to the dhcp server based upon the mac address. But this is repetitive and tedious and when users switch over, the dhcp info has to be updated and moved around if users switch workstations.
I was wondering if there are any solutions out there that would allow us to automatically add a user to the dhcp list based upon the current hostname of the computer, but incorporate some sort of security, so if some guest just plugged into the network, they wouldnt be assigned an ip, yet an authenticated user (maybe by ways of AD) would be added.

Thanks,
- Josh
0
Comment
Question by:jgilmour
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Pber
ID: 17019313
Going through the GUI can be a little slow.  You can script it out using netsh...

netsh dhcp server \\servername scope 192.168.0.0 add reservedip 192.168.0.50  08002b30369B

you can put it in a batch like

rem addres.bat
netsh dhcp server \\servername scope %1 add reservedip %2 %3

then do a:
c:\addres 192.168.0.0 192.168.0.5 08002b30369B
0
 
LVL 1

Author Comment

by:jgilmour
ID: 17019459
We were looking for an application that would simplify the process and make it more automatic instead of having someone type something in each time. I appreciate the fast response tho.
0
 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 17019500
DHCP is pretty stupid and it just hands out IP...  You would probably need a NAC (Network Access Control) or Quaranteening type solution to provide the security you want.

If you had a small shop, what you could do is define a small DHCP scope (enough to cover all the machines you have) and define all available IP with a reserved ip.  This would prevent unknown NICS from obtaining an IP.

Of course a rogue DHCP server would circumvent that.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now