Link to home
Start Free TrialLog in
Avatar of jgilmour
jgilmour

asked on

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

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
Avatar of Pber
Pber
Flag of Canada image

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
Avatar of jgilmour
jgilmour

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Pber
Pber
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial