免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234下一页
最近访问板块 发新帖
查看: 12381 | 回复: 32
打印 上一主题 下一主题

[网络管理] ibm x3650双网卡,安装了linux as4,设置网络问题,ping其他的计算机就是ping不通。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-15 16:15 |只看该作者 |倒序浏览
下面是我的配置信息

[root@linux-web ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:5E:19:BE:46
          inet addr:192.168.0.230  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::214:5eff:fe19:be46/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:11664 (11.3 KiB)
          Interrupt:169 Memory:ce000000-ce011100

eth1      Link encap:Ethernet  HWaddr 00:14:5E:19:BE:48
          inet addr:192.168.0.230  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::214:5eff:fe19:be48/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:209 Memory:ca000000-ca011100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1281 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1281 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1205444 (1.1 MiB)  TX bytes:1205444 (1.1 MiB)

[root@linux-web ~]#

-----------------------------------------------------------

[root@linux-web ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

论坛徽章:
0
2 [报告]
发表于 2007-03-15 16:17 |只看该作者
在线等待。。。。谢谢。。。

论坛徽章:
0
3 [报告]
发表于 2007-03-15 16:17 |只看该作者
晕倒 ,  双网卡同ip , 回包的时候给谁啊?

论坛徽章:
0
4 [报告]
发表于 2007-03-15 16:19 |只看该作者
如果我把双网卡的ip设置成一个192.168.0.230,一个192.168.0.231,就可以了?

我现在就激活了一个,但是还是ping不通。

提示:
Destination Host Unreachable

论坛徽章:
0
5 [报告]
发表于 2007-03-15 16:21 |只看该作者
搞了一下午了,指点一下。

论坛徽章:
0
6 [报告]
发表于 2007-03-15 16:27 |只看该作者
先用 “arping 目标地址”  看看能不能得到对方的mac

再  "tracepath  目标地址" 看看再哪一跳过不去

而且 首先要考虑目标地址是不是和你一个子网 ,是否需要通过网关?  你给的信息太少了。。。

论坛徽章:
0
7 [报告]
发表于 2007-03-15 16:38 |只看该作者
还需要什么信息吗?我贴出lai

论坛徽章:
0
8 [报告]
发表于 2007-03-15 16:46 |只看该作者

刚刚改的信息

[root@linux-web ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:5E:19:BE:46
          inet addr:192.168.0.230  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::214:5eff:fe19:be46/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:35964 (35.1 KiB)
          Interrupt:169 Memory:ce000000-ce011100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1428 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1428 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1220884 (1.1 MiB)  TX bytes:1220884 (1.1 MiB)

[root@linux-web ~]#




[root@linux-web ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
[root@linux-web ~]#



[root@linux-web ~]# arping 192.168.0.222
ARPING 192.168.0.222 from 192.168.0.230 eth0
Sent 11 probes (11 broadcast(s))
Received 0 response(s)
[root@linux-web ~]#


[root@linux-web ~]#
[root@linux-web ~]# tracepath 192.168.0.222
1:  192.168.0.230 (192.168.0.230)                          0.135ms pmtu 1500
1:  no reply
1:  192.168.0.230 (192.168.0.230)                        2000.618ms !H
     Resume: pmtu 1500
[root@linux-web ~]#

论坛徽章:
0
9 [报告]
发表于 2007-03-15 16:58 |只看该作者
你的  192.168.0.222  也是 24位子网掩码吗? 是不是开了防火墙?

论坛徽章:
0
10 [报告]
发表于 2007-03-15 17:00 |只看该作者
没有,我把防火墙禁用了。难道是我的驱动安装的不正确,在硬件信息里能看到2个网卡。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP