|
|
|
|
 启动时候dhclient失败 - coldwind [ 2005-11-21 02:47 | 2,696 byte(s)]
 Re: 启动时候dhclient失败 - coldwind [ 2005-11-22 15:37 | 453 byte(s)]
 Re: 启动时候dhclient失败 - coldwind [ 2005-11-28 01:12 | 10 byte(s)]
 Re: 启动时候dhclient失败 - li_jiaqi [ 2005-11-28 16:51 | 241 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
我在/etc/init.d内加入了一个简单脚本启动dhcp,执行命令行dhclient eth0 eth1
启动显示信息如下
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Nov 21 02:08:26 zeus dhclient: Listening on LPF/eth1/00:04:23:8d:2b:98
Nov 21 02:08:26 zeus dhclient: Sending on LPF/eth1/00:04:23:8d:2b:98
Nov 21 02:08:27 zeus dhclient: Listening on LPF/eth0/00:06:1b:cf:88:ca
Nov 21 02:08:27 zeus dhclient: Sending on LPF/eth0/00:06:1b:cf:88:ca
Nov 21 02:08:27 zeus dhclient: Sending on Socket/fallback/fallback-net
Nov 21 02:08:28 zeus dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
Nov 21 02:08:29 zeus dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Nov 21 02:08:29 zeus dhclient: receive_packet failed on eth0: Network is down
Nov 21 02:08:29 zeus dhclient: receive_packet failed on eth1: Network is down
Nov 21 02:08:29 zeus dhclient: DHCPOFFER from 192.168.1.1
Nov 21 02:08:31 zeus dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Nov 21 02:08:31 zeus dhclient: DHCPACK from 192.168.1.1
Nov 21 02:08:31 zeus dhclient: bound to 192.168.1.103 -- renewal in 3600 seconds.
网络完全没有反应,如果在启动后再手动输入dhclient eth0 eth1网络就正常,显示如下:
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth1/00:04:23:8d:2b:98
Sending on LPF/eth1/00:04:23:8d:2b:98
Listening on LPF/eth0/00:06:1b:cf:88:ca
Sending on LPF/eth0/00:06:1b:cf:88:ca
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
receive_packet failed on eth0: Network is down
DHCPACK from 192.168.1.1
bound to 192.168.1.103 -- renewal in 3600 seconds.
请问这是咋回事?
|
|
|
----
Jim Zeus
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
另外如果我在启动后键入dhclient eth1 (eth1是能工作的网卡)会出现以下信息:
Listening on LPF/eth1/00:04:23:8d:2b:98
Sending on LPF/eth1/00:04:23:8d:2b:98
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
SIOCADDRT: File exists
bound to 192.168.1.100 -- renewal in 3600 seconds.
但是网络仍然不能用
|
|
|
----
Jim Zeus
|
|
[Original]
[Print]
[Top]
|
|
« Previous thread
用IP来做多个链路出口问题 |
网络管理技术
第4页 |
Next thread »
请教 |
|