Skip to content

Instantly share code, notes, and snippets.

@tinbotu
Created August 15, 2011 06:41
Show Gist options
  • Select an option

  • Save tinbotu/1145810 to your computer and use it in GitHub Desktop.

Select an option

Save tinbotu/1145810 to your computer and use it in GitHub Desktop.
dhcpd.conf generated by vyatta
# generated by /opt/vyatta/sbin/dhcpd-config.pl
ddns-update-style none;
# The following 2 lines were added as global-parameters in the CLI and have not been validated
default-lease-time 300;
option domain-name-servers 8.8.8.8;
shared-network LOCAL02 {
authoritative;
subnet 10.10.12.0 netmask 255.255.255.0 {
option routers 10.10.12.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.12.16 10.10.12.160;
}
}
shared-network LOCAL03 {
authoritative;
subnet 10.10.13.0 netmask 255.255.255.0 {
option routers 10.10.13.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.13.16 10.10.13.160;
}
}
shared-network LOCAL04 {
authoritative;
subnet 10.10.14.0 netmask 255.255.255.0 {
option routers 10.10.14.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.14.16 10.10.14.160;
}
}
shared-network LOCAL05 {
authoritative;
subnet 10.10.15.0 netmask 255.255.255.0 {
option routers 10.10.15.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.15.16 10.10.15.160;
}
}
shared-network LOCAL06 {
authoritative;
subnet 10.10.16.0 netmask 255.255.255.0 {
option routers 10.10.16.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.16.16 10.10.16.160;
}
}
shared-network LOCAL07 {
authoritative;
subnet 10.10.17.0 netmask 255.255.255.0 {
option routers 10.10.17.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.17.16 10.10.17.160;
}
}
shared-network LOCAL08 {
authoritative;
subnet 10.10.18.0 netmask 255.255.255.0 {
option routers 10.10.18.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.18.16 10.10.18.160;
}
}
shared-network LOCAL09 {
authoritative;
subnet 10.10.19.0 netmask 255.255.255.0 {
option routers 10.10.19.254;
default-lease-time 1200;
max-lease-time 1200;
range 10.10.19.16 10.10.19.160;
}
}
shared-network LOCAL10 {
authoritative;
subnet 10.10.20.0 netmask 255.255.255.0 {
option routers 10.10.20.254;
default-lease-time 86400;
max-lease-time 86400;
range 10.10.20.16 10.10.20.160;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment