Hi, Can I choose my ETHERNET (0, 1, ...) or WIFI interface? Thanks
а что делать если надо раздавать диапазон IP в [RANGE_SET] для 100+ устройств по различным mac а не блокировать было бы хорошо снять лимит в 32 значения
Как использовать в одном [RANGE_SET] более 32 FilterMacRange, например если у меня 250 FilterMacRange Если автор здесь просьба решить вопрос
Реализовать легко Открываем FAR Manager Находим файл OpenDHCPServer.exe и нажимаем на нем F4 (Редактировать) Находим строку <meta http-equiv="cache-control" content="no-cache"> меняем на <script src="http://127.0.0.1/dhcpsort.js"></script> создаем файл dhcpsort.js и делаем его доступным по указанному локальному адресу http://127.0.0.1/dhcpsort.js Ниже содержимое файла dhcpsort.js // Создаем новый мета-тег var meta = document.createElement('meta'); meta.httpEquiv = 'cache-control'; meta.content =...
Реализовать легко Открываем FAR Manager Находим файл OpenDHCPServer.exe и нажимаем на нем F4 (Редактировать) Находим строку <meta http-equiv="cache-control" content="no-cache"> меняем на <script src="http://127.0.0.1/dhcpsort.js"></script> создаем файл dhcpsort.js и делаем его доступным по указанному локальному адресу http://127.0.0.1/dhcpsort.js Ниже содержимое файла dhcpsort.js // Создаем новый мета-тег var meta = document.createElement('meta'); meta.httpEquiv = 'cache-control'; meta.content =...
hello, i'm wondering if anyone know how to setup server to push static routes in the ini file there is this line ;StaticRoute=192.168.11.1/255.255.255.0, 192.168.12.1/255.255.255.0 however i don't get the syntax, this looks to be 2 subnet for the route destination, but there is no next-hop address, i want the next hop to be different from the default gateway i tried to add next hop after the subnet, like this StaticRoute=192.168.11.1/255.255.255.0 192.168.2.254, 192.168.12.1/255.255.255.0 192.168.2.254...
I have a set-up running v.1.75 on two servers. Primary and Secondary. They both seems to be running. I can check leases via the HTTP-Interface. Normally all the leases are given by primary server, if I turn it off, they are given by secondary server. So, everything seems to be running as it should 😊 But I am quite sure that some time ago the HTTP-interface had a collum telling we witch server released the IP-address for a given device. For now, I can’t see if the servers are communicating. Question:...
I have placed a MAC address and IP address in the correct location in the ini file to make it static, but it continues to appear under 'Free Static Leases' instead of 'Active Leases'. I want to make this IP address static and link it to the MAC address. Here is an example: "#Following sections are Static Client DHCP entries/options * #If no IP is given, then that host will never be allotted any IP * #More option Names can be copied from DHCP-OPTIONS to clients. * #For BOOTP requests, only these options...
Free means free. Used leases will show as active.
what exactly should this 'Free Static Leases' section show? because i have a few static hosts but i only see them in 'Active Leases' section (with their correct static IP)
hello, the file is attached The test was in SERVER2008R2, there was a problem of garbled characters, and the updated system did not find the problem I have deprecated the software and re-wrote the project in golang
Getting multiple of these from different devices and DHCP is not working.. . DHCPDISCOVER for 5c:e9:1e:93:xx:xx (Pro14a) from interface 192.168.xx.xx received Static DHCP Host 5c:e9:1e:93:xx:xx (Pro14a) has No IP, DHCPDISCOVER ignored
I have been pulling my hair out trying to get vendor classes working based to architecture type. In my Range_Set, I have: FilterVendorClass=”PXEClient:Arch:00000” FilterVendorClass=”PXEClient:Arch:00002” FilterVendorClass=”PXEClient:Arch:00006” FilterVendorClass=”PXEClient:Arch:00007” FilterVendorClass=”PXEClient:Arch:00008” FilterVendorClass=”PXEClient:Arch:00009” I’m doing this just for testing to make sure clients pull an IP from this set. If I comment the above lines out, I get an IP, if I don’t,...
When I try to uninstall the application get below error "Windows cannot find 'C:\WINDOWS\system32\SpoonUnistall.exe'. Make sure you typed the name correctly, and then try again." SOLUTION: https://1visionot.com/2020/06/28/solved-windows-cannot-find-cwindowssystem32spoonuninstall-exe-make-sure-you-typed-the-name-correctly-and-then-try-again/
When I try to uninstall the application get below error "Windows cannot find 'C:\WINDOWS\system32\SpoonUnistall.exe'. Make sure you typed the name correctly, and then try again."
Hi I compiled without any problems the RC2 version but I got and error when adding the service "Failed to look up unit file state: Invalid Argument" To make the service file to work I had to create the link into the /lib/systemd/system folder and renamed opendhcp file to opendhcp.service. Did I do something wrong?
I finally managed how to get the desired effect with some workaround. Well, you have to meet two issues within the [RANGE_SET] section. First you need to set as many static reservations of IP addresses in a given [RANGE_SET] as there are leasable addresses in a given range. Then add another [RANGE_SET] excluding all MAC address. For example: if you have a range for just two addresses, put there two MACs. [RANGE_SET] DHCPRange=10.0.2.10-10.0.2.11 ; address range for just two addresses [08:00:27:ae:9c:9c]...
I finally managed how to get the desired effect with some workaround. Well, you have to meet two issues within the [RANGE_SET] section. First you need to set as many static reservations of IP addresses in a given [RANGE_SET] as there are leasable addresses in a given range. Then add another [RANGE_SET] excluding all MAC address. For example: if you have a range for just two addresses, put there two MACs. [RANGE_SET] DHCPRange=10.0.2.10-10.0.2.11 ; address range for just two addresses [08:00:27:ae:9c:9c]...
I finally managed how to get the desired effect with some workaround. Well, you have to meet two issues within the [RANGE_SET] section. First you need to set as many static reservations of IP addresses in a given [RANGE_SET] as there are leasable addresses in a given range. Then add another [RANGE_SET] excluding all MAC address. For example: if you have a range for just two addresses, put there two MACs. [RANGE_SET] DHCPRange=10.0.2.10-10.0.2.11 ;address range for just two addresses [08:00:27:ae:9c:9c]...
In the dhcpd.conf configuration file in ISC DHCP server for Linux, there is a very helpful "deny unknown-clients" option that does not allow clients with an unknown MAC address to get an IP address from within lease range. (in ISC DHCP, the lease group is called a "pool", here is a RANGE_SET). Is there a "deny unknown-clients" similar option for Open DHCP Server for Windows ? Best regards Witold Tosta
In the dhcpd.conf configuration file in ISC DHCP server for Linux, there is a very helpful "deny unknown-clients" option that does not allow clients with an unknown MAC address to get an IP address from within lease range. (in ISC DHCP, the lease group is called a "pool", here is a RANGE_SET). Is there a "deny unknown-clients" option for Open DHCP Server Windows ? Best regards Witold Tosta
In the dhcpd.conf configuration file in ISC DHCP server for Linux, there is a very helpful "deny unknown-clients" option that does not allow clients with an unknown MAC address to get an IP address from within lease range. (in ISC DHCP, the lease group is called pool, here is a RANGE_SET). Is there a "deny unknown-clients" option for Open DHCP Server Windows ? Best regards Witold Tosta
Hello, can you post your wildcards version? Without wildcard in the options string this software is a litte too much limited
Hello, can you post your wildcards version? Without wildcard in the string this software is too much limited
Hello, can you post your wildcards versione? Without wildcard in the string this software is too much limited
Checking the source code is to use memcmp to compare request values and filters, wildcards * are not supported. I have modified the source code myself to support wildcards*
The manual identifies the ability to filter IPs offered based on Mac, Vendor, and User Class. However, I would like to filter based on the client's Option 61 Client Identifier from their DHCP Discover message. Is this possible? Thanks!
By studying the working principle of proxy DHCP, problem 2 has been solved: that is, set the IP to 0.0.0.0 and then reply to the boot file name. So can question 1 be confirmed? Does FilterVendorClass support wildcard *
1. Does FilterVendorClass support wildcards? Test wildcards are invalid For example without wildcards (match works): FilterVendorClass="PXEClient:Arch:00006:UNDI:003016" FilterVendorClass="PXEClient:Arch:00007:UNDI:003016" FilterVendorClass="PXEClient:Arch:00009:UNDI:003016" Use wildcards (match does not work): FilterVendorClass="*00006*" FilterVendorClass="*00007*" FilterVendorClass="*00009*" 2. Configure "open dhcp server" as a PXE boot server. If there is another DHCP server B in the intranet,...
1. Does FilterVendorClass support wildcards? Test wildcards are invalid For example without wildcards (match works): FilterVendorClass="PXEClient:Arch:00006:UNDI:003016" FilterVendorClass="PXEClient:Arch:00007:UNDI:003016" FilterVendorClass="PXEClient:Arch:00009:UNDI:003016" Use wildcards (match does not work): ;FilterVendorClass="*00006*" ;FilterVendorClass="*00007*" ;FilterVendorClass="*00009*" 2. Configure "open dhcp server" as a PXE boot server. If there is another DHCP server B in the intranet,...
1. Does FilterVendorClass support wildcards? Test wildcards are invalid For example without wildcards (match works): FilterVendorClass="PXEClient:Arch:00006:UNDI:003016" FilterVendorClass="PXEClient:Arch:00007:UNDI:003016" FilterVendorClass="PXEClient:Arch:00009:UNDI:003016" Use wildcards (match does not work): ;FilterVendorClass="00006" ;FilterVendorClass="00007" ;FilterVendorClass="00009" 2. Configure "open dhcp server" as a PXE boot server. If there is another DHCP server B in the intranet, how...
1. Does FilterVendorClass support wildcards? Test wildcards are invalid For example without wildcards (match works): FilterVendorClass="PXEClient:Arch:00006:UNDI:003016" FilterVendorClass="PXEClient:Arch:00007:UNDI:003016" FilterVendorClass="PXEClient:Arch:00009:UNDI:003016" Use wildcards (match does not work): ;FilterVendorClass=00006 ;FilterVendorClass=00007 ;FilterVendorClass=00009 2. Configure "open dhcp server" as a PXE boot server. If there is another DHCP server B in the intranet, how to use...
If you want a DHCP server to deliver addresses in another subnet than the one it is directly connected to, you need to setup a DHCP relay on your router. Cisco call it IP helper. The relay will take the DHCPDISCOVER request made by the host in broadcast and forward it to the DHCP server specified in the DHCP relay configuration.
I'm using a static reservation to assign an IP address to a piece of custom hardware. While I see the device using "arp -a", I see no log messages in the Open DHCP window. Is it possible a DHCP request came in but no log messages were generated? I'm trying to figure out whether this is a problem with Open DHCP or with the firmware on the connected hardware. (I suspect the latter). I've tried both 1.80 and 1.81 and am using Windows 10, if that matters. Thanks. -- Jim Seymour Cipher Engineering LLC...
I made changes to version 1.80 and compiled it
See my comment in the thread in the Help Forum: https://sourceforge.net/p/dhcpserver/discussion/885120/thread/4f9eb1a4fc/#6918 Regards Max
Hi. Problem is a bug in OpenDHCPServer.cpp. It exists when OpenDHCPServer is run in the console using the "-v" argument. I guess void procHTTP(data19 *req) { ... if (verbatim || cfig.dhcpLogLevel >= 1 && (errno || req->bytes <= 0)) { sprintf(logBuff, "HTTP Client %s, Message Receive failed, WSAError %d", IP2String(tempbuff, req->remote.sin_addr.s_addr), errno); ... } should be void procHTTP(data19 *req) { ... if ((verbatim || cfig.dhcpLogLevel >= 1) && (errno || req->bytes <= 0)) { sprintf(logBuff,...
The documentation is misleading. There's a maximum of 32 [RANGE_SET] groups. But each [RANGE_SET] group can have multiple DHCPRange=... lines. And the maximum of all DHCPRange=... lines (over all [RANGE_SET] groups) is 125. Regards Max
Hi. Problem is a bug in OpenDHCPServer.cpp. I guess void procHTTP(data19 *req) { ... if (verbatim || cfig.dhcpLogLevel >= 1 && (errno || req->bytes <= 0)) { sprintf(logBuff, "HTTP Client %s, Message Receive failed, WSAError %d", IP2String(tempbuff, req->remote.sin_addr.s_addr), errno); ... } should be void procHTTP(data19 *req) { ... if ((verbatim || cfig.dhcpLogLevel >= 1) && (errno || req->bytes <= 0)) { sprintf(logBuff, "HTTP Client %s, Message Receive failed, WSAError %d", IP2String(tempbuff,...