You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello sorry for the generic title but my issue is bit strange.
-The goal
In my network i want some clients getting (static like) ip from my dhcp server to leverage network booting, and the rest ( unidentified ) clients to get an ip from my dynamic range. The static bindings are outside of this range driven by a config file that constantly changes (thus the function).
-The config
I have created a dhcp server and im giving addresses with this example config: { range: [ 'xxx.xxx.xxx.29', 'xxx.xxx.xxx.30' ], static: [Function: bound ], dns: [ '1.1.1.1', '8.8.8.8' ], netmask: '255.255.255.192', router: [ 'xxx.xxx.xxx.62' ], broadcast: 'xxx.xxx.xxx.63', bootFile: 'sarantis.kpxe', tftpServer: 'xxx.xxx.xxx', server: 'xxx.xxx.xxx.25', randomIP: true }
-The issue
first of all i get alot this error that crashes the server on its first discovery
`projectRoot\node_modules\dhcp\lib\dhcp.js:302
const ip = this._state[oldestMac].address;
^
TypeError: Cannot read property 'address' of undefined`
also i am having an issue that after some time the server stops responding or getting (tested via listeners on 'message') without any error or exception.
I managed to narrow it down that if i give away all the dynamic ips from the range dhcp-server stops working for both dynamic and static-like clients.
If you have any ideas on how i could probably solve this issue i would like to check it out.
Thank in advance.
Update:
Maybe i have managed to narrow down the first issue: it happens when the first discovery is on windows with static-like ip ( 70% sure)
The text was updated successfully, but these errors were encountered:
isarantis
changed the title
dhcp server not listening after some point
dhcp server stops listening for messages
Sep 25, 2019
Hello sorry for the generic title but my issue is bit strange.
-The goal
In my network i want some clients getting (static like) ip from my dhcp server to leverage network booting, and the rest ( unidentified ) clients to get an ip from my dynamic range. The static bindings are outside of this range driven by a config file that constantly changes (thus the function).
-The config
I have created a dhcp server and im giving addresses with this example config:
{ range: [ 'xxx.xxx.xxx.29', 'xxx.xxx.xxx.30' ], static: [Function: bound ], dns: [ '1.1.1.1', '8.8.8.8' ], netmask: '255.255.255.192', router: [ 'xxx.xxx.xxx.62' ], broadcast: 'xxx.xxx.xxx.63', bootFile: 'sarantis.kpxe', tftpServer: 'xxx.xxx.xxx', server: 'xxx.xxx.xxx.25', randomIP: true }
-The issue
first of all i get alot this error that crashes the server on its first discovery
`projectRoot\node_modules\dhcp\lib\dhcp.js:302
const ip = this._state[oldestMac].address;
^
TypeError: Cannot read property 'address' of undefined`
also i am having an issue that after some time the server stops responding or getting (tested via listeners on 'message') without any error or exception.
I managed to narrow it down that if i give away all the dynamic ips from the range dhcp-server stops working for both dynamic and static-like clients.
If you have any ideas on how i could probably solve this issue i would like to check it out.
Thank in advance.
Update:
Maybe i have managed to narrow down the first issue: it happens when the first discovery is on windows with static-like ip ( 70% sure)
The text was updated successfully, but these errors were encountered: