dhcp

 




[root@falcon21 ~]# yum -y install dhcp



[root@falcon21 ~]# vi /etc/dhcp/dhcpd.conf

#

# DHCP Server Configuration file.

# see /usr/share/doc/dhcp*/dhcpd.conf.sample

# see 'man 5 dhcpd.conf'

#



subnet 192.168.2.0 netmask 255.255.255.0 {

range 192.168.2.103 192.168.2.254;

option routers 192.168.2.1;

option domain-name-servers 192.168.2.1;

}



------------------------------



[root@falcon21 ~]# /etc/rc.d/init.d/dhcpd start

dhcpd を起動中: [ OK ]

[root@falcon21 ~]# chkconfig dhcpd on

投票数:1 平均点:10.00

 
Back to Top