infusion / node-dhcp

A DHCP server and client written in pure JavaScript
https://raw.org/article/a-pure-javascript-dhcp-implementation/
MIT License
297 stars 75 forks source link

Having issues with broadcast #76

Open johnathanhawn opened 1 year ago

johnathanhawn commented 1 year ago

SO I have a device that only looks for dhcp messages on 255.255.255.255 and no matter how I set broadcast for the the server it will only send out offers based on the subnets broadcast address. any good way to fix this?

ljluestc commented 8 months ago

subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; option routers 192.168.1.1; option subnet-mask 255.255.255.0; option broadcast-address 255.255.255.255; default-lease-time 600; max-lease-time 7200; }