Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP Options in 9.204-20

I was wondering if anyone else has run into this. I can't seem to add any DHCPv4 options to the firewall. Every time I add an option i get the following error message.

The DHCPv4 option object requires a number for the integer value attribute

Except the option value i am adding in this case is not an integer (ie: filename) I get the same error when using next-server.

Any assistance would be greatly appreciated.


This thread was automatically locked due to age.
  • I have done some more research into this and the dhcp options works up to version 9.203-3. update 9.204-20 breaks this. 

    I tested this by loading it into a vmware and using snap shots to flip from 9.203-3 and 9.204-20. As soon as i flip to 9.204-20 it breaks immediately as soon as i revert to 9.203-3 it starts to work as expected. 

    I don't know if this only affects vm/physical installations and not appliances as i don't have one to test with (or if it's even possible to revert a hardware appliance to an earlier version) Just thought i would throw the results out there.
  • I'm seeing the same issue... I had been attempting to deploy WDS for remote windows installations (tired of CD installs) I can't add any options either. I see the same error you're reporting. Also on 9.204-20, however i'm running on a decom ASG320 with a home license.
  • Me, too. I have submitted this to Sophos.  I believe you can make the change on a 9.203 and restore to 9.204.  I trust 9.204 more than 9.203, so that is what I would recommend.  Hopefully, this will be fixed quickly.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Having the same issue with my Sophos 320 units. Unable to configure PXE on the DHCP without this function.
  • The problem is present also in 9.205-12.
  • The problem is present also in 9.205-12.


    Where did you get that version?

    -----

    Best regards
    Martin

    Sophos XGS 2100 @ Home | Sophos v19 Architect

  • ftp://ftp.astaro.com/UTM/v9/up2date/u2d-sys-9.204020-205012.tgz.gpg


    damn! - I justed looked before posting....should have looked better! - Thanks :-)

    -----

    Best regards
    Martin

    Sophos XGS 2100 @ Home | Sophos v19 Architect

  • Is there a way to enter dhcp options from the command line?
  • Don't forget to open a support case if you have support and share "offical" workarounds and expected resolution times.

    Consider getting problems that impact you documented, confirmed and periodically reviewing them outside the technical support channel. 

    Create new boot-file object:
    cc set_object "{ 'class' => 'dhcp', 'data' => { 'address' => '', 'code' => -2, 'comment' => 'TFTP bootfile from command line', 'dhcp_name' => 'filename', 'host' => [], 'integer' => 0, 'mac' => '', 'scope' => 'global', 'server' => [], 'status' => 0, 'string' => '', 'text' => 'pxelinux.0', 'type' => 'text', 'vendor' => '' }, 'type' => 'option' }"


    Create new next-server DHCP object for target address in object REF_NetHosBogusAddre:
    cc set_object "{ 'class' => 'dhcp', 'data' => { 'address' => 'REF_NetHosBogusAddre', 'code' => -1, 'comment' => 'TFTP server from command line', 'dhcp_name' => 'next-server', 'host' => [], 'integer' => 0, 'mac' => '', 'scope' => 'global', 'server' => [], 'status' => 0, 'string' => '', 'text' => '', 'type' => 'ip-address', 'vendor' => '' }, 'type' => 'option' }"


    Show host object information for a particular IP, 192.0.2.5:
    cc get_objects_filtered '$_->{class} eq "network" && $_->{type} eq "host" && $_->{data}->{address} eq "192.0.2.5"' 


    Show dhcp option objects:
    cc get_objects_filtered '$_->{class} eq "dhcp" && $_->{type} eq "option"'


    If you need other dhcp options it might be best to build a 9.2 box that isn't broken then make the desired objects via webadmin and use the information above to create/build the objects via cc.
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?