按照LS的提示重新起一下网络看看。作者: tiansky 时间: 2008-07-01 20:27
[root@Runtop ~]# tail -f /var/log/messages
Jul 1 20:38:27 Runtop sysctl: kernel.sysrq = 0
Jul 1 20:38:27 Runtop sysctl: kernel.core_uses_pid = 1
Jul 1 20:38:27 Runtop network: Setting network parameters: succeeded
Jul 1 20:38:27 Runtop kernel: Disabled Privacy Extensions on device c0366c20(lo)
Jul 1 20:38:27 Runtop network: Bringing up loopback interface: succeeded
Jul 1 20:38:29 Runtop network: Bringing up interface eth0: succeeded
Jul 1 20:38:30 Runtop kernel: eth1: Setting full-duplex based on MII#1 link partner capability of 45e1.
Jul 1 20:38:30 Runtop kernel: eth0: Setting full-duplex based on MII#1 link partner capability of 4de1.
Jul 1 20:38:31 Runtop ifup: RTNETLINK answers: File exists
Jul 1 20:38:31 Runtop network: Bringing up interface eth1: succeeded
Jul 1 20:40:01 Runtop crond(pam_unix)[5612]: session opened for user root by (uid=0)
Jul 1 20:40:01 Runtop crond(pam_unix)[5614]: session opened for user root by (uid=0)
Jul 1 20:40:01 Runtop crond(pam_unix)[5614]: session closed for user root
Jul 1 20:40:01 Runtop crond(pam_unix)[5612]: session closed for user root作者: tiansky 时间: 2008-07-01 20:32
[root@Runtop ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@Runtop ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface eth1: [ OK ]
[root@Runtop ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@Runtop ~]#
装了DHCP服务器(分10.0.0.0网段IP,客户可以得到IP,但相互PING不通)
[root@Runtop ~]# dhcpd
Internet Systems Consortium DHCP Server V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 2 leases to leases file.
Listening on LPF/eth1/00:18:f8:08:ba:57/10.0.0/24
Sending on LPF/eth1/00:18:f8:08:ba:57/10.0.0/24
Listening on LPF/eth0/00:14:bf:5d:6e:15/192.168.1/24
Sending on LPF/eth0/00:14:bf:5d:6e:15/192.168.1/24
Sending on Socket/fallback/fallback-net
[root@Runtop ~]# 作者: b2linux 时间: 2008-07-01 20:58 标题: 回复 #6 tiansky 的帖子 Jul 1 20:38:31 Runtop ifup: RTNETLINK answers: File exists
这里有个错误,可能和你的问题无关,但和网络有关,检查一下的好
另 cat /proc/net/route 看看是否有eth1的直联路由,
ifconfig eth1 down
route -n
----------------
ifconfig eth1 up
route -n
比较两个输出作者: ssffzz1 时间: 2008-07-02 09:24
ifconfig -a
帖结果,看看别的接口。作者: tiansky 时间: 2008-07-02 18:00
[root@Runtop ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@Runtop ~]# ifconfig eth1 down
[root@Runtop ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
[root@Runtop ~]# 作者: tiansky 时间: 2008-07-02 18:30
两天了,还是没想通,帮帮忙,