Tuesday, January 08, 2013 4:04 AM
I need help or suggestion . I realised my dhpc server is running out of IPs . The culprit are the LAN & wireless card both are getting IPs from my dhcp server and consumed all my IPs . Is there anyway for dhcp to detect it is wireless connection and issue with less leased time ? or detect it is same NB and used back same IPs ? or scripts to run to savage back the non active IPs ?
1)I can't expand the scope anymore .
2)Wireless & NIC IPs must be in same subnet
thanks v much for help
- Moved by Jeremy_WuMicrosoft Contingent Staff, Moderator Tuesday, January 08, 2013 5:09 PM More appropriate (From:General)
Tuesday, January 08, 2013 9:39 AM
You can try Use LAN only when connected to wired and wirelss
This step assumes Windows 2003/2008 is your DHCP server for your Wireless network. Raising the wireless gateway metric to a value greater than your LAN metric will force traffic to use the lower metric.
a) Right click Scope Options on your wireless scope and choose "Configure Options".
b) Click "Advanced" tab.
c) For Vendor Class, choose "Microsoft Windows 2000 Options"
d) Put a check in "003 Microsoft Default Router Metric Base"
e) Set a value fit for your situation. I use 0x1f4 which gives it a metric of 525, which is higher than all other network metrics we use.
You can repeat the above steps for all your WIRED scopes, giving them a value of 0 for the metric. This is the BASE VALUE of 10. This is only needed IF your base value is greater than 10 (you can see the value by running "route print" from the command line).
For more information, see http://technet.microsoft.com/en-us/library/cc782411%28WS.10%29.aspx, do a search on page for "default router metric base".
- Proposed As Answer by Aaron Oon Tuesday, January 08, 2013 9:40 AM
Wednesday, January 09, 2013 9:57 AMModerator
We can set Class ID for the wireless clients. And in DHCP Server, we can specialize the lease duration for this User Class within the same DHCP Scope.
However, if it is difficult or impossible to configure Class ID for your wireless clients, you may need to setup a special DHCP relay agent.
Hope this helps.
TechNet Community Support