Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

dhcp on IOS 12.2(29); how to set option 1

I want to configure the client sub-mask to be when allocating a DHCP IP address from a network with a mask of 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?


Re: dhcp on IOS 12.2(29); how to set option 1

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 then its hex will be 010a.90dd.06, where

01 enc

0a 10

90 144

dd 221

06 06

New Member

Re: dhcp on IOS 12.2(29); how to set option 1

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'

CreatePlease to create content