Projet

Général

Profil

dhcpd-debug.conf

JEAN Pascal, 22/12/2020 15:23

Télécharger (10,7 ko)

 
1
########################################################
2
#
3
## dhcpd.conf pour ScribeNg
4
#
5
## Equipe Eole eole@ac-dijon.fr
6
#
7
## septembre 2007
8
#
9
########################################################
10
#
11
default-lease-time 36000;
12
max-lease-time 144000;
13
option domain-name "btssn.lan";
14

    
15

    
16
#ddns-update-style none;
17
authoritative;
18

    
19

    
20
# déclaration des hôtes des plages statiques
21
########################
22
# groups = {'nofilter': {'adresse_netmask_dhcp': '255.255.255.0', 'ip_basse_dhcp': '10.201.196.11', 'ip_haute_dhcp': '10.201.196.49', 'adresse_ip_gw_dhcp': '10.201.196.250', 'interdire_hotes_inconnus': 'non', 'adressage_statique': 'oui', 'dhcp_pool_use_failover': 'non', 'nom_domaine_dhcp': 'btssn.lan', 'adresse_ip_dns_dhcp': '10.201.196.2', 'adresse_ip_dns_secondaire_dhcp': '10.201.196.250', 'adresse_ip_wins_primaire_dhcp': None, 'adresse_ip_wins_secondaire_dhcp': None, 'adresse_ip_ntp_dhcp': '10.201.196.1', 'dhcp_lease_default': 36000, 'dhcp_lease_max': 144000, 'domain_wpad_dhcp': None}, 'static-lower': {'adresse_netmask_dhcp': '255.255.255.0', 'ip_basse_dhcp': '10.201.196.50', 'ip_haute_dhcp': '10.201.196.79', 'adresse_ip_gw_dhcp': '10.201.196.250', 'interdire_hotes_inconnus': 'non', 'adressage_statique': 'oui', 'dhcp_pool_use_failover': 'non', 'nom_domaine_dhcp': 'btssn.lan', 'adresse_ip_dns_dhcp': '10.201.196.2', 'adresse_ip_dns_secondaire_dhcp': '10.201.196.250', 'adresse_ip_wins_primaire_dhcp': None, 'adresse_ip_wins_secondaire_dhcp': None, 'adresse_ip_ntp_dhcp': '10.201.196.1', 'dhcp_lease_default': 36000, 'dhcp_lease_max': 144000, 'domain_wpad_dhcp': None}, 'static-higher': {'adresse_netmask_dhcp': '255.255.255.0', 'ip_basse_dhcp': '10.201.196.240', 'ip_haute_dhcp': '10.201.196.253', 'adresse_ip_gw_dhcp': '10.201.196.250', 'interdire_hotes_inconnus': 'non', 'adressage_statique': 'oui', 'dhcp_pool_use_failover': 'non', 'nom_domaine_dhcp': 'btssn.lan', 'adresse_ip_dns_dhcp': '10.201.196.2', 'adresse_ip_dns_secondaire_dhcp': '10.201.196.250', 'adresse_ip_wins_primaire_dhcp': None, 'adresse_ip_wins_secondaire_dhcp': None, 'adresse_ip_ntp_dhcp': '10.201.196.1', 'dhcp_lease_default': 36000, 'dhcp_lease_max': 144000, 'domain_wpad_dhcp': None}, 'server': {'adresse_netmask_dhcp': '255.255.255.0', 'ip_basse_dhcp': '10.201.196.1', 'ip_haute_dhcp': '10.201.196.10', 'adresse_ip_gw_dhcp': '10.201.196.250', 'interdire_hotes_inconnus': 'non', 'adressage_statique': 'oui', 'dhcp_pool_use_failover': 'non', 'nom_domaine_dhcp': 'btssn.lan', 'adresse_ip_dns_dhcp': '10.201.196.2', 'adresse_ip_dns_secondaire_dhcp': '10.201.196.250', 'adresse_ip_wins_primaire_dhcp': None, 'adresse_ip_wins_secondaire_dhcp': None, 'adresse_ip_ntp_dhcp': '10.201.196.1', 'dhcp_lease_default': 36000, 'dhcp_lease_max': 144000, 'domain_wpad_dhcp': None}}
23
########################
24
# hosts = <zip object at 0x7f59c52fb8c0>
25
########################
26
########################
27
# group = nofilter
28
# grouped_hosts = [('02:81:0d:d1:32:a3', 'n01', '10.201.196.11', 'nofilter', 'non'), ('02:81:dd:c5:12:f8', 'n02', '10.201.196.12', 'nofilter', 'non'), ('02:81:2f:3e:fb:32', 'n03', '10.201.196.13', 'nofilter', 'non'), ('02:81:42:e2:08:3f', 'n04', '10.201.196.14', 'nofilter', 'non'), ('02:81:23:6b:14:d3', 'n05', '10.201.196.15', 'nofilter', 'non'), ('02:81:48:b0:b7:26', 'n06', '10.201.196.16', 'nofilter', 'non'), ('02:81:f3:a7:57:be', 'n07', '10.201.196.17', 'nofilter', 'non'), ('02:81:9a:84:74:5a', 'n08', '10.201.196.18', 'nofilter', 'non'), ('02:81:ef:2b:13:4c', 'n09', '10.201.196.19', 'nofilter', 'non'), ('02:81:36:d6:7a:b4', 'n10', '10.201.196.20', 'nofilter', 'non'), ('02:81:6c:3e:73:31', 'n11', '10.201.196.21', 'nofilter', 'non'), ('02:81:18:ed:40:58', 'n12', '10.201.196.22', 'nofilter', 'non'), ('02:81:f2:cf:f2:e4', 'n13', '10.201.196.23', 'nofilter', 'non'), ('02:81:87:86:24:4e', 'n14', '10.201.196.24', 'nofilter', 'non'), ('02:81:84:5a:7f:d4', 'n15', '10.201.196.25', 'nofilter', 'non'), ('02:81:89:05:23:88', 'n16', '10.201.196.26', 'nofilter', 'non'), ('02:81:7a:6f:51:b9', 'n17', '10.201.196.27', 'nofilter', 'non'), ('02:81:96:ee:b9:6f', 'n18', '10.201.196.28', 'nofilter', 'non'), ('02:81:93:20:b3:76', 'n19', '10.201.196.29', 'nofilter', 'non'), ('02:81:46:09:29:f3', 'n20', '10.201.196.30', 'nofilter', 'non'), ('b8:27:eb:ad:5e:ad', 'r01', '10.201.196.31', 'nofilter', 'non'), ('b8:27:eb:69:00:39', 'r02', '10.201.196.32', 'nofilter', 'non'), ('b8:27:eb:c8:41:bc', 'r03', '10.201.196.33', 'nofilter', 'non'), ('b8:27:eb:5e:57:9c', 'r04', '10.201.196.34', 'nofilter', 'non'), ('b8:27:eb:03:68:3a', 'r05', '10.201.196.35', 'nofilter', 'non'), ('b8:27:eb:b7:47:a7', 'r06', '10.201.196.36', 'nofilter', 'non'), ('b8:27:eb:7e:01:5f', 'r07', '10.201.196.37', 'nofilter', 'non'), ('b8:27:eb:d8:01:a1', 'r08', '10.201.196.38', 'nofilter', 'non'), ('b8:27:eb:19:5c:ad', 'r09', '10.201.196.39', 'nofilter', 'non'), ('b8:27:eb:7a:aa:cd', 'r10', '10.201.196.40', 'nofilter', 'non'), ('b8:27:eb:e9:34:65', 'r11', '10.201.196.41', 'nofilter', 'non'), ('b8:27:eb:75:80:90', 'r12', '10.201.196.42', 'nofilter', 'non'), ('02:81:ef:b1:0c:99', 'v01', '10.201.196.43', 'nofilter', 'non'), ('02:01:5f:fc:07:19', 'v02', '10.201.196.44', 'nofilter', 'non'), ('b8:27:eb:7b:62:d5', 'v03', '10.201.196.45', 'nofilter', 'non'), ('dc:a6:32:2a:89:e4', 'v04', '10.201.196.46', 'nofilter', 'non'), ('02:81:18:98:a2:5b', 'v05', '10.201.196.47', 'nofilter', 'non'), ('02:81:eb:21:92:f7', 'v06', '10.201.196.48', 'nofilter', 'non')]
29
########################
30
group nofilter {
31
  option subnet-mask 255.255.255.0;
32
  option routers 10.201.196.250;
33
  option domain-name "btssn.lan";
34
  option domain-name-servers 10.201.196.2, 10.201.196.250;
35
  option ntp-servers 10.201.196.1;
36
  default-lease-time 144000;
37
  max-lease-time 144000;
38

    
39
  host n01.nofilter { hardware ethernet 02:81:0d:d1:32:a3; fixed-address 10.201.196.11; option host-name n01;}
40
  host n02.nofilter { hardware ethernet 02:81:dd:c5:12:f8; fixed-address 10.201.196.12; option host-name n02;}
41
  host n03.nofilter { hardware ethernet 02:81:2f:3e:fb:32; fixed-address 10.201.196.13; option host-name n03;}
42
  host n04.nofilter { hardware ethernet 02:81:42:e2:08:3f; fixed-address 10.201.196.14; option host-name n04;}
43
  host n05.nofilter { hardware ethernet 02:81:23:6b:14:d3; fixed-address 10.201.196.15; option host-name n05;}
44
  host n06.nofilter { hardware ethernet 02:81:48:b0:b7:26; fixed-address 10.201.196.16; option host-name n06;}
45
  host n07.nofilter { hardware ethernet 02:81:f3:a7:57:be; fixed-address 10.201.196.17; option host-name n07;}
46
  host n08.nofilter { hardware ethernet 02:81:9a:84:74:5a; fixed-address 10.201.196.18; option host-name n08;}
47
  host n09.nofilter { hardware ethernet 02:81:ef:2b:13:4c; fixed-address 10.201.196.19; option host-name n09;}
48
  host n10.nofilter { hardware ethernet 02:81:36:d6:7a:b4; fixed-address 10.201.196.20; option host-name n10;}
49
  host n11.nofilter { hardware ethernet 02:81:6c:3e:73:31; fixed-address 10.201.196.21; option host-name n11;}
50
  host n12.nofilter { hardware ethernet 02:81:18:ed:40:58; fixed-address 10.201.196.22; option host-name n12;}
51
  host n13.nofilter { hardware ethernet 02:81:f2:cf:f2:e4; fixed-address 10.201.196.23; option host-name n13;}
52
  host n14.nofilter { hardware ethernet 02:81:87:86:24:4e; fixed-address 10.201.196.24; option host-name n14;}
53
  host n15.nofilter { hardware ethernet 02:81:84:5a:7f:d4; fixed-address 10.201.196.25; option host-name n15;}
54
  host n16.nofilter { hardware ethernet 02:81:89:05:23:88; fixed-address 10.201.196.26; option host-name n16;}
55
  host n17.nofilter { hardware ethernet 02:81:7a:6f:51:b9; fixed-address 10.201.196.27; option host-name n17;}
56
  host n18.nofilter { hardware ethernet 02:81:96:ee:b9:6f; fixed-address 10.201.196.28; option host-name n18;}
57
  host n19.nofilter { hardware ethernet 02:81:93:20:b3:76; fixed-address 10.201.196.29; option host-name n19;}
58
  host n20.nofilter { hardware ethernet 02:81:46:09:29:f3; fixed-address 10.201.196.30; option host-name n20;}
59
  host r01.nofilter { hardware ethernet b8:27:eb:ad:5e:ad; fixed-address 10.201.196.31; option host-name r01;}
60
  host r02.nofilter { hardware ethernet b8:27:eb:69:00:39; fixed-address 10.201.196.32; option host-name r02;}
61
  host r03.nofilter { hardware ethernet b8:27:eb:c8:41:bc; fixed-address 10.201.196.33; option host-name r03;}
62
  host r04.nofilter { hardware ethernet b8:27:eb:5e:57:9c; fixed-address 10.201.196.34; option host-name r04;}
63
  host r05.nofilter { hardware ethernet b8:27:eb:03:68:3a; fixed-address 10.201.196.35; option host-name r05;}
64
  host r06.nofilter { hardware ethernet b8:27:eb:b7:47:a7; fixed-address 10.201.196.36; option host-name r06;}
65
  host r07.nofilter { hardware ethernet b8:27:eb:7e:01:5f; fixed-address 10.201.196.37; option host-name r07;}
66
  host r08.nofilter { hardware ethernet b8:27:eb:d8:01:a1; fixed-address 10.201.196.38; option host-name r08;}
67
  host r09.nofilter { hardware ethernet b8:27:eb:19:5c:ad; fixed-address 10.201.196.39; option host-name r09;}
68
  host r10.nofilter { hardware ethernet b8:27:eb:7a:aa:cd; fixed-address 10.201.196.40; option host-name r10;}
69
  host r11.nofilter { hardware ethernet b8:27:eb:e9:34:65; fixed-address 10.201.196.41; option host-name r11;}
70
  host r12.nofilter { hardware ethernet b8:27:eb:75:80:90; fixed-address 10.201.196.42; option host-name r12;}
71
  host v01.nofilter { hardware ethernet 02:81:ef:b1:0c:99; fixed-address 10.201.196.43; option host-name v01;}
72
  host v02.nofilter { hardware ethernet 02:01:5f:fc:07:19; fixed-address 10.201.196.44; option host-name v02;}
73
  host v03.nofilter { hardware ethernet b8:27:eb:7b:62:d5; fixed-address 10.201.196.45; option host-name v03;}
74
  host v04.nofilter { hardware ethernet dc:a6:32:2a:89:e4; fixed-address 10.201.196.46; option host-name v04;}
75
  host v05.nofilter { hardware ethernet 02:81:18:98:a2:5b; fixed-address 10.201.196.47; option host-name v05;}
76
  host v06.nofilter { hardware ethernet 02:81:eb:21:92:f7; fixed-address 10.201.196.48; option host-name v06;}
77
}
78
########################
79
# group = static-lower
80
# grouped_hosts = []
81
########################
82
########################
83
# group = static-higher
84
# grouped_hosts = []
85
########################
86
########################
87
# group = server
88
# grouped_hosts = []
89
########################
90

    
91
# déclaration des hôtes statiques hors plage statique, obsolète, préférer les plages d’adresses statiques.
92

    
93
# déclaration des hôtes autorisés dans les plages dynamiques
94

    
95

    
96

    
97

    
98
subnet 10.201.196.0 netmask 255.255.255.0 {
99
  option subnet-mask 255.255.255.0;
100

    
101
  option routers 10.201.196.250;
102
  option domain-name "btssn.lan";
103
  option domain-name-servers 10.201.196.2, 10.201.196.250;
104
  option ntp-servers 10.201.196.1;
105

    
106
    # plages d'ip
107
  pool {
108
     option routers 10.201.196.250;
109
     option domain-name "btssn.lan";
110
     option domain-name-servers 10.201.196.2, 10.201.196.250;
111
     option ntp-servers 10.201.196.1;
112
     range 10.201.196.80 10.201.196.219;
113
     default-lease-time	36000;
114
     max-lease-time 	144000;
115

    
116
    }
117
}
118