Share via


Send a diffrent default gateway address to a special user through DHCP On Windows Server 2008 R2

Question

Wednesday, November 21, 2012 11:28 PM

Hello Everybody.

Today i faced to a scenario about DHCP.

Is this possible on DHCP server (Which is on Windows Server 2008 R2) to send a different default gateway as everybody to a special client?

Maybe my mean is not clear. Then i explain it somehow:

We have a DHCS Server run. We want to send IP/Subnet/Default Gateway to every clients. Default gateway is the same for all users BUT i want to send a different default gateway to a special client.

Is there anyway? IF yes how?

Thanks all.

All replies (3)

Monday, November 26, 2012 3:35 AM âś…Answered

If it's a known machine, and you know its MAC address, you could create a DHCP reservation on the DHCP server, and specify a different Router option.

After creating the Reservation, expand the list in the left pane, right click the reservation, choose Configure Options, tick the box for 003 Router, and specify the different gateway address.

Nigel Benfell B.Sc. MCSA


Thursday, November 22, 2012 1:26 AM

I would maybe create a computer GPO that send a netsh commandlet.

Like netsh interface ip set address name="Local Area Connection" static IP MASK GATEWAY 

MCP | MCTS 70-236: Exchange Server 2007, Configuring

Twitter - @yagmoth555 ()
Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/


Thursday, November 22, 2012 9:12 AM

Thank you sir,i

Then you say i use a batch file on the suspect computer's startup to set the IP/Mask/Gateway ?

It's not from the DHCP itself! It's with another way... Is that possible to do this via DHCP?

Because the way that you said will work on domain networks! Imagine this on a WorkGroup!

Thanks,