How to pass correct DhcpNodeType (option 46) value to Win?

Hello!

I have a big problem with passing DHCP option 46 DhcpNodeType to windows clients. In case if I would like to set it to 1 (Broadcast) this works well, but when I wanna make Hybrid (8), winbox shows node type unkonown in ipconfig’s output and in registry I see value 38. This was happened with all previous versions and I still don’t know how to fix it. Wich value I have to use in the DHCP options on Mikrotik to get Hybrid (8) on Windows client?

Please help!!!

1.) find a RFC for this option

  1. go to DHCp-server option menu and wrote down the option according the standard - in the raw hexadecimal form

  2. go to the DHCP-server network menu and choose your option in network configuration

Thanks a lot for your answer!

RFC 1533 tells that 0x8 should be a Hybrid mode. Winbox does not allows to use 0x8, when I’m trying to use 0x00000008 then client receive B-Node (0x1) instead of H-Node.

What to do?

Thanks in advance!

Guys, I can’t use 0x8, 0x00000008 nor 8, how to pass Hybryd mode to client???

This works for me…
nodetype.png
… at least on XP… Vista says it’s ‘Unknown’.

It is 2014 and I can not get this to work either. In RouterOS 4 and 5 it was fine to give option 46 a value of 8, but this no longer works.

This is a snippet from my backup.rsc from the 5.x machine:

/ip dhcp-server option
add code=46 name=option046 value=8

In 6.17 this does not work anymore. I get the message “Bad delimiter” in both terminal and graphic configuration.

After some meddling I found that it is value=8 that is wrong. When I tried in hex (value=0x8) it said it could not recognise a string.

I look in the RFC http://www.faqs.org/rfcs/rfc2132.html and the values are given as I wrote them.

8.7. NetBIOS over TCP/IP Node Type Option

The NetBIOS node type option allows NetBIOS over TCP/IP clients which
are configurable to be configured as described in RFC 1001/1002. The
value is specified as a single octet which identifies the client type
as follows:

Value Node Type


0x1 B-node
0x2 P-node
0x4 M-node
0x8 H-node

In the above chart, the notation ‘0x’ indicates a number in base-16
(hexadecimal).

The code for this option is 46. The length of this option is always
1.

Code Len Node Type
±----±----±----------+
| 46 | 1 | see above |
±----±----±----------+

Can someone please tell me what to do when RFC hex doesn’t do it?

Had the same issue. Just added additional ‘0’ → 0x8 → 0x08