Skip to main content

Win 2003 dynamic IPs for multiple subnets

More
16 years 9 months ago #25012 by saidfrh
What is the procedure to assign dynamic IPs for multiple subnets-VLANs using Win 2003 server?

Thanks.
Said
More
16 years 9 months ago #25013 by S0lo
Enable the DHCP service in your Win 2003 server. You need a separate server for each VLAN. Or at least a DHCP relay agent on every VLAN that does not have a DHCP server. Then you should link each relay agent with the Win 2003 server. More:

www.computerperformance.co.uk/w2k3/services/DHCP_Home.htm

Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
More
16 years 9 months ago #25014 by KiLLaBeE
I might have missed this while playing with DCHP in the past (or maybe I'm asking the wrong question because I'm missing a vital piece of information), but how will the DHCP server know that computers in VLAN A should receive IP addresses in the range of 192.168.1.50 to 192.168.1.100 whereas computers in VLAN B should receive IP addresses in th range of 192.168.2.100 to 192.168.2.150? Obviously, scopes would need to be setup for these different ranges, but how will the DHCP server know to give out the correct IP address to an arbitrary machine (i.e.: that the DHCP server should give machine A an IP address from scope A rather than giving it an IP address from scope B? Is this something that is configured in the DHCP options or scope options? I'm sure reservations could be setup for smaller networks but don't think it would be efficient for larger networks.

thanks
More
16 years 9 months ago #25016 by Elohim
I believe the DHCP server will assign an IP address from the scope that is associated with the relay agent. For example. if the relay agent is at 192.168.1.1, the DHCP server will look at the scope defined for 192.168.1.0 and assign an IP address out of that scope.

I might have missed this while playing with DCHP in the past (or maybe I'm asking the wrong question because I'm missing a vital piece of information), but how will the DHCP server know that computers in VLAN A should receive IP addresses in the range of 192.168.1.50 to 192.168.1.100 whereas computers in VLAN B should receive IP addresses in th range of 192.168.2.100 to 192.168.2.150? Obviously, scopes would need to be setup for these different ranges, but how will the DHCP server know to give out the correct IP address to an arbitrary machine (i.e.: that the DHCP server should give machine A an IP address from scope A rather than giving it an IP address from scope B? Is this something that is configured in the DHCP options or scope options? I'm sure reservations could be setup for smaller networks but don't think it would be efficient for larger networks.

thanks

More
16 years 9 months ago #25017 by skepticals
Yes, in Windows 2003 server, you just have to create the various scopes for each subnet and then configure the DCHP relay on the switch (at least I did on my Cisco switches). The server will just assign an address from the correct scope.
More
16 years 9 months ago #25021 by sp1k3tou
1. Create the different scopes for your vlans on your win2k3 server
2. Activate the scopes
3. Add IP helper on each one of your vlans on your router to point to the ip address of the dhcp server
Time to create page: 0.131 seconds