Sample configurations
Buddy Bertram
buddy at zcorum.com
Thu May 25 19:36:53 UTC 2006
In an effort to get this started here is a sample of my current
configuration template.
Buddy
dhcpd.conf
###
### Global Settings
###
authoritative;
option domain-name "Buddyscable.com";
ddns-update-style none;
log-facility local4;
include "/etc/dhcpd/modems.conf";
include "/etc/dhcpd/statics.conf";
subnet 172.16.176.128 netmask 255.255.255.240 {
}
###
### CPE shared network
###
shared-network "CPE_Pool" {
default-lease-time 300;
max-lease-time 300;
option domain-name-servers 172.16.176.138, 172.16.176.139;
###
### CPE1 Pool
###
subnet 192.168.163.240 netmask 255.255.255.240 {
range 192.168.163.242 192.168.163.254;
ping-check on;
option subnet-mask 255.255.255.240;
option broadcast-address 192.168.163.255;
option routers 69.60.163.241;
}
### End of CPE1 pool
}
### CPE2 Pool
###
subnet 192.168.163.128 netmask 255.255.255.240 {
range 192.168.163.130 192.168.163.140; # static range 141-142
ping-check on;
option subnet-mask 255.255.255.240;
option broadcast-address 192.168.163.143;
option routers 69.60.163.129;
}
### End of CPE2 pool
}
###
### CM shared network
###
shared-network cablemodem {
next-server 172.16.176.138;
option time-servers 172.16.176.138;
filename "noservices.cfg";
default-lease-time 84600;
max-lease-time 84600;
option time-offset -18000;
###
### Modem Pool
###
subnet 10.115.0.0 netmask 255.255.240.0 {
range 10.115.0.2 10.115.0.254;
option subnet-mask 255.255.240.0;
option broadcast-address 10.115.15.255;
option routers 10.115.0.1;
}
# End of CM pool
}
modems.conf
host 000103608A1A {filename "2m1m02s.cfg"; hardware ethernet
00:01:03:60:8A:1A;}
host 000103B17FD6 {filename "51212802s.cfg"; hardware ethernet
00:01:03:B1:7F:D6;}
host 00407B4B6362 {filename "noservices.cfg"; hardware ethernet
00:40:7B:4B:63:62;}
statics.conf
host static-customera {fixed-address 192.168.163.142; hardware
ethernet 00:40:8C:6D:78:CE;}
host static-customerb {fixed-address 192.168.163.141; hardware
ethernet 00:40:8C:6D:78:8F;}
More information about the dhcp-users
mailing list