Solved

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

Posted on 2006-06-30
5
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 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