Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DHCP and Wins node
A new question about DHCP:
I wanna set net-bios-node type. In dhcpd.conf I used option netbios-node-type 2 (only wins server - http://www.daemon-systems.org/man/dhcp-options.5.html ). I fortigate I tried to use option in config.
Based on
http://www.networksorcery.com/enp/protocol/bootp/options.htm
and
http://nvelocity.info/index.php?title=Fortinet_and_DHCP_Options
I set this:
set option1 46 ' 32'
32 is ascii for 2 - P-node (Peer/Wins only). But client always got 8- H-node (Hybrid - WINS, then broadcast).
What am I doing wrong?
9 REPLIES 9
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set option1 46 ' 32' 32 is ascii for 2Hi, I cannot follow your conclusion about the 32, cause this isn' t an ASCII option! .... Just " 2" should actually do it! cheers.roman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
32 is Hex for ASCII ' 2' ...
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ORIGINAL: rwpatterson 32 is Hex for ASCII ' 2' ...Sure! But this option is numeric and not text! cheers.roman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmmm I think it' s hex:
forti (internal_dhcp_~e) # set option1 46 2 Please input even number of hexdecimal characters node_check_object fail! for option1 2 value parse error before ' 2' Command fail. Return code -651 forti (internal_dhcp_~e) #
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try 32 without the quotes????
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With or without quotes - the same client still got Hybrid (8) not Peer (2) node. So it still does not work.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I' m quiet confident, that:
set option1 46 02
should do it!!
cheers.roman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set option1 46 02Big tnx - it works :)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use the following command
config system dhcp server
edit <DHCP_Server_Name>
set netbios-node-type 2
next
end
Save and renew the DHCP lease on the client or wait for the lease to expire and then request a new lease to see the updated option value being used.