码迷,mamicode.com
首页 > 其他好文 > 详细

dhcp搭建

时间:2021-02-20 12:34:38      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:nbsp   local   oca   har   config   rgb   range   cas   iso   

[root@op-benchmark-216 ~]# cat /etc/dhcp/dhcpd.conf
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "dhcp";
option domain-name-servers 8.8.8.8;
default-lease-time 432000;
max-lease-time 432001;

log-facility local7;

subnet 172.18.14.0 netmask 255.255.255.0 {
  range 172.18.14.14 172.18.14.56;
  option domain-name-servers 8.8.4.4;
  option domain-name "dhcp";
  option routers 172.18.14.1;
  option broadcast-address 172.18.14.255;
default-lease-time 432000;
max-lease-time 432001;
}

subnet 172.18.232.0   netmask 255.255.255.0 {
  range 172.18.232.2 172.18.232.248;
  option domain-name-servers 8.8.4.4;
  option domain-name "dhcp";
  option routers 172.18.232.254;
  option broadcast-address 172.18.232.255;
  default-lease-time 432000;
max-lease-time 432001;
}
subnet 172.18.233.0   netmask 255.255.255.0 {
  range 172.18.233.12 172.18.233.248;
  option domain-name-servers 8.8.4.4;
  option domain-name "dhcp";
  option routers 172.18.233.254;
  option broadcast-address 172.18.233.255;
 default-lease-time 259200;
max-lease-time 259201;
}

subnet 172.18.234.0   netmask 255.255.255.0 {
  range 172.18.234.2 172.18.234.248;
  option domain-name-servers 8.8.4.4;
  option domain-name "dhcp";
  option routers 172.18.234.1;
  option broadcast-address 172.18.234.255;
  default-lease-time 432000;
   max-lease-time 432001;
   authoritative;    #申明权威子网
}

subnet 172.18.236.0   netmask 255.255.255.0 {
  range 172.18.236.2 172.18.236.248;
  option domain-name-servers 8.8.4.4;
  option domain-name "dhcp";
  option routers 172.18.236.1;
  #option broadcast-address 172.18.236.255;
  default-lease-time 432000;
max-lease-time 432001;
}
host Client {  
hardware ethernet 00:0c:29:e5:65:4e;
fixed-address 172.18.236.23; 
}


host defu{
hardware ethernet B4:2E:99:6D:32:F8;
fixed-address 172.18.236.20;
}

host qq1{
hardware ethernet 88:BF:E4:9E:4D:9A;
fixed-address 172.18.233.149;
}

host tyler{
hardware ethernet 14:16:9E:3D:92:4B;
fixed-address 172.18.242.126;
}


host qq2{
hardware ethernet 38:f9:d3:3b:35:59;
fixed-address 172.18.233.70;
}

host qq3{
hardware ethernet a8:9c:ed:27:bc:3f;
fixed-address 172.18.233.242;
}

host qq4{
hardware ethernet 24:da:33:be:12:5e;
fixed-address 172.18.233.64;
}

host jsboyce{
hardware ethernet b4:2e:99:65:3a:2d;
fixed-address 172.18.234.221;
}

host mason1{
hardware ethernet E4:B9:7A:F7:37:25;
fixed-address 172.18.234.179;
}

host mason2{
hardware ethernet 88:bf:e4:a0:11:7d;
fixed-address 172.18.233.182;
}

host mason3{
hardware ethernet 68:a0:3e:44:da:a2;
fixed-address 172.18.233.134;
}

host frank1{
hardware ethernet f0:18:98:ed:1e:c5;
fixed-address 172.18.234.105;
}

host frank2{
hardware ethernet 88:10:8f:ee:5c:4b;
fixed-address 172.18.233.142;
}

host frank3{
hardware ethernet 14:c6:97:a7:ee:a7;
fixed-address 172.18.233.129;
}

host frank4{
hardware ethernet 38:f9:d3:18:65:bb;
fixed-address 172.18.233.48;
}

host tan{
hardware ethernet 14:16:9e:3d:94:fd;
fixed-address 172.18.233.73;
}

host parker1{
hardware ethernet A8:5E:45:2D:3E:7B;
fixed-address 172.18.240.33;
}

host parker2{
hardware ethernet 88:f5:6e:4c:9a:3c;
fixed-address 172.18.233.191;
}

host clark1{  
hardware ethernet E4:54:E8:5A:CC:2C;
fixed-address 172.18.234.62;
}   


host branch{  
hardware ethernet B4:2E:99:69:3B:3D;
fixed-address 172.18.234.135;
}   


host warm{  
hardware ethernet 68:a0:3e:44:07:85;
fixed-address 172.18.233.239;
}   


host tyler1{  
hardware ethernet B4:2E:99:5C:3F:8D;
fixed-address 172.18.236.32;
}   


host ackerly{
hardware ethernet  B4:2E:99:6D:01:BF;
fixed-address 172.18.236.15;
}

host suza1{
hardware ethernet  24:2e:02:c3:37:05;
fixed-address 172.18.233.168;
}

host suza2{
hardware ethernet  ec:56:23:1b:8d:71;
fixed-address 172.18.233.11;
}

host suza3{
hardware ethernet  B4:2E:99:6D:AE:BE ;
fixed-address 172.18.234.92;
}

host cake{
hardware ethernet D0:81:7A:D9:14:4D;
fixed-address 172.18.234.17;
}

host wells{
hardware ethernet A4:83:E7:BB:4F:0C;
fixed-address 172.18.233.226;
}

host mattin{
hardware ethernet D0:81:7A:D5:9F:C7;
fixed-address 172.18.234.100;
}

host benjamin{
hardware ethernet D0:81:7A:D6:5E:1F;
fixed-address 172.18.234.106;
}

host allison{
hardware ethernet A4:83:E7:5D:0F:D2;
fixed-address 172.18.233.125;
}

host aini{
hardware ethernet D0:81:7A:D8:FB:1D;
fixed-address 172.18.234.85;
}

host catti{
hardware ethernet 04:D4:C4:ED:C3:32;
fixed-address 172.18.240.49;
}

host cara{
hardware ethernet D0:81:7A:D9:0E:AB;
fixed-address 172.18.234.21;
}

host dk{
hardware ethernet D0:81:7A:D5:23:6C;
fixed-address 172.18.240.48;
}

host yone{
hardware ethernet D0:81:7A:D5:28:41;
fixed-address 172.18.234.43;
}

host tinaci{
hardware ethernet D0:81:7A:D5:0A:E3;
fixed-address 172.18.234.24;
}


host iris{
hardware ethernet D0:81:7A:D5:03:E3;
fixed-address 172.18.234.23;
}


host nene{
hardware ethernet B8:85:84:C0:81:8F;
fixed-address 172.18.234.43;
}

host tecca{
hardware ethernet D0:81:71:D5:96:BB;
fixed-address 172.18.234.61;
}


host merlin{
hardware ethernet 38:F9:D3:EA:BE:78;
fixed-address 172.18.242.134;
}



host Catti{
hardware ethernet d0:81:7a:d8:40:83;
fixed-address 172.18.234.238;
}

host tedy-u3d{
hardware ethernet 38:f9:d3:37:f1:57;
fixed-address 172.18.233.168;
}


host velo{
hardware ethernet f0:18:98:e8:17:1a;
fixed-address 172.18.234.47;
}


host clark{
hardware ethernet 24:31:54:ed:4b:d2;
fixed-address 172.18.233.93;
}


host allison1{
hardware ethernet d0:81:7a:d6:d5:71;
fixed-address 172.18.234.237;
}

host allison2{
hardware ethernet 48:3f:e9:7c:37:74;
fixed-address 172.18.242.152;
}

host wyatt{
hardware ethernet B4:2E:99:65:39:C6;
fixed-address 172.18.240.34;
}


#host tyler-1{
#hardware ethernet B4:2E:99:5C:3F:8D;
#fixed-address 172.18.240.9;
#}

host tyler-2{
hardware ethernet B4:2E:99:5C:40:9C;
fixed-address 172.18.240.19;
}

host tyler-3{
hardware ethernet 14:16:9E:3D:92:4B;
fixed-address 172.18.233.53;
}

host tyler-4{
hardware ethernet 48:3F:E9:7C:39:5A;
fixed-address 172.18.242.156;
}


host tyler-5{
hardware ethernet 48:01:C5:16:8C:B3;
fixed-address 172.18.242.227;
}

host MihaiZR{
hardware ethernet 88:f5:6e:4c:9a:4d;
fixed-address 172.18.233.58;
}

host seim{
hardware ethernet       E4:54:E8:5A:CB:11;
fixed-address 172.18.234.48;
}

#host ackerly-test{
#hardware ethernet 68:a0:3e:44:dc:65;
#fixed-address 172.18.233.18;
#}

 

dhcp搭建

标签:nbsp   local   oca   har   config   rgb   range   cas   iso   

原文地址:https://www.cnblogs.com/niwajiang1/p/14418316.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!