免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 2403 | 回复: 21
打印 上一主题 下一主题

~~闭波~闭波~~求救求救~~服务器ping不通~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-27 19:06 |只看该作者 |倒序浏览
还是我,RedHatLinux AS3 两台IBM服务器,做的RAC
库也建完了,数据也导入了
后来发现,两台服务器之间可以ping通
但对外却ping不通,别的机子不能访问
我防火墙选的是禁用
这是为什么哦?怎么让外面访问服务器?
要是访问oracle呢?是要装客户端吗?
要访问oracle数据库的是两台web服务器
谢谢谢谢~~~

论坛徽章:
0
2 [报告]
发表于 2004-08-27 21:08 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

你的防火墙就算是打开的,ping外面应该也是通的,是不是ping的那台机器物理连接不通或是有防火墙,最好ping的结果贴上来。
外面访问oracle服务器要装客户端,而且要9i的客户端,否则rac的负载均衡和高可用功能将不可用。

论坛徽章:
0
3 [报告]
发表于 2004-08-27 21:28 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

局域网内除了两台服务器,都可以ping通
物理连接肯定通,都可以通过网关上intelnet,都连在一个交换机上的
服务器直接都通

论坛徽章:
0
4 [报告]
发表于 2004-08-27 21:31 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

#ping 192.168.0.7
ping 192.168.0.7 (192.168.0.7)56(84) bytes of data.
from 192.168.0.220 icmp_seq=1 destination host unreachable
from 192.168.0.220 icmp_seq=2destination host unreachable
from 192.168.0.220 icmp_seq=3 destination host unreachable
192.168.0.220是服务器的ip地址
192.168.0.7 是网内其他一台机子的ip地址

论坛徽章:
0
5 [报告]
发表于 2004-08-27 21:36 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

两台服务器之间能ping通,说明两台服务器的网卡-交换机之间没问题,设置网关也能上网吗?会不会一时失误没在一个网段

论坛徽章:
0
6 [报告]
发表于 2004-08-27 21:40 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

晕,还发慢了,
destination host unreachable
目标地址不可达,应该是物理连接不通,防火墙的话应该提示不是这样的

论坛徽章:
0
7 [报告]
发表于 2004-08-27 21:46 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

能上网阿

论坛徽章:
0
8 [报告]
发表于 2004-08-27 21:57 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

那就是说服务器-网关是通的,客户机-网关也是通的,呵呵,是比较奇怪。把下面几条命令结果贴出来让大伙研究研究。
mii-tool
ifconfig -a
netstat -nr
traceroute <gateway>;
traceroute 192.168.0.7

论坛徽章:
0
9 [报告]
发表于 2004-08-27 22:22 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

汗。。不好意思,服务器不能上网
192.168.0.254 是网关
我把结果贴上来

论坛徽章:
0
10 [报告]
发表于 2004-08-27 22:26 |只看该作者

~~闭波~闭波~~求救求救~~服务器ping不通~

[root@ciqa root]# ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:02:B3:A85:43

          inet addr:192.168.0.220  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:121 errors:0 dropped:0 overruns:0 frame:0

          TX packets:229 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:7744 (7.5 Kb)  TX bytes:14656 (14.3 Kb)

          Base address:0x2300 Memory:fbfe0000-fc000000



eth1      Link encap:Ethernet  HWaddr 00:02:55F:67F

          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:801 errors:0 dropped:0 overruns:0 frame:0

          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:59554 (58.1 Kb)  TX bytes:256 (256.0 b)

          Interrupt:47



lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:5565 errors:0 dropped:0 overruns:0 frame:0

          TX packets:5565 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:340760 (332.7 Kb)  TX bytes:340760 (332.7 Kb)





[root@ciqa root]# netstat -nr

Kernel IP routing table

Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface

10.0.0.0        0.0.0.0         255.255.255.0   U         0 0          0 eth1

192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0

169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth1

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo

0.0.0.0         192.168.0.254   0.0.0.0         UG        0 0          0 eth0







[root@ciqa root]# mii-tool

eth0: negotiated 100baseTx-FD flow-control, link ok

eth1: negotiated 100baseTx-FD flow-control, link ok





[root@ciqa root]# traceroute 192.168.0.254

traceroute to 192.168.0.254 (192.168.0.254), 30 hops max, 38 byte packets

1  rac1pub.ciqa.server (192.168.0.220)  2993.697 ms !H  2999.368 ms !H  2999.956 ms !H
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP