#yum install dhcp* -y
# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
cp: overwrite `/etc/dhcp/dhcpd.conf'? yes
#vim /etc/dhcp/dhcpd.conf
47 subnet 192.168.0.0 netmask 255.255.255.0 {
48 range 192.168.0.3 192.168.0.254;
49 option domain-name-servers station1.example.com;
50 option domain-name "station1.example.com";
51 option routers 192.168.0.1;
52 option broadcast-address 10.5.5.31;
53 default-lease-time 600;
54 max-lease-time 7200;
55 }
Read More
# cp /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample /etc/dhcp/dhcpd.conf
cp: overwrite `/etc/dhcp/dhcpd.conf'? yes
#vim /etc/dhcp/dhcpd.conf
47 subnet 192.168.0.0 netmask 255.255.255.0 {
48 range 192.168.0.3 192.168.0.254;
49 option domain-name-servers station1.example.com;
50 option domain-name "station1.example.com";
51 option routers 192.168.0.1;
52 option broadcast-address 10.5.5.31;
53 default-lease-time 600;
54 max-lease-time 7200;
55 }
Read More
0 comments:
Post a Comment
Attention: Please don't use spammy comments here. else ur comment will be remove automatically. Thank you.