Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
systeembeheer
New Contributor

DHCP option 191 HEX with 2 IP address

Hi,

 

I have a question. I will enable DHCP option 191 with 2 IP address. I can set 1 IP address. 

This is my dhcp config:

config system dhcp server edit 1 set ntp-service local set default-gateway 10.6.34.1 set netmask 255.255.255.0 set interface "lan" config ip-range edit 1 set start-ip 10.6.34.30 set end-ip 10.6.34.70 next end set timezone-option default set option1 191 '0a01221d' set dns-server1 10.1.34.60 set dns-server2 10.1.34.61 next end

 

The Cisco command for option 191 is: option 191 ascii pool1=10.1.34.22,10.1.34.29;level=2

 

Does anybody know how to do it?

 

Thanks a lot

 

Regards

1 Solution
Toshi_Esumi

This option looks like expecting ascii string. So if that Cisco's config w/ ascii works, I would try:

...

    config options

        edit 1

            set type string

            set value "pool1=10.1.34.22,10.1.34.29;level=2"

        next

    end

...

Then if it doesn't work, compare the packet between Cisco's outputs(working) and FG's outputs(not working).

View solution in original post

3 REPLIES 3
oheigl
Contributor II

Maybe you can give this KB article a try (just with your settings):

http://kb.fortinet.com/kb/documentLink.do?externalID=FD40183

 

If it's not working check with a packet trace or wireshark what exactly goes wrong with the DHCP offer

Toshi_Esumi

This option looks like expecting ascii string. So if that Cisco's config w/ ascii works, I would try:

...

    config options

        edit 1

            set type string

            set value "pool1=10.1.34.22,10.1.34.29;level=2"

        next

    end

...

Then if it doesn't work, compare the packet between Cisco's outputs(working) and FG's outputs(not working).

systeembeheer

This is the solution.

 

Thank you for your post.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors