2005年1月10日

[debian-users:42363] Re: dhcpd.confの設定

dhdpd.confを以下の通り設定したら、DHCPサーバーの設定がうまくいったようです
が、
カーネルを2.6.8では、DHCPサーバーが立ち上がっているのですが、
IPアドレスが割り当てられずに、インターネットが使えない状況です。

dpcp関連パッケージ
ii dhcp 2.0pl5-19.1 DHCP server for automatic IP address
assignm
ii dhcp-client 2.0pl5-19.1 DHCP Client
以上です。


kernel関連パッケージ
kernel-image-2.6.8-1-686(2.6.8-10)

dhcp.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 "ocn.ne.jp";
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.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.15;
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";
#}
以上です。

kernel2.6.8のエラー内容:
Jan 10 22:40:26 localhost dhclient: Internet Software Consortium DHCP
Client 2.0pl5
Jan 10 22:40:26 localhost dhclient: Copyright 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium.
Jan 10 22:40:26 localhost dhclient: All rights reserved.
Jan 10 22:40:26 localhost dhclient:
Jan 10 22:40:26 localhost dhclient: Please contribute if you find this
software useful.
Jan 10 22:40:26 localhost dhclient: For info, please visit
http://www.isc.org/dhcp-contrib.html
Jan 10 22:40:26 localhost dhclient:
Jan 10 22:40:27 localhost dhclient: Listening on LPF/eth0/00:40:d0:33:5d:ab
Jan 10 22:40:27 localhost dhclient: Sending on LPF/eth0/00:40:d0:33:5d:ab
Jan 10 22:40:27 localhost dhclient: Sending on
Socket/fallback/fallback-net
Jan 10 22:40:27 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 6
Jan 10 22:40:33 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 11
Jan 10 22:40:44 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 8
Jan 10 22:40:52 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 11
Jan 10 22:41:03 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 11
Jan 10 22:41:06 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jan 10 22:41:06 localhost kernel: eth0: Transmit timed out, status 1003,
PHY status 782d, resetting...
Jan 10 22:41:06 localhost kernel: eth0: Setting full-duplex based on MII #1
link partner capability of 45e1.
Jan 10 22:41:14 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255
port 67 interval 13
Jan 10 22:41:27 localhost dhclient: No DHCPOFFERS received.
Jan 10 22:41:27 localhost dhclient: No working leases in persistent
database.
Jan 10 22:41:27 localhost dhclient: Exiting.

_________________________________________________________________
MSN Hotmailで開運メルアド占い実施中
http://promotion.msn.co.jp/hotmail/fortune/input_un.asp


投稿者 xml-rpc : 2005年1月10日 23:30
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/15544
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。