[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:42347] dhcpd.confの設定
- From: "Itoh Nobuhiro" <white_fuel@xxxxxxxxxxx>
- Subject: [debian-users:42347] dhcpd.confの設定
- Date: Mon, 10 Jan 2005 12:40:05 +0900
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
- List-id: debian-users.debian.or.jp
- List-owner: <mailto:debian-users-admin@debian.or.jp>
- List-post: <mailto:debian-users@debian.or.jp>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
- X-original-to: debian-users@debian.or.jp
- X-originalarrivaltime: 10 Jan 2005 03:40:03.0035 (UTC) FILETIME=[117982B0:01C4F6C6]
- X-originating-email: [white_fuel@xxxxxxxxxxx]
- X-originating-ip: [220.105.154.187]
- X-spam-level: **
- X-spam-status: No, hits=2.8 required=10.0 tests=IN_REP_TO,ISO2022JP_BODY,ISO2022JP_CHARSET, MSG_ID_ADDED_BY_MTA_2,RCVD_IN_ORBS,RCVD_IN_OSIRUSOFT_COM, SPAM_PHRASE_00_01,X_OSIRU_OPEN_RELAY version=2.44
- Message-id: <BAY101-F298C92B045E897130C9601ED970@xxxxxxx>
- X-mail-count: 42347
伊藤です。
DHCPサーバーを立ち上げようと思っているんですが、
dhcp.confを編集して、/etc/init.d/dhcp restartを
実行しても、
Starting DHCP server: dhcpd failed to start - check syslog for diagnostics.
というエラーが出てしまい、うまくいきません。
dhcpd.confの内容
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.4.2.2 2002/07/10 03:50:33 peloy Exp $
#
# option definitions common to all supported networks...
#option domain-name "fugue.com";
#option domain-name-servers toccata.fugue.com;
option domain-name "192.168.0.1";
option domain-name-servers 192.168.0.1;
#option subnet-mask 255.255.255.224;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.0.1 netmask 255.255.255.0 {
range 192.168.0.3 192.168.0.10;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}
#subnet 204.254.239.0 netmask 255.255.255.224 {
# range 204.254.239.10 204.254.239.20;
# option broadcast-address 204.254.239.31;
# option routers prelude.fugue.com;
#}
# The other subnet that shares this physical network
#subnet 204.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 204.254.239.10 204.254.239.20;
# option broadcast-address 204.254.239.31;
# option routers snarg.fugue.com;
#}
#subnet 192.5.5.0 netmask 255.255.255.224 {
# range 192.5.5.26 192.5.5.30;
# option name-servers bb.home.vix.com, gw.home.vix.com;
# option domain-name "vix.com";
# option routers 192.5.5.1;
# option subnet-mask 255.255.255.224;
# option broadcast-address 192.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
#}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}
# If a DHCP or BOOTP client is mobile and might be connected to a variety
# of networks, more than one fixed address for that host can be specified.
# Hosts can have fixed addresses on some networks, but receive dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address. If a client should get different parameters depending on
# what subnet it boots on, host declarations for each such network should
# be given. Finally, if a domain name is given for a host's fixed address
# and that domain name evaluates to more than one address, the address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
# filename "vmunix.confusia";
# server-name "toccata.fugue.com";
#}
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# fixed-address confusia-3.fugue.com;
# filename "vmunix.confusia";
# server-name "snarg.fugue.com";
#}
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# filename "vmunix.confusia";
# server-name "bb.home.vix.com";
#}
以上です。
/var/log/syslogの内容
Jan 10 12:37:01 localhost dhcpd: Address range 192.168.0.3 to 192.168.0.10
not on net 192.168.0.1/255.255.255.0!
Jan 10 12:37:01 localhost dhcpd: exiting.
以上です。
ifconfigの実行内容
eth0 リンク方法:イーサーネット ハードウェアアドレス 00:40:D0:33:5D:AB
inetアドレス:192.168.0.3 ブロードキャスト:192.168.0.255 マスク
:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2723 errors:0 dropped:0 overruns:0 frame:0
TX packets:2850 errors:0 dropped:0 overruns:0 carrier:0
衝突(Collisions):0 TXキュー長:1000
RX bytes:1902694 (1.8 MiB) TX bytes:415711 (405.9 KiB)
割り込み:3 ベースアドレス:0xe800
lo リンク方法:ローカルループバック
inetアドレス:127.0.0.1マスク:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:106 errors:0 dropped:0 overruns:0 frame:0
TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
衝突(Collisions):0 TXキュー長:0
RX bytes:6740 (6.5 KiB) TX bytes:6740 (6.5 KiB)
以上です。
よろしくお願い致します。
_________________________________________________________________
楽しい絵文字でココロ伝わるメッセンジャー http://messenger.msn.co.jp/