Possible Duplicate:
Can I have multiple DHCP servers on one network?
This is a very old question i guess.In this forum itself it has been answered in Multiple VLANs, multiple subnets, single DHCP server?.That is done on using the Helper options of Cisco router. But in my case we are not using the Cisco router.
In my ubuntu machine i have set 3 VLANs with id's 3,4,5.I wanted to provide them with the IP addresses through dhcp server.But i have a doubt related to the concept as well as the implementation.Normally a dhcp server will be configured with one interface (say eth0 )with a particular IP address say of 192.168.0.100.So if a client requires IP, it will send dhcp requests to that server and the server also identifies that the request is from that subnetwork, and provides an appropriate IP from the same subnetwork.(say 192.168.0.20)
But if many VLAN interfaces are there and requesting for IP address, how the Server will differentiate that the dhcp request is from this particular VLAN and provide the IP from the corresponding subnetwork range.
I heard that we should create the VLANs on the dhcp-server.Can anyone please throw some light on method, the concept as well as the implementation?