Menu

Error: Using IP address in DHCP Opt 66 or 150

rkmwpb
2024-06-04
2024-07-08
  • rkmwpb

    rkmwpb - 2024-06-04

    Dual Server has an error I've verified in both v7.75 & v8.00 RC.

    Using an IP address (four octets, eg- 99.99.99.99) in DHCP option# 66 or 150 (DHCP Options for TFTP server), will produce strange unicode results that are unrelated to the data.

    For example, the following works fine:

    66=tftp-server.internal
    

    Yet the following (either of the records) results in strange text from DualServer:

    66=10.10.10.10
    150=10.10.10.10
    

    In addition, there is something about the #3 option (Router aka Default Gateway) that doesn't work on the majority of my machines (linux or Windows). All other fields are populated; however, the Default Gateway is not.

    It makes no difference whether I use the name or number, for example:

    Router=10.10.10.1
    3=10.10.10.1
    
     

    Last edit: rkmwpb 2024-06-04
    • Achal Dhir

      Achal Dhir - 2024-07-08

      DHCP Options having string value should be double quoted

      66="10.10.10.10"
      150="10.10.1.010"

      Thanks

      Achal Dhir

      On Tue, Jun 4, 2024 at 8:18 AM rkmwpb rkmwpb@users.sourceforge.net wrote:

      Dual Server has an error I've verified in both v7.75 & v8.00 RC.

      Using an IP address (four octets, eg- 99.99.99.99) in DHCP option# 66 or
      150 (DHCP Options for TFTP server), will produce strange unicode results
      that are unrelated to the data.

      For example, the following works fine:
      66=tftp-server.internal

      Yet the following (either of the records) results in strange being
      delivered by DualServer:
      ~~~
      66=10.10.10.10
      150=10.10.1.010
      ~~~

      In addition, there is something about the #3 option (Router aka Default
      Gateway) that doesn't work on the majority of my machines (linux or
      Windows). All other fields are populated; however, the Default Gateway is
      not.

      It makes no difference whether I use the name or number, for example:
      ~~~
      Router=10.10.10.1
      3=10.10.10.1
      ~~~


      Error: Using IP address in DHCP Opt 66 or 150


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/dhcp-dns-server/discussion/451062/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       

Log in to post a comment.