When a Device Functions as a DHCP Server, How to Set Option Fields? |
The following uses a case to answer this question. A customer's DHCP server is configured on a Ruijie switch. A client needs to acquire the server file startup path from the switch through DHCP Option 66. The server file startup path is 10.0.1.4:/var/tmp/rootfs. The configuration is as follows: ip dhcp pool ruijie option 66 ascii 10.0.1.4:/var/tmp/rootfs Notes: In the configuration: Ruijie(dhcp-config)#option 66 ? ascii Data is an NVT ASCII string //Common string hex Data is a hexadecimal string //String in hexadecimal notation, that is, characters ranging from 0 to F ip Data is one or more IP addresses /IP address In the test: The switch replies with the Option 66 field only when the client requests the Option 66 field. |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd