Folks, I was adding reserved IP address on the DHCP. We have a number of static ip in our network but for the purposes of documenting and finding easily we’re adding entries in the DHCP reservation in case any currently static IPs should be made DHCP that are not servers and associates the assignment with mac addresses. We’ve successfully all but one. We have defined the DHCP assignment range of 192.168.1.100-192.168.1.180. We found an IP Phone that we presume is static set to 192.168.189. The Mac Address is: 00:04:f2:29:27:(xx) (with a tab, copied from command line). When I attempt to reserve this IP we get this error:
IP address
Conflicts with another machine
MAC address
valid MAC address
Thinking this was odd I noticed the cursor wasn’t next to the last character. Removing the training white space it worked properly. This seems like someone isn’t trimming the tail whitespace on the MAC Address (and possibly other fields) on submission. This may be a small point but I would recommend doing a trim (left and right) on the JavaScript level at least data type fields like Mac Address and IP address. Text fields can be left untrimmed I suppose (I would personally still trim left and right of those too), but on any specified data type fields (numeric only, ip address, mac address for example) should be trimmed. Could cause confusion for those who may not notice if there is invisible white space in a copied value from another source. (In my case, the linux command prompt). The error message about conflicting IP is doubly strange because the whitespace was on the mac address, not the IP address (which I typed manually)