11-25-2007 08:37 PM - edited 03-05-2019 07:36 PM
I want to configure the client sub-mask to be 255.255.255.255 when allocating a DHCP IP address from a network with a mask of 255.255.255.128. This seems to be option 1, according to all docs, and the syntax should be quite simple "option 1 hex FF:FF:FF:FF". However, IOS hiccups, saying "DHCP, no raw value option 1". What is that all about? I don't know what "raw value" is or what the alternatives are. I've gone through every reference site that I can think of, and am still in the dark. Any clues as to how to achieve the goal?
12-03-2007 08:42 AM
Raw value is the value you have given after the "hex" word in the command for option 1. If you want to configure a raw DHCP option, you can figure out the right option format and configure the value correctly. For example if you want to give IP 10.144.21.06 then its hex will be 010a.90dd.06, where
01 enc
0a 10
90 144
dd 221
06 06
12-03-2007 08:57 AM
thanks, that's what I thought I was doing with the hex pattern of all F's (I tried 'ffff.ffff' as well as the string shown). However, I see that you start your string with '01', which you describe as 'enc'. What's that all about? The rest of the encoding is easy enough, so maybe the problem is my failure to understand '01' == 'enc'
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide