mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Create dhcp_server.markdown
This commit is contained in:
parent
14c8e31f61
commit
1ba6a754ac
42
source/_addons/dhcp_server.markdown
Normal file
42
source/_addons/dhcp_server.markdown
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "DHCP server"
|
||||||
|
description: "A simple dhcp server"
|
||||||
|
date: 2017-04-30 13:28
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
---
|
||||||
|
|
||||||
|
Create a simple DHCP server for your network and allow set fix ip for some devices.
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"domain": "mynetwork.local",
|
||||||
|
"dns": ["8.8.8.8", "8.8.4.4"],
|
||||||
|
"networks": [
|
||||||
|
{
|
||||||
|
"subnet": "192.168.1.0",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"range_start": "192.168.1.100",
|
||||||
|
"range_end": "192.168.1.200",
|
||||||
|
"broadcast": "192.168.1.254",
|
||||||
|
"routers": ["192.168.1.1"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"hosts": [
|
||||||
|
{
|
||||||
|
"name": "webcam_xy",
|
||||||
|
"mac": "aa:bb:ee:cc",
|
||||||
|
"ip": "192.168.1.40"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Configuration variables:
|
||||||
|
|
||||||
|
- **token** (*Required*): Your Duck DNS API key.
|
||||||
|
- **domains** (*Required*): A list of domains to update DNS.
|
||||||
|
- **seconds** (*Optional*): Seconds between updates to Duck DNS.
|
Loading…
x
Reference in New Issue
Block a user