Jack Yaz
Part of the Furniture
thanks <3View attachment 33232
I and my dog send our best wishes for a quick recovery.
thanks <3View attachment 33232
I and my dog send our best wishes for a quick recovery.
it'll be a YazFi feature if/when i get back to coding in the near future (dog had surgery yesterday to remove a lump, could be cancer, we find out next week)
Looks like the delay is hard coded to 3 seconds.I am seeing a delay of about 3.5 seconds when my client request an IP address, and am wondering if yazdhcp has any optimisations to improve this?
I presume that the default DHCP is waiting on a ping response from a host prior to allocating the IP, but not sure what the default timeout is for that (surely not longer than 1s?).
Ahh, thanks for that.Looks like the delay is hard coded to 3 seconds.
https://github.com/RMerl/asuswrt-me...b/release/src/router/dnsmasq/src/config.h#L38
https://github.com/RMerl/asuswrt-me...elease/src/router/dnsmasq/src/dnsmasq.c#L2072
I've just tested this using Wireshark and that does appear to be the case. When I added my client to the "Manually Assigned.." list there was no ICMP and the DHCP Offer came back in < 1ms, whereas before I could see the ICMP and > 3 second delay.I thought I read somewhere that the ping test is not run if the address appears in the host list as a defined MAC/IP. Can't find reference to that, so might have been dreaming.
The other edge case is using a mask smaller than /24. That scenario could be ignored (255.255.254.0).
Time to wiggle! See this misplaced issue:Given networkmap etc. assume a hardcoded /24 (unless that's changed) I have some wiggle room on ignoring that one
changes are already made locally from some weeks ago, haven't had time to get back to this script yetTime to wiggle! See this misplaced issue:
DHCP Manual Assignment not Honoring Full IP entered · Issue #760 · RMerl/asuswrt-merlin.ng
Describe the bug Using asus merlin wrt firmware with YazDHCP. Router is 10.0.1.1/16, but DHCP manual assignment doesn't let me assign anything other than on 10.0.1.0/24. For instance if I enter...github.com
Some have an alpha phase, while others jump into beta. You are in the Jack on FIRE! phase. keep it up man!changes are already made locally from some weeks ago, haven't had time to get back to this script yet
sorry for the age its been to get to this. if you runAlso, in regards to the stripping, I suppose that could be addressed by doing real bit masking using the netmask, but that might overcomplicate things, especially for such a limited use case. That would dynamically adjust the max based on the netmask.
I did want to report it though and if it would be too restrictive for the general release, I totally understand. It wouldn't be the first time I've been told to "fork off" lol
YazDHCP develop
router version, firmware version, any errors when you installed YazDHCP?Hello it seems like i am having a minor issue, when i try to install it is not migrating my DHCP list to yaz, and when i try to add an address via the gui no mac addresses or devices show up on the drop-down menue. luckily everything was saved in nvram so i don't have to re-enter dhcp.
were you prompted to export the nvram items?GT-AX11000 with latest stable Merlin release 386.3_2. No errors on install.
Do devices show in the network map client list?GT-AX11000 with latest stable Merlin release 386.3_2. No errors on install.
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
V | Best Practice When Importing CSV To YazDHCP? | Asuswrt-Merlin AddOns | 7 | |
L | scMerlin Is this feature enabled by default in scMerlin? | Asuswrt-Merlin AddOns | 2 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!