QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4476|回复: 9

dhclient设置问题??

[复制链接]
发表于 2004-11-6 17:06:32 | 显示全部楼层 |阅读模式
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[8681]: 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)[1250]: session closed for user root
Nov 2 21:01:50 localhost gdm(pam_unix)[1250]: 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[1482]: recvfrom: Network is down


我的防火墙现在关了,还是这样??
发表于 2004-11-6 18:12:24 | 显示全部楼层
网线有问题/ADSL 猫工作不稳定(电压?)

何必设 DHCP?
回复

使用道具 举报

 楼主| 发表于 2004-11-6 18:13:57 | 显示全部楼层
可是我在 2000下没有问题
不断线就那么一次在linux下

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

使用道具 举报

 楼主| 发表于 2004-11-6 19:57:40 | 显示全部楼层
没有人会??还是太幼稚??不屑回答??
回复

使用道具 举报

发表于 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 了
你的系统、内核版本、网卡型号、文件系统类型?
回复

使用道具 举报

 楼主| 发表于 2004-11-6 21:22:45 | 显示全部楼层
Fedora1   kernel 2.4.22    Realtek RTL-8029(AS)   reiserfs

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

使用道具 举报

发表于 2004-11-6 23:06:10 | 显示全部楼层
mii-tool 看一下网卡状态,FD 还是 HD,改一下试试。
回复

使用道具 举报

发表于 2004-11-6 23:43:05 | 显示全部楼层
奇怪,我的WIN下像他的LIN一样常断线,他的WIN下像我的LIN一样几乎不断线,同为adsl,可能是网络安全的问题,看看是不是被炸断线了,我天天升级debian,所以 比较安全。
回复

使用道具 举报

 楼主| 发表于 2004-11-7 14:33:22 | 显示全部楼层
不会  不会。。咱一介草夫,,没有人炸,,
各位没有人帮我?暗中也可以的
[email protected]

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

使用道具 举报

 楼主| 发表于 2004-11-7 23:16:26 | 显示全部楼层
我这里是河南网通ADSL
我的解决方法,是这样的,我们认证程序需要dhcpcd,这个模块,是为了开机获取内网ip地址,
我仔细观察了2000下,认证程序10分钟刷新一次,
所以在linux下需要dhclient这个东东,你可以apt找到,
设定dhclient.conf,开机启动dhclient它,就不断线了!!!

谢谢各位斑竹的帮助,真的,自己觉得,公社氛围很好!!!!!
谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 00:31 , Processed in 0.038280 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表