Dhcp server setup
When you build up your home LAN, you probably want to use dhcp server. If you have not installed dhcp daemon, install it. Normaly, dhcp daemon is not installed automaticaly.
Then edit the dhcpd.conf in /etc as following.
you use the Redhat Ver8.0 then add a line else you don't need
domain-name-servers 184.108.40.206, 220.127.116.11;
You have IP addresses of primay domain and secondary domain provided by your ISP. Write them to this line.
Write your domain name.
Write subnet mask.
Write maximum number of your LAN address.
Write the address of router.
Designate the default lease time by second.
Designate the maximum lease time by second.
192.168.0.0 netmask 255.255.255.0
range 192.168.0.128 192.168.0.253;
Write your LAN address then designate the raange of address which you atempt to lease.
hardware ethernet 00:10:A4:8A:C5:58;
When you want to specify the fixed address to paricure machine, write the IP address with MAC address.
Normary, that's all.
18.104.22.168 netmask 255.255.252.0
When you setup your mchine as a router, write the WAN address without range.
After save the file, open Service Configureation GUI and check mark dhcpd then save and start it. Lease history is written in /var/lib/dhcp/dhcpd.leases, confirm it.