I'm maintaining a linux server which servers more than 100 peoples. I'd like to add dhcpd service to all users.
The server has 3 nic, the ip address is:
1. private IP: 109.10.X.X
2. private IP: 192.168.1.1
3. public IP: 202.X.X.X
I'd like to provide the following dhcpd services:
1. dhcpd on 1 and 2 nic, but not on 3.
2. fixed ip for 109.10 network by host name and workgroup name, the host name may be same for different workgroup
3. dynamic ip for 192.168.1, this is for customers' laptop so they can access internet.
I'm new to dhcpd and linux, would you like to give me a sample dhcpd.conf so I do not need to try by myself? or at least a sample for the 3 conditions.
How can I config the dhcpd.conf?