how to configure DHCP to working with 3 different Vlans?

Hi all
we are planning to devided our network to 3 VLANs firest one will include our servers and Domain controller . the second and the third will include the users and we will configure our core switch to route paths between them and configure Domain controller to see these new sites
the firest VLAN with IP range 10.10.10.0   subnet mask  255.255.255.0 ( for servers and it will be configured with static IPs )
the second VLAN with IP range 192.168.1.0  subnet mask  255.255.255.0
the third VLAN with IP range 192.168.2.0     subnet mask 255.255.255.0
so the quetion is how do I configure the Domain DHCP to work with 2 different VLANs and what is the configuration must I do to implement this task ?
asfourcrystalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Premkumar YogeswaranAnalyst II - System AdministratorCommented:
Hi,
PLace the DHCP Server in anyof the VLAN in your network.

Since you are having 3 networ you need 3 routers for that to interconnect the network

You need to configure the DHCP Relay agent in the router by mentioning the IP Address of the DHCP server.

So this will provide the IP Address from DHCP Server from different network.
0
tombourCommented:
For cisco equipment for example:

conf t
  int vlan 2
  ip helper-address <ip address of dhcp in vlan 1>
exit

conf t
  int vlan 3
  ip helper-address <ip address of dhcp in vlan1>
0
asfourcrystalAuthor Commented:
and if we talk about HP procurve 5400 core switch ?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

tombourCommented:
i have little to no experience with HP Switches, but should be very similar (you can always telnet to the switch and use the ? eh :))

http://www.gossamer-threads.com/lists/cisco/nsp/101416
0
leegclystvaleCommented:
You need to define the default gateway on the router interfaces. You may have 2 or more interfaces on your router ( i use Cisco 3750s as my core routing system with multiple interfaces)
I wouldrecommend the following (this depends on how you have your system setup but will serve for a flat network with vlan aware edge switches)
  • Management network as VLAN 1 (static addresses for switches and management devices)
  • Production network network VLAN 2 (static address for servers, DNS, DHCP, print server etc)
  • Other subnet as VLAN 3
  • Other subnet as VLAN 4
A)  - Firstly, you need to create your new Scopes on your DHCP server
  • On DHCP > Create new scope> VLAN  3 > IPAddress range = 192.168.1.1 to .250 (leave .254 for the default gateway and leave some for printers)
  • On the DHCP configuration, set the default gateway for the client as 192.168.1.254 and subnet mask as 255.255.255.0
  • On DHCP > Create new scope> VLAN 4 > Ip address range = 192.168.2.1 to .250
  • On the DHCP configuration, set the default gateway for the client as 192.168.2.254 and subnet mask as 255.255.255.0
B) - On your router you will need to define your VLANs
As above, for Cisco kit, telnet to the router
1) Type - config t
int VLAN 1
description Management vLAN
Ip address 10.10.?.254 255.255.255.0
ip helper-address 10.10.?.? (Your DHCP Server IP address)
2) type config t
int VLAN 2
description Production vLAN
Ip address 10.10.?.254 255.255.255.0
ip helper-address 10.10.?.? (Your DHCP Server IP address)
3) Type config t
int VLAN 3
description ???????????? vLAN
Ip address 192.168.1.254 255.255.255.0
ip helper-address 10.10.?.? (Your DHCP Server IP address)
4) Type config t
int VLAN 4
description ???????????? vLAN
Ip address 192.168.2.254 255.255.255.0
ip helper-address 10.10.?.? (Your DHCP Server IP address)
 Ensure your switch/router has IP routing enabled and ensure your firewall router points all traffic to the routers IP address for it to route etc
On the router you need to setup a trunk to your edge switches and setup the vlans on the switches. Then filter doewn the switch ports to allow certain VLANs only.
When the client send out a DHCP request, the router will know what interface that came in on, say VLAN 3, and will point you to the DHCP server. The returned server acknowledgement will routed back to that interface as the router knows what to do and will give the correct IP range. Clever stuff really :o)
Hope that helps. Any questions let me know. It would help further to know what kit you are using for this and how your system is setup.
~cheers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
leegclystvaleCommented:
The HP commands are similar so as suggested use the help within the telnet session.  The network suggestion above gives you directions on what to do, you just have to follow that using the HP syntax and it'll work fine.
~cheers
0
leegclystvaleCommented:
Hi, do you need any further help with this?
0
leegclystvaleCommented:
Hi Do you need any further help with this? Has it helped you?
 
 
0
leegclystvaleCommented:
I have taken a lot of my time and given a very comprehensive answer in order to help the poster. I wish I had had this type of information when I was looking to do the same thing.
Would recommend leaving this for others to benefit from even if the poster doesn't apprciate it.
"Mission is done"?????? Good job we don't keep our knowlegde to ourselves. Bit miffed to say the least as the poster hasn't even replied!
0
leegclystvaleCommented:
Sorry really haven't time to spend on this within timeframe. Do as you see fit, but I certainly wouldn't refund anything! Keep up the good work.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DHCP

From novice to tech pro — start learning today.