id summary reporter owner description type status priority component resolution keywords cc 2 dhclientが頻繁にDHCPREQUESTを送信する問題 mitty mitty " = 例 = 1. under Windows' ICS {{{ Jun 29 06:51:58 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 06:51:58 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 06:51:58 iqus dhclient: bound to 192.168.0.83 -- renewal in 267 seconds. Jun 29 06:56:25 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 06:56:25 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 06:56:25 iqus dhclient: bound to 192.168.0.83 -- renewal in 246 seconds. Jun 29 07:00:31 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 07:00:31 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 07:00:31 iqus dhclient: bound to 192.168.0.83 -- renewal in 296 seconds. Jun 29 07:05:27 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 07:05:27 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 07:05:27 iqus dhclient: bound to 192.168.0.83 -- renewal in 271 seconds. Jun 29 07:09:58 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 07:09:58 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 07:09:58 iqus dhclient: bound to 192.168.0.83 -- renewal in 254 seconds. Jun 29 07:14:12 iqus dhclient: DHCPREQUEST of on eth0 to 192.168.0.1 port 67 Jun 29 07:14:12 iqus dhclient: DHCPACK of 192.168.0.83 from 192.168.0.1 Jun 29 07:14:12 iqus dhclient: bound to 192.168.0.83 -- renewal in 241 seconds. }}} * renewalのたびに同じIPが振られるので使用上の問題はない 1. under WAN with DHCPd (2 devices) {{{ Jun 30 23:25:51 ubuntu-lan1 dhclient: DHCPREQUEST of on eth0 to 255.255.255.255 port 67 Jun 30 23:25:51 ubuntu-lan1 dhclient: DHCPREQUEST of on eth1 to 130.xyz.254.6 port 67 Jun 30 23:25:51 ubuntu-lan1 dhclient: DHCPACK of 133.xx.81.26 from 130.xyz.254.5 Jun 30 23:25:51 ubuntu-lan1 dhclient: bound to 133.xx.81.26 -- renewal in 250 seconds. Jun 30 23:26:03 ubuntu-lan1 dhclient: DHCPREQUEST of on eth1 to 130.xyz.254.6 port 67 Jun 30 23:26:15 ubuntu-lan1 dhclient: DHCPREQUEST of on eth1 to 255.255.255.255 port 67 Jun 30 23:26:15 ubuntu-lan1 dhclient: DHCPACK of 133.xx.80.60 from 130.xyz.254.5 Jun 30 23:26:15 ubuntu-lan1 dhclient: bound to 133.xx.80.60 -- renewal in 250 seconds. Jun 30 23:30:01 ubuntu-lan1 dhclient: DHCPREQUEST of on eth0 to 130.xyz.254.6 port 67 Jun 30 23:30:19 ubuntu-lan1 last message repeated 3 times Jun 30 23:30:25 ubuntu-lan1 dhclient: DHCPREQUEST of on eth1 to 130.xyz.254.6 port 67 }}} * renewalのたびに同じIPが振られるので使用上の問題はない * dhcp-server-identifierで示されるDHCPdのIPとは違うIPからDHCPACKが帰ってきている * dhcpd側の設定ミス? 1. under WAN with DHCPd (2 devices) {{{ Jul 2 00:24:16 VM-centos5 dhclient: DHCPREQUEST on eth0 to 130.xyz.254.6 port 67 Jul 2 00:24:22 VM-centos5 dhclient: DHCPREQUEST on eth1 to 130.xyz.254.6 port 67 Jul 2 00:24:25 VM-centos5 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Jul 2 00:24:25 VM-centos5 dhclient: DHCPACK from 130.xyz.254.5 Jul 2 00:24:25 VM-centos5 dhclient: bound to 133.xx.80.164 -- renewal in 267 seconds. Jul 2 00:24:31 VM-centos5 dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67 Jul 2 00:24:31 VM-centos5 dhclient: DHCPACK from 130.xyz.254.5 Jul 2 00:24:31 VM-centos5 dhclient: bound to 133.xx.81.135 -- renewal in 273 seconds. Jul 2 00:28:52 VM-centos5 dhclient: DHCPREQUEST on eth0 to 130.xyz.254.6 port 67 Jul 2 00:29:00 VM-centos5 dhclient: DHCPREQUEST on eth0 to 130.xyz.254.6 port 67 Jul 2 00:29:04 VM-centos5 dhclient: DHCPREQUEST on eth1 to 130.xyz.254.6 port 67 Jul 2 00:29:15 VM-centos5 last message repeated 2 times Jul 2 00:29:18 VM-centos5 dhclient: DHCPREQUEST on eth0 to 130.xyz.254.6 port 67 }}} * 同上 1. under Windows' ICS (2 devices) {{{ Jul 1 23:46:33 ubuntu-napt dhclient: DHCPREQUEST of on eth1 to 192.168.0.1 port 67 Jul 1 23:46:33 ubuntu-napt dhclient: DHCPNAK from 192.168.0.1 Jul 1 23:46:34 ubuntu-napt dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7 Jul 1 23:46:34 ubuntu-napt dhclient: DHCPOFFER of 192.168.0.173 from 192.168.0.1 Jul 1 23:46:34 ubuntu-napt dhclient: DHCPREQUEST of 192.168.0.173 on eth1 to 255.255.255.255 port 67 Jul 1 23:46:35 ubuntu-napt dhclient: DHCPACK of 192.168.0.173 from 192.168.0.1 Jul 1 23:46:36 ubuntu-napt dhclient: bound to 192.168.0.173 -- renewal in 237 seconds. Jul 1 23:50:31 ubuntu-napt dhclient: DHCPREQUEST of on eth2 to 192.168.0.1 port 67 Jul 1 23:50:31 ubuntu-napt dhclient: DHCPACK of 192.168.0.234 from 192.168.0.1 Jul 1 23:50:31 ubuntu-napt dhclient: bound to 192.168.0.234 -- renewal in 225 seconds. Jul 1 23:50:33 ubuntu-napt dhclient: DHCPREQUEST of on eth1 to 192.168.0.1 port 67 Jul 1 23:50:33 ubuntu-napt dhclient: DHCPNAK from 192.168.0.1 Jul 1 23:50:34 ubuntu-napt dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6 Jul 1 23:50:34 ubuntu-napt dhclient: DHCPOFFER of 192.168.0.52 from 192.168.0.1 Jul 1 23:50:34 ubuntu-napt dhclient: DHCPREQUEST of 192.168.0.52 on eth1 to 255.255.255.255 port 67 Jul 1 23:50:35 ubuntu-napt dhclient: DHCPACK of 192.168.0.52 from 192.168.0.1 Jul 1 23:50:36 ubuntu-napt dhclient: bound to 192.168.0.52 -- renewal in 270 seconds. Jul 1 23:54:16 ubuntu-napt dhclient: DHCPREQUEST of on eth2 to 192.168.0.1 port 67 Jul 1 23:54:16 ubuntu-napt dhclient: DHCPACK of 192.168.0.234 from 192.168.0.1 Jul 1 23:54:16 ubuntu-napt dhclient: bound to 192.168.0.234 -- renewal in 272 seconds. Jul 1 23:55:06 ubuntu-napt dhclient: DHCPREQUEST of on eth1 to 192.168.0.1 port 67 Jul 1 23:55:06 ubuntu-napt dhclient: DHCPNAK from 192.168.0.1 Jul 1 23:55:07 ubuntu-napt dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6 Jul 1 23:55:07 ubuntu-napt dhclient: DHCPOFFER of 192.168.0.60 from 192.168.0.1 Jul 1 23:55:07 ubuntu-napt dhclient: DHCPREQUEST of 192.168.0.60 on eth1 to 255.255.255.255 port 67 Jul 1 23:55:08 ubuntu-napt dhclient: DHCPACK of 192.168.0.60 from 192.168.0.1 Jul 1 23:55:09 ubuntu-napt dhclient: bound to 192.168.0.60 -- renewal in 240 seconds. }}} * eth1に関しては、renewalのたびに違うIPになっている * 192.168.0.173 -> 192.168.0.52 -> 192.168.0.60 * eth2は同じIPのまま * 192.168.0.234 = 問題点 = 1. ログファイル (CentOS=>/var/log/messages, Ubuntu=>/var/log/syslog) が非常に肥大化する 1. WindowsのICS下のNICが二つあるクライアントでは、二つのうち一つのNICのIPがrenewal毎(数分おき)に更新されてしまい安定しない * もう一方のNICのIPはずっと同じままだが、どこに差違があるか不明 * [http://www.google.com/search?q=dhclient+renewal+seconds dhclient renewal seconds - Google 検索] " defect new major network