Skip to content

Instantly share code, notes, and snippets.

@FlorianHeigl
Created June 12, 2022 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianHeigl/9e9c266d60886b937d3aade5c5bf2431 to your computer and use it in GitHub Desktop.
Save FlorianHeigl/9e9c266d60886b937d3aade5c5bf2431 to your computer and use it in GitHub Desktop.
isc dhcp und mikrotik netinstal
Relevant kea-dhcp4.conf items:
{ "subnet": "172.30.248.0/22",
"pools": [
{ "pool": "172.30.248.16 - 172.30.248.31", "client-class": "BOOTP" },
{ "pool": "172.30.248.32 - 172.30.248.63", "client-class": "DHCP" }
],
"option-data": [
{ "name": "domain-name-servers",
"data": "172.16.1.15, 172.16.1.20" },
{ "name": "domain-name", "data": "company.com" },
{ "name": "dhcp-server-identifier", "data": "172.16.1.30" },
{ "name": "tftp-server-name", "data": "tftp.company.com" }
{ "name": "routers", "data": "172.30.248.1" }
],
"reservations": [
{ "hw-address": "6c:3b:6b:ed:cb:ff", // Mikrotik CCR1016 (SFP12 or eth13 MAC)
"boot-file-name": "routeros-tile-6.48.5.npk" }
]
@FlorianHeigl
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment