-
-
Save boxrick/7bcca88c59ad42649e7f19c8d76e0c63 to your computer and use it in GitHub Desktop.
DHCP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ddns-update-style interim; | |
allow booting; | |
allow bootp; | |
log-facility local7; | |
authoritative; | |
subnet 172.29.89.0 netmask 255.255.255.0 { | |
option routers 172.29.89.5; | |
option subnet-mask 255.255.255.0; | |
default-lease-time 21600; | |
max-lease-time 43200; | |
next-server 172.29.89.161; | |
filename "/pxelinux.0"; | |
} | |
subnet 172.29.64.0 netmask 255.255.255.192 { | |
option routers 172.29.64.5; | |
option domain-name-servers 172.29.120.40; | |
option subnet-mask 255.255.255.192; | |
default-lease-time 21600; | |
max-lease-time 43200; | |
next-server 172.29.89.161; | |
filename "/pxelinux.0"; | |
} | |
group { | |
host host1 { | |
hardware ethernet aa:aa:aa:aa:aa:aa; | |
fixed-address 172.29.64.26; | |
option host-name "host1"; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 11 16:55:57 dhcpd dhcpd[289]: DHCPDISCOVER from aa:aa:aa:aa:aa:aa via eth0: network 172.29.89.0/24: no free leases | |
Nov 11 16:56:20 dhcpd dhcpd[289]: DHCPDISCOVER from aa:aa:aa:aa:aa:aa via eth0: network 172.29.89.0/24: no free leases | |
Nov 11 16:56:23 dhcpd dhcpd[289]: DHCPDISCOVER from aa:aa:aa:aa:aa:aa via eth0: network 172.29.89.0/24: no free leases | |
Nov 11 16:56:26 dhcpd dhcpd[289]: DHCPDISCOVER from aa:aa:aa:aa:aa:aa via eth0: network 172.29.89.0/24: no free leases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto eth0 | |
iface eth0 inet static | |
address 172.29.89.161 | |
netmask 255.255.255.0 | |
gateway 172.29.89.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment