Commit | Line | Data |
---|---|---|
f624eefc LM |
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 | # ============================================================================ | |
10 | # V1.5 | |
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; | |
49 | #option routers 10.133.26.231; | |
50 | use-host-decl-names on; | |
51 | authoritative; | |
52 | } | |
53 | ||
54 | # liste des lames a completer dans l'ordre de la baie | |
55 | ||
56 | #lame acq | |
57 | host trc01-rf { hardware ethernet 00:00:00:00:00:01; fixed-address 10.133.26.161;} | |
58 | host trc02-rf { hardware ethernet 00:00:00:00:00:02; fixed-address 10.133.26.162;} | |
59 | host trc03-rf { hardware ethernet 00:00:00:00:00:03; fixed-address 10.133.26.163;} | |
60 | host trc04-rf { hardware ethernet 00:00:00:00:00:04; fixed-address 10.133.26.164;} | |
61 | host trc05-rf { hardware ethernet 00:00:00:00:00:05; fixed-address 10.133.26.165;} | |
62 | host trc06-rf { hardware ethernet 00:00:00:00:00:06; fixed-address 10.133.26.166;} | |
63 | #lame mon | |
64 | host trc07-rf { hardware ethernet 00:00:00:00:00:07; fixed-address 10.133.26.167;} | |
65 | host trc08-rf { hardware ethernet 00:00:00:00:00:08; fixed-address 10.133.26.168;} | |
66 | #lame enr | |
67 | host trc09-rf { hardware ethernet 00:00:00:00:00:09; fixed-address 10.133.26.169;} | |
68 | ||
69 | subnet 10.133.28.0 netmask 255.255.255.0 | |
70 | { | |
71 | next-server 10.133.28.160; | |
72 | filename "pxelinux.0"; | |
73 | option routers 10.133.28.231; | |
74 | option domain-name-servers 10.133.28.160; | |
75 | use-host-decl-names on; | |
76 | authoritative; | |
77 | } | |
78 | ||
79 | #lame acq | |
80 | host trc01 { hardware ethernet 00:00:00:00:01:01; fixed-address 10.133.28.161;} | |
81 | host trc02 { hardware ethernet 00:00:00:00:01:02; fixed-address 10.133.28.162;} | |
82 | host trc03 { hardware ethernet 00:00:00:00:01:03; fixed-address 10.133.28.163;} | |
83 | host trc04 { hardware ethernet 00:00:00:00:01:04; fixed-address 10.133.28.164;} | |
84 | host trc05 { hardware ethernet 00:00:00:00:01:05; fixed-address 10.133.28.165;} | |
85 | host trc06 { hardware ethernet 00:00:00:00:01:06; fixed-address 10.133.28.166;} | |
86 | #lame mon | |
87 | host trc07 { hardware ethernet 00:00:00:00:01:07; fixed-address 10.133.28.167;} | |
88 | host trc08 { hardware ethernet 00:00:00:00:01:08; fixed-address 10.133.28.168;} | |
89 | #lame enr | |
90 | host trc09 { hardware ethernet 00:00:00:00:01:09; fixed-address 10.133.28.169;} |