~billy-cina/canonical-training/test

« back to all changes in this revision

Viewing changes to config-server/etc/dhcp3/dhcpd.conf

  • Committer: Torsten Spindler
  • Date: 2007-05-15 02:04:00 UTC
  • Revision ID: torsten@canonical.com-20070515020400-955q1kxm4vgmcm2j
Added files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Modified by Torsten Spindler, torsten@canonical.com
 
3
# 2007-04-26
 
4
# Based on
 
5
#
 
6
# Sample configuration file for ISC dhcpd for Debian
 
7
#
 
8
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
 
9
#
 
10
 
 
11
# The ddns-updates-style parameter controls whether or not the server will
 
12
# attempt to do a DNS update when a lease is confirmed. We default to the
 
13
# behavior of the version 2 packages ('none', since DHCP v2 didn't
 
14
# have support for DDNS.)
 
15
ddns-update-style none;
 
16
 
 
17
# option definitions common to all supported networks...
 
18
option domain-name "ubuntuclass.com";
 
19
option domain-name-servers 192.168.1.1;
 
20
 
 
21
default-lease-time 600000;
 
22
max-lease-time 7200000;
 
23
 
 
24
# If this DHCP server is the official DHCP server for the local
 
25
# network, the authoritative directive should be uncommented.
 
26
authoritative;
 
27
 
 
28
# Use this to send dhcp log messages to a different log file (you also
 
29
# have to hack syslog.conf to complete the redirection).
 
30
log-facility local7;
 
31
 
 
32
subnet 192.168.1.0 netmask 255.255.255.0 {
 
33
        range 192.168.1.21 192.168.1.99;
 
34
        option routers 192.168.1.1;
 
35
        option domain-name-servers buckingham.ubuntuclass.com;
 
36
        default-lease-time 604800;
 
37
        max-lease-time 1209600;
 
38
}
 
39
 
 
40
 
 
41
#host westminster {
 
42
#       hardware ethernet 00:01:02:03:04:05;
 
43
#       fixed-address westminster.ubuntuclass.com;
 
44
#}
 
45
 
 
46
#host kensington {
 
47
#       hardware ethernet 00:01:02:03:04:05;
 
48
#       fixed-address kensington.ubuntuclass.com;
 
49
#}
 
50
 
 
51
#host whitehall {
 
52
#       hardware ethernet 00:01:02:03:04:05;
 
53
#       fixed-address whitehall.ubuntuclass.com;
 
54
#}
 
55
 
 
56
#host tower {
 
57
#       hardware ethernet 00:01:02:03:04:05;
 
58
#       fixed-address tower.ubuntuclass.com;
 
59
#}
 
60
 
 
61
#host windsor {
 
62
#       hardware ethernet 00:01:02:03:04:05;
 
63
#       fixed-address windsor.ubuntuclass.com;
 
64
#}
 
65
 
 
66
#host sandringham {
 
67
#       hardware ethernet 00:01:02:03:04:05;
 
68
#       fixed-address sandringham.ubuntuclass.com;
 
69
#}
 
70
 
 
71
#host balmoral {
 
72
#       hardware ethernet 00:01:02:03:04:05;
 
73
#       fixed-address balmoral.ubuntuclass.com;
 
74
#}
 
75
 
 
76
#host hampton {
 
77
#       hardware ethernet 00:01:02:03:04:05;
 
78
#       fixed-address hampton.ubuntuclass.com;
 
79
#}
 
80
 
 
81
#host holyroodhouse {
 
82
#       hardware ethernet 00:01:02:03:04:05;
 
83
#       fixed-address holyroodhouse.ubuntuclass.com;
 
84
#}
 
85