티스토리 뷰

개발/Network

dhcp lease time

Jaeyeon Baek 2012. 10. 26. 17:17

DHCP의 lease time을 기록한 파일(dhcpd.lease) 내 시간은  local timezone의 영향을 따르지 않는

UTC 시간입니다.


오해들하지 말아야 합니다..

아래와 같이 dhcpd.lease 파일을 열어보면.. 친절하게 설명까지 있습니다.


#  cat dhcpd.lease 

# All times in this file are in UTC (GMT), not your local timezone.   This is

# not a bug, so please don't ask about it.   There is no portable way to

# store leases in the local timezone, so please don't request this as a

# feature.   If this is inconvenient or confusing to you, we sincerely

# apologize.   Seriously, though - don't ask.

# The format of this file is documented in the dhcpd.leases(5) manual page.

# This lease file was written by isc-dhcp-V3.0.2rc3


lease 192.168.20.253 {

  starts 1 2012/09/10 10:44:47;

  ends 1 2012/09/10 10:46:14;

  tstp 1 2012/09/10 10:46:14;

  binding state free;

  hardware ethernet ~~;

  uid "\001\\&\012o\272c";

}

lease 192.168.20.52 {

  starts 1 2012/09/10 11:00:49;

  ends 1 2012/09/10 11:02:29;

  tstp 1 2012/09/10 11:02:29;

  binding state free;

  hardware ethernet ~~;

  uid "\001\000\033\325,j\205";

}

lease 192.168.20.254 {

  starts 1 2012/09/10 11:01:42;

  ends 1 2012/09/10 11:03:22;

  tstp 1 2012/09/10 11:03:22;

  binding state free;

  hardware ethernet ~~;

  uid "\001\000!\330\271\315y";

}

lease 192.168.10.254 {

  starts 1 2012/09/10 11:02:06;

  ends 1 2012/09/10 11:03:46;

  tstp 1 2012/09/10 11:03:46;

  binding state free;

  hardware ethernet ~~;

  uid "\001\\&\012o\272c";

}




기왕이면 timezone의 영향을 받을 수 있는 Option이나 만들어 두던가.. 무책임하군요;;

'개발 > Network' 카테고리의 다른 글

[ssh] key 교환 알고리즘 수정  (0) 2013.12.22
sendmail error  (0) 2012.10.30
FTP 20, 21 port  (0) 2012.10.09
Windows XP IPv6 사용  (0) 2012.05.16
L3 ping 테스트  (0) 2012.04.30
댓글
최근에 올라온 글
최근에 달린 댓글
글 보관함
Total
Today
Yesterday