Skip to main content
systeembeheer
New Member
July 26, 2017
Solved

DHCP option 191 HEX with 2 IP address

  • July 26, 2017
  • 3 replies
  • 7909 views

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

Best answer by 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).

3 replies

oheigl
New Member
July 26, 2017

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
SuperUser
SuperUser
July 26, 2017

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
New Member
August 1, 2017

This is the solution.

 

Thank you for your post.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!