LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp relay and dhcpd.conf (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-relay-and-dhcpd-conf-915557/)

jlregister 11-25-2011 05:27 PM

dhcp relay and dhcpd.conf
 
I need to setup a dhcp server for several subnets. The core switch supports dhcp relay and has VLAN support. What should I do so that all workstations can receive ip config from the dhcp server? I've segment to network into 7 subnets with each of them connecting to a single port on the switch.

These are what I'm going to do:

1. enable dhcp relay on the core switch;

2. tag the ports on the switch with the VLAN id corresponding to the connecting subnets;

3. setup static routes on switch;

3. config dhcpd.conf on the dhcp server. This is what I'm stuck with. What are some of the options I have to put in dhcpd.conf for relay to work? If possible, can someone please post me a sample so that I can follow?

Thank you....

acid_kewpie 11-26-2011 11:42 AM

you just define the additional ranges, you don't need to enable them as anything special to relay them. The relay bootp request defines what subnet the request is for, so it just goes on that.


All times are GMT -5. The time now is 08:00 PM.