RH401: Set up and configure DHCP

[root@satellite ~]# yum -y install dhcp
[root@satellite ~]# chkconfig dhcpd on
[root@satellite ~]# cp -f /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
cp: overwrite `/etc/dhcp/dhcpd.conf'? y



just add something that's very basic for now:

[root@satellite ~]# vi /etc/dhcp/dhcpd.conf
...
subnet 192.168.200.0 netmask 255.255.255.0 {

}
...
[root@satellite ~]# service dhcpd start
Starting dhcpd:                                            [  OK  ]

add configuration directives (look at the examples), and bounce dhcpd.

No comments:

Post a Comment