Opened 2 years ago
Closed 2 years ago
#21357 closed defect (worksforme)
DHCP static lease not working ar71xx r47670
Reported by: | stephan.oelze@… | Owned by: | developers |
---|---|---|---|
Priority: | normal | Milestone: | Designated Driver (Trunk) |
Component: | base system | Version: | Trunk |
Keywords: | DHCP lease | Cc: | stephan.oelze@… |
Description
I often configured static leases with openwrt, since kamikaze.
Anyway, here is my config
config host
option mac '74:d4:35:8a:xx:xx'
option ip '192.168.1.140'
The Mac Adress is double, triple, ultra checked. The assigned ip I another one.
I rebooted computer and router without success, here is the log:
Fri Dec 11 16:15:32 2015 daemon.info dnsmasq-dhcp[8226]: DHCPDISCOVER(br-lan) 192.168.2.192 74:d4:35:8a:xx:xx
Fri Dec 11 16:15:32 2015 daemon.info dnsmasq-dhcp[8226]: DHCPOFFER(br-lan) 192.168.2.192 74:d4:35:8a:xx:xx
Fri Dec 11 16:15:32 2015 daemon.info dnsmasq-dhcp[8226]: DHCPREQUEST(br-lan) 192.168.2.192 74:d4:35:8a:xx:xx
Fri Dec 11 16:15:32 2015 daemon.info dnsmasq-dhcp[8226]: DHCPACK(br-lan) 192.168.2.192 74:d4:35:8a:xx:xx Glotzkiste
The DHCP offer is definitely wrong...
Attachments (0)
Change History (2)
comment:1 Changed 2 years ago by mkresin
comment:2 Changed 2 years ago by nbd
- Resolution set to worksforme
- Status changed from new to closed
Looks like an configuration error.
You are trying to assign the static lease 192.168.1.140 but the configured DHCP range is 192.168.2.150-200.
You can only use IP-Addresses within the DHCP Range.