cancel
Showing results for 
Search instead for 
Did you mean: 

Correct way to enter negative time-offset in DHCP server?

kpfleming
New Contributor III

The 'option time-offset' command for the IPv4 DHCP server indicates that it accepts a 'signed integer representing the number of seconds offset from UTC'. I'm in America/New_York, so this value is "-18600".

However, 'option time-offset -18600' generates an error saying the input is invalid. 'option time-offset 18600' is accepted, though, so the command works for positive offsets.

What is the proper way to express a negative offset?

1 ACCEPTED SOLUTION

hashim_bharooc1
RUCKUS Team Member

Hi Kevin,


I think it is not working in 9010 we will need to open a defect.


If you try 8095 it does work i tested in both code:
please try this:

option 2 hex ffffffffffffb9b0


Best Regards


Thanks


Hashim

View solution in original post

4 REPLIES 4

hashim_bharooc1
RUCKUS Team Member

Hi Kevin,

Hope you are doing Great!!!

Can you please show the part of the configuration, try either of these two values:

0xFFFFD5D0

-5 -18000 FFFF.B9B0

SSH@ICX7150-C12 Router(config)#ip dhcp-server pool untrusted
SSH@ICX7150-C12 Router(config-dhcp-untrusted)#option time-offset -18000 
Invalid input ->-18000
Type ? for a list
Node doesn't exist
SSH@ICX7150-C12 Router(config-dhcp-untrusted)#option time-offset FFFF.B9B0
Invalid input ->FFFF.B9B0
Type ? for a list
Node doesn't exist
SSH@ICX7150-C12 Router(config-dhcp-untrusted)#option time-offset hex FFFF.B9B0
Invalid input ->hex FFFF.B9B0
Type ? for a list
Node doesn't exist

This ICX stack is running 09.0.10 software.

kpfleming
New Contributor III

Well, this thread can be ignored... as it turns out I have no need to use this option at all, since it's not for NTP 🙂

Options 100 and 101 are a better fit for my needs and are working fine.

hashim_bharooc1
RUCKUS Team Member

Hi Kevin,


I think it is not working in 9010 we will need to open a defect.


If you try 8095 it does work i tested in both code:
please try this:

option 2 hex ffffffffffffb9b0


Best Regards


Thanks


Hashim