Jul 22 00:10:33 ns dhcpd: DHCPREQUEST for 192.168.11.3 from 00:16:01:35:xx:yy via eth0 Jul 22 00:10:33 ns dhcpd: DHCPNAK on 192.168.11.3 to 00:16:01:35:xx:yy via eth0 Jul 22 00:10:33 ns dhcpd: DHCPDISCOVER from 00:16:01:35:xx:yy via eth0 Jul 22 00:10:34 ns dhcpd: DHCPOFFER on 192.168.1.123 to 00:16:01:35:xx:yy via eth0 Jul 22 00:10:34 ns dhcpd: DHCPREQUEST for 192.168.1.123 from 00:16:01:35:xx:yy via eth0 Jul 22 00:10:34 ns dhcpd: DHCPACK on 192.168.1.123 to 00:16:01:35:xx:yy via eth0が残った。
[root@ns /etc]# diff -c hosts.orig hosts *** hosts.orig 2006-07-02 09:13:33.000000000 +0900 --- hosts 2006-07-22 00:21:08.000000000 +0900 *************** *** 40,45 **** --- 40,46 ---- 192.168.1.35 hage # KURO-BOX/HG 192.168.1.36 red # RED HD-120LAN V2 192.168.1.37 gawa # HD-HGLAN (2nd) + 192.168.1.38 ude # LS-160GL # Linux #192.168.1.40 tp310 [root@ns /etc]#
[root@ns /etc]# diff -c dhcpd.conf.orig dhcpd.conf *** dhcpd.conf.orig 2006-04-30 17:04:04.000000000 +0900 --- dhcpd.conf 2006-07-22 00:18:10.000000000 +0900 *************** *** 140,145 **** --- 140,149 ---- fixed-address 192.168.1.37; } + host ude { + hardware ethernet 00:16:01:35:xx:yy; + fixed-address 192.168.1.38; + } [root@ns /etc]# /etc/rc.d/init.d/dhcpd reload dhcpdを停止中: [ OK ] dhcpdを起動中: [ OK ] [root@ns /etc]#LS-GL を再起動すると、192.168.1.38 が割り当てられた
Jul 22 08:59:42 ns dhcpd: DHCPREQUEST for 192.168.1.38 from 00:16:01:35:xx:yy via eth0 Jul 22 08:59:42 ns dhcpd: DHCPACK on 192.168.1.38 to 00:16:01:35:xx:yy via eth0ところで、00:16:01 ってどこに割り当てられた番号だろう?。
[root@ns /etc]# cd /var/named/ [root@ns named]# diff -c 1.168.192-rev.orig 1.168.192-rev *** 1.168.192-rev.orig 2006-07-02 09:15:34.000000000 +0900 --- 1.168.192-rev 2006-07-22 00:23:20.000000000 +0900 *************** *** 1,7 **** $ORIGIN . $TTL 3600 ; 1 hour 1.168.192.in-addr.arpa IN SOA ns.yamasita.jp. root.yamasita.jp. ( ! 2006070201 ; serial 3600 ; refresh (1 hour) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) --- 1,7 ---- $ORIGIN . $TTL 3600 ; 1 hour 1.168.192.in-addr.arpa IN SOA ns.yamasita.jp. root.yamasita.jp. ( ! 2006072201 ; serial 3600 ; refresh (1 hour) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) *************** *** 74,79 **** --- 74,80 ---- 35 PTR hage.yamasita.jp. 36 PTR red.yamasita.jp. 37 PTR gawa.yamasita.jp. + 38 PTR ude.yamasita.jp. 41 PTR junk.yamasita.jp. 5 PTR hb.yamasita.jp. 50 PTR cowboy.yamasita.jp. [root@ns named]# diff -c yamasita.jp-in-zone.orig yamasita.jp-in-zone *** yamasita.jp-in-zone.orig 2006-07-02 09:15:19.000000000 +0900 --- yamasita.jp-in-zone 2006-07-22 00:24:17.000000000 +0900 *************** *** 1,7 **** $ORIGIN . $TTL 3600 ; 1 hour yamasita.jp IN SOA ns.yamasita.jp. root.yamasita.jp. ( ! 2006070201 ; serial 3600 ; refresh (1 hour) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) --- 1,7 ---- $ORIGIN . $TTL 3600 ; 1 hour yamasita.jp IN SOA ns.yamasita.jp. root.yamasita.jp. ( ! 2006072201 ; serial 3600 ; refresh (1 hour) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) *************** *** 68,73 **** --- 68,74 ---- junk A 192.168.1.41 kuro A 192.168.1.31 link A 192.168.1.30 + ude A 192.168.1.38 mail CNAME ns mebiusl A 192.168.1.23 mebiusw A 192.168.1.22 [root@ns named]# /etc/rc.d/init.d/named restart namedを停止中: [失敗] namedを起動中: [ OK ] [root@ns named]#「失敗」はいつものこと。
これで、LS-GL も我が家の仲間入り
← 玄人志向 LS-160GL(笑) |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-GL:いきなり telnet |