Technical article 125540

DHCP is reporting "Unknown user class XXX" and "Unknown vendor class XXX" in syslog.

OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

The dhcpd daemon is reporting messages similar to the following in to syslog;

Dec 18 18:27:18 servername dhcpd[28655]: Unknown user class RRAS.Microsoft Dec 18 18:27:18 servername dhcpd[28655]: Unknown vendor class 0x4d53465420352e30

What is happening and how can I stop this happening?

Cause

This is not an operating system error. /etc/dhcpd.conf needs to be edited to make it aware of the new device requesting an IP address.

Solution

The "0x4d53465420352e30" part of the vendor class is a series of hex numbers, which need to be split as follows, then converted to ascii for inclusion in the dhcpd.conf file.

4d 53 46 54 20 35 2e 30

The following script will convert these numbers to ascii characters as follows. Ensure that you have Perl installed and in your path first.

**********
echo "4d 53 46 54 20 35 2e 30" | \
perl -nle 'print join "", map { chr hex $_ } split " ";'
---> MSFT 5.0
**********

Adding the following to your /etc/dhcpd.conf should therefore stop the messages:

vendor_class "MSFT 5.0" { comment To Silence Dhcpd }

You may also need the following to silence the RRAS.Microsoft issues;

user_class "RRAS.Microsoft" { comment To Silence DHCP RE MS Devices }

You must restart dhcpd for the changes to take effect. This
can be accomplished by either by issuing a `kill -1` on
the dhcpd pid or restarting your server.
NOTES:    OpenServer 5.0.5 & 5.0.6 - If you try to add a vendor class string
          with white space (such as "MSFT 98" or "MSFT 5.0") in the GUI DHCP
          Manager and select the OK button, the window closes, disappears and
          the vendor class information is not saved. If I enter the same string
          info with no white space then the vendor class info is saved. This is
          a known issue which has been resolved in OpenServer 5.0.7.

See also

man dhcpd

From the Xinuos technical article database, record 125540. Reproduced with permission. The original is at www.sco.com/ta/125540, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.