Extended dchp option

Options
dcordina
dcordina Posts: 4
First Comment
edited April 2021 in Security
I need to create a dhcp option with string but string is not in the list. What can I do? I use the usg 300

All Replies

  • mMontana
    mMontana Posts: 1,320  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    Which is the "DHCP Option" Number you have to create?
    For instance the TFTP Server name is Option 66 or 150
  • dcordina
    Options
    161 and 162
  • mMontana
    mMontana Posts: 1,320  Guru Member
    First Anniversary 10 Comments Friend Collector First Answer
    edited October 2019
    Options
    My bad...
    I did not remember than USG300 is a ZLD 3.x device, not a ZLD4.x device. Therefore, as far as i can remember, the options of DHCP Server cannot be created, at least via GUI (Web Interface).
    Considering age and lack of support (latest firmware dated 2015), if you need the service, you should:
    • use another DHCP Server not from USG device
    • change your USG device to a newer one, USG or VPN due to your necessity (210 or 310 model)
    Edit:
    ftp://ftp.zyxel.com/ZyWALL_USG_300/cli_reference_guide/ZyWALL USG 300_7.pdf
    Seems present a CLI Command for add options to DHCP.

    6.2.2.2 DHCP Extended Option Setting Command Example

    Router(config-ip-dhcp-pool)# exit<br>Router# configure terminal<br>Router(config)# ip dhcp pool DHCP_TEST<br>Router(config-ip-dhcp-pool)#&nbsp; dhcp-option 120 sip ip 192.168.1.20<br>
    Assuming DHCP_TEST as the name of the DHCP pool
    I dont know the correct syntax for the option 161...

  • dcordina
    Options
    Yes they can be created through gui. There is the show advanced option in the vlan. Unfortunately the string is not in the list. Is there any alternative that I can use to string?
  • Zyxel_Emily
    Zyxel_Emily Posts: 1,298  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Options
    Hi @dcordina,

    You can select "TEXT" as the type for string.


  • dcordina
    Options
    Great thanks.

Security Highlight