Commit | Line | Data |
---|---|---|
4e802319 | 1 | # /etc/dhcp3/dhcpd.conf |
2 | # Fichier de configuration du serveur DHCP de l'ISC (package 'dhcp3-server') | |
3 | # Formation Debian GNU/Linux par Alexis de Lattre | |
4 | # http://formation-debian.via.ecp.fr/ | |
5 | ||
6 | # Consultez "man dhcpd.conf" pour avoir toutes les informations sur les options | |
7 | ||
8 | ||
9 | # ============================================================================ | |
a3300608 | 10 | # V1.5 |
4e802319 | 11 | # Copyright (C) THALES. All rights reserved |
12 | # Author: Jean-Noel Raguenes | |
13 | # Date : 07/12/2009 | |
14 | # Modification: | |
15 | # - V1.1: Herve Petit 10/03/2010 | |
16 | # Reprise avec ajouts des sub net eth1 | |
17 | # - V1.2: Herve Petit 24/06/2010 | |
18 | # Ajout option routers sur sub net eth1 | |
19 | # - V1.3: Herve Petit 25/08/2010 | |
20 | # Remplacement lame trc13 par lame trc27 a cause pb d'init_statique | |
21 | # qui prennait 2 mn sur cette lame | |
22 | # - V1.4: Herve Petit 18/04/2011 | |
23 | # Suppression definition de la route par defaut a partir du fichier dhcp | |
24 | # - V1.5: Laurent Mazet 09/05/2014 | |
25 | # Netoyage | |
26 | # ============================================================================ | |
27 | ||
28 | # DEBUT des options GLOBALES | |
29 | # Les options globales s'appliqueront par defaut a tous les sous-reseaux | |
30 | ||
31 | # Nom de domaine | |
32 | ddns-domainname "trc6500.thalesgroup.com"; | |
33 | option domain-name "trc6500.thalesgroup.com"; | |
34 | ||
35 | # Duree du bail en secondes | |
36 | default-lease-time 6000; | |
37 | max-lease-time 6000; | |
38 | server-name "maitre"; | |
39 | ||
40 | # FIN des options GLOBALES | |
41 | ||
42 | # DEBUT de la declaration des sous-reseaux et des machines | |
43 | ||
44 | subnet 10.133.26.0 netmask 255.255.255.0 | |
45 | { | |
46 | next-server 10.133.26.160; | |
47 | filename "pxelinux.0"; | |
48 | option domain-name-servers 10.133.26.160; | |
39656b88 | 49 | #option routers 10.133.26.231; |
4e802319 | 50 | use-host-decl-names on; |
51 | authoritative; | |
52 | } | |
53 | ||
54 | # liste des lames a completer dans l'ordre de la baie | |
55 | ||
f624eefc | 56 | #lame lsu |
4e802319 | 57 | host trc01-rf { hardware ethernet 00:00:00:00:00:01; fixed-address 10.133.26.161;} |
58 | ||
59 | #lames gonio | |
db52c898 LM |
60 | host trc02-rf { hardware ethernet 00:00:00:00:00:02; fixed-address 10.133.26.162;} |
61 | host trc03-rf { hardware ethernet 00:00:00:00:00:03; fixed-address 10.133.26.163;} | |
62 | host trc04-rf { hardware ethernet 00:00:00:00:00:04; fixed-address 10.133.26.164;} | |
63 | host trc05-rf { hardware ethernet 00:00:00:00:00:05; fixed-address 10.133.26.165;} | |
64 | host trc06-rf { hardware ethernet 00:00:00:00:00:06; fixed-address 10.133.26.166;} | |
65 | host trc07-rf { hardware ethernet 00:00:00:00:00:07; fixed-address 10.133.26.167;} | |
66 | host trc08-rf { hardware ethernet 00:00:00:00:00:08; fixed-address 10.133.26.168;} | |
67 | host trc09-rf { hardware ethernet 00:00:00:00:00:09; fixed-address 10.133.26.169;} | |
68 | host trc10-rf { hardware ethernet 00:00:00:00:00:0A; fixed-address 10.133.26.170;} | |
69 | host trc11-rf { hardware ethernet 00:00:00:00:00:0B; fixed-address 10.133.26.171;} | |
70 | host trc12-rf { hardware ethernet 00:00:00:00:00:0C; fixed-address 10.133.26.172;} | |
71 | host trc13-rf { hardware ethernet 00:00:00:00:00:0D; fixed-address 10.133.26.173;} | |
72 | host trc14-rf { hardware ethernet 00:00:00:00:00:0E; fixed-address 10.133.26.174;} | |
73 | host trc15-rf { hardware ethernet 00:00:00:00:00:0F; fixed-address 10.133.26.175;} | |
74 | host trc16-rf { hardware ethernet 00:00:00:00:00:10; fixed-address 10.133.26.176;} | |
75 | host trc17-rf { hardware ethernet 00:00:00:00:00:11; fixed-address 10.133.26.177;} | |
4e802319 | 76 | |
77 | subnet 10.133.28.0 netmask 255.255.255.0 | |
78 | { | |
79 | next-server 10.133.28.160; | |
80 | filename "pxelinux.0"; | |
81 | option routers 10.133.28.231; | |
82 | option domain-name-servers 10.133.28.160; | |
83 | use-host-decl-names on; | |
84 | authoritative; | |
85 | } | |
86 | ||
f624eefc | 87 | #lame lsu |
db52c898 | 88 | host trc01 { hardware ethernet 00:00:00:00:01:01; fixed-address 10.133.28.161;} |
4e802319 | 89 | |
90 | #lames gonio | |
db52c898 LM |
91 | host trc02 { hardware ethernet 00:00:00:00:01:02; fixed-address 10.133.28.162;} |
92 | host trc03 { hardware ethernet 00:00:00:00:01:03; fixed-address 10.133.28.163;} | |
93 | host trc04 { hardware ethernet 00:00:00:00:01:04; fixed-address 10.133.28.164;} | |
94 | host trc05 { hardware ethernet 00:00:00:00:01:05; fixed-address 10.133.28.165;} | |
95 | host trc06 { hardware ethernet 00:00:00:00:01:06; fixed-address 10.133.28.166;} | |
96 | host trc07 { hardware ethernet 00:00:00:00:01:07; fixed-address 10.133.28.167;} | |
97 | host trc08 { hardware ethernet 00:00:00:00:01:08; fixed-address 10.133.28.168;} | |
98 | host trc09 { hardware ethernet 00:00:00:00:01:09; fixed-address 10.133.28.169;} | |
99 | host trc10 { hardware ethernet 00:00:00:00:01:0A; fixed-address 10.133.28.170;} | |
100 | host trc11 { hardware ethernet 00:00:00:00:01:0B; fixed-address 10.133.28.171;} | |
101 | host trc12 { hardware ethernet 00:00:00:00:01:0C; fixed-address 10.133.28.172;} | |
102 | host trc13 { hardware ethernet 00:00:00:00:01:0D; fixed-address 10.133.28.173;} | |
103 | host trc14 { hardware ethernet 00:00:00:00:01:0E; fixed-address 10.133.28.174;} | |
104 | host trc15 { hardware ethernet 00:00:00:00:01:0F; fixed-address 10.133.28.175;} | |
105 | host trc16 { hardware ethernet 00:00:00:00:01:10; fixed-address 10.133.28.176;} | |
106 | host trc17 { hardware ethernet 00:00:00:00:01:11; fixed-address 10.133.28.177;} |