Solved

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

Posted on 2006-06-30
5
209 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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access shared drive during VPN session 9 101
Lost hyper V virtual network 1 44
DHCP setup on Windows Server 2012 11 156
How To Allow IIS 10 Anonymous Permissions 3 17
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
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, f…

864 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

23 Experts available now in Live!

Get 1:1 Help Now