yangye 发表于 2004-11-6 17:06:32

dhclient设置问题??

dhclient这个如何设置?各位高手请指教是不是这个原因。。。先看看这个
我这里的ADSL上网 DHCP自动获取IP,
有时侯是这样,就不掉线。。
Nov 1 16:34:31 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 16:34:31 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 16:34:32 localhost dhclient: bound to 61.54.76.14 -- renewal in 589 seconds.
Nov 1 16:35:01 localhost dhcpcd: recvfrom: Network is down
Nov 1 16:44:20 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 16:44:20 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 16:44:20 localhost dhclient: bound to 61.54.76.14 -- renewal in 598 seconds.
Nov 1 16:54:18 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 16:54:18 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 16:54:19 localhost dhclient: bound to 61.54.76.14 -- renewal in 474 seconds.
Nov 1 17:02:13 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 17:02:13 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 17:02:13 localhost dhclient: bound to 61.54.76.14 -- renewal in 508 seconds.
Nov 1 17:10:41 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 17:10:41 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 17:10:41 localhost dhclient: bound to 61.54.76.14 -- renewal in 575 seconds.
Nov 1 17:20:16 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 17:20:16 localhost dhclient: DHCPACK from 218.29.0.253
Nov 1 17:20:16 localhost dhclient: bound to 61.54.76.14 -- renewal in 550 seconds.
Nov 1 17:29:26 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 1 17:29:26 localhost dhclient: DHCPACK from 218.29.0.253


但有时间是这样就是10分钟掉一次
Nov 2 21:00:12 localhost dhclient: DHCPOFFER from 61.54.76.30
Nov 2 21:00:12 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 2 21:00:12 localhost dhclient: DHCPACK from 61.54.76.30
Nov 2 21:00:12 localhost dhclient: bound to 10.164.206.68 -- renewal in 490 seconds.
Nov 2 21:00:48 localhost dhclient: receive_packet failed on eth0: Network is down
Nov 2 21:01:07 localhost dhclient: receive_packet failed on eth0: Network is down
Nov 2 21:01:29 localhost gdm(pam_unix): session closed for user root
Nov 2 21:01:50 localhost gdm(pam_unix): session opened for user root by (uid=0)
Nov 2 21:08:22 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 2 21:08:58 localhost last message repeated 4 times
Nov 2 21:09:11 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 2 21:09:29 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Nov 2 21:09:29 localhost dhclient: Corrupt lease file - possible data loss!
Nov 2 21:09:33 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 2 21:09:38 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov 2 21:09:38 localhost dhclient: send_packet: Network is unreachable
Nov 2 21:09:38 localhost dhclient: send_packet: please consult README file regarding broadcast address.
Nov 2 21:09:41 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 2 21:09:51 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Nov 2 21:09:51 localhost dhclient: DHCPOFFER from 61.54.76.30
Nov 2 21:09:51 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Nov 2 21:09:51 localhost dhclient: DHCPACK from 61.54.76.30
Nov 2 21:09:51 localhost dhclient: receive_packet failed on eth0: Network is down
Nov 2 21:09:51 localhost dhclient: bound to 221.13.150.42 -- renewal in 549 seconds.
Nov 2 21:09:51 localhost dhclient: receive_packet failed on eth0: Network is down
Nov 2 21:10:48 localhost dhcpcd: recvfrom: Network is down


我的防火墙现在关了,还是这样??

dannycat 发表于 2004-11-6 18:12:24

网线有问题/ADSL 猫工作不稳定(电压?)

何必设 DHCP?

yangye 发表于 2004-11-6 18:13:57

可是我在 2000下没有问题
不断线就那么一次在linux下

不知道是不是它的问题。。

yangye 发表于 2004-11-6 19:57:40

没有人会??还是太幼稚??不屑回答??

dannycat 发表于 2004-11-6 21:04:03

Nov 2 21:00:12 localhost dhclient: bound to 10.164.206.68 -- renewal in 490 seconds.
Nov 2 21:00:48 localhost dhclient: receive_packet failed on eth0: Network is down
仅过了6秒就报告网络 down 了 :roll:
你的系统、内核版本、网卡型号、文件系统类型?

yangye 发表于 2004-11-6 21:22:45

Fedora1   kernel 2.4.22    Realtek RTL-8029(AS)   reiserfs

下面的每10分钟掉一次,,,

dannycat 发表于 2004-11-6 23:06:10

mii-tool 看一下网卡状态,FD 还是 HD,改一下试试。

fox_eagle2003 发表于 2004-11-6 23:43:05

:mrgreen: 奇怪,我的WIN下像他的LIN一样常断线,他的WIN下像我的LIN一样几乎不断线,同为adsl,可能是网络安全的问题,看看是不是被炸断线了,我天天升级debian,所以 :mrgreen: 比较安全。

yangye 发表于 2004-11-7 14:33:22

不会不会。。咱一介草夫,,没有人炸,,
各位没有人帮我?暗中也可以的
[email protected]

ps:不知道怎么看有没有被炸 :oops::oops:

yangye 发表于 2004-11-7 23:16:26

我这里是河南网通ADSL
我的解决方法,是这样的,我们认证程序需要dhcpcd,这个模块,是为了开机获取内网ip地址,
我仔细观察了2000下,认证程序10分钟刷新一次,
所以在linux下需要dhclient这个东东,你可以apt找到,
设定dhclient.conf,开机启动dhclient它,就不断线了!!!

谢谢各位斑竹的帮助,真的,自己觉得,公社氛围很好!!!!!
谢谢
页: [1]
查看完整版本: dhclient设置问题??