Solved

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

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 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