vine-users ML アーカイブ



[vine-users:061049] dhch デーモンの起動エラー (vine2.5)

  • From: "MiwaYoneda" <y_or_iy_or_i@xxxxxxxxxxx>
  • Subject: [vine-users:061049] dhch デーモンの起動エラー (vine2.5)
  • Date: Wed, 25 Jun 2003 00:39:15 +0900
MYonedaと申します。
vine2.5でDHCPサーバを構築しています。


|
(ppp0「foo.ddns.net」)
RedHat9(非公開DNSサーバ構築済)
(eth2「192.168.1.1」「rh2.foo.ddns.net」)
|
(eth0「192.168.1.105」「vine0.foo.ddns.net」)
vine2.5
(eth1「192.168.2.1」)
|
(eth0)
TurboLinux8

としています。vine2.5はRH9をゲートウェイにしています。
これに最近、TurboLinux8のノートPCを接続してみました。

# rpm -qa | grep dhcp
dhcp-2.0pl5-6vl1
dhcpcd-1.3.21pl2-2vl1
# grep -v ^# /etc/sysconfig/dhcpd
DHCPDARGS=eth1
# cp /usr/doc/dhcp-2.0pl5/dhcpd.conf.sample /etc/dhcpd.conf
# grep -v ^# /etc/dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {
        option routers                  192.168.2.1;
        option subnet-mask              255.255.255.0;

        option nis-domain               "domain.org";
        option domain-name              "foo.ddns.net";
        option domain-name-servers      192.168.1.1;

        option time-offset              -5;     # Eastern Standard Time

        range dynamic-bootp 192.168.0.128 192.168.0.255;
        default-lease-time 21600;
        max-lease-time 43200;

        # we want the nameserver to appear at a fixed address
        host ns {
                next-server marvin.redhat.com;
                hardware ethernet 12:34:56:78:AB:CD;
                fixed-address 207.175.42.254;
        }
}
# cat /etc/sysconfig/network-scripts/ifcfg-eth1
BROADCAST=192.168.2.255
DEVICE=eth1
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.2.1
NETWORK=192.168.2.0

という風に設定してみてvine2.5をリブートしてみましたが何故か
Jun 24 18:00:22 vine0 dhcpd: Internet Software Consortium DHCP Server 2.0pl5
Jun 24 18:00:22 vine0 dhcpd: Copyright 1995, 1996, 1997, 1998, 1999 The
Internet Software Consortium.
Jun 24 18:00:22 vine0 dhcpd: All rights reserved.
Jun 24 18:00:22 vine0 dhcpd:
Jun 24 18:00:22 vine0 dhcpd: Please contribute if you find this software
useful.
Jun 24 18:00:22 vine0 dhcpd: For info, please visit
http://www.isc.org/dhcp-contrib.html
Jun 24 18:00:23 vine0 dhcpd:
Jun 24 18:00:23 vine0 dhcpd: marvin.redhat.com: no A record associated with
address
Jun 24 18:00:23 vine0 dhcpd: marvin.redhat.com: no A record associated with
address
Jun 24 18:00:24 vine0 dhcpd: No subnet declaration for eth1 (192.168.2.1).
Jun 24 18:00:24 vine0 dhcpd: Please write a subnet declaration in your
dhcpd.conf file for the
Jun 24 18:00:24 vine0 dhcpd: network segment to which interface eth1 is
attached.
Jun 24 18:00:24 vine0 dhcpd: exiting.
Jun 24 18:00:24 vine0 dhcpd: dhcpd startup failed

というエラーが発生していまいます。これにはどう対処したら起動できるのでしょう
か?
(next-serverステートメントはdhcpには関係無いのですよね)

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/