- 论坛徽章:
- 0
|
FB放在网络中心的,ping 两个网关地址都能通(.161和.162)
希望遇到过这种情况的能帮我解决下。
如果还要补充的话,再来。。
*.*.*代表ip地址前三位,以下所有的*.*.*都一样。
先帖netstat -rn:
- Destination Gateway Flags Refs Use Netif Expire
- default *.*.*.161 UGSc 30 15735 em0
- 10 *.*.*.162 UGSc 0 30 em0
- 127.0.0.1 127.0.0.1 UH 0 251 lo0
- 172.16 *.*.*162 UGSc 0 0 em0
- 172.17 *.*.*.162 UGSc 0 0 em0
- 172.18 *.*.*.162 UGSc 0 0 em0
- *.*.*.160/27 link#1 UC 3 0 em0
- *.*.*.161 00:07:0e:83:c7:ff UHLW 31 6 em0 1186
- *.*.*.162 00:01:f4:07:88:7b UHLW 8 1172 em0 1198
- *.*.*.171 00:06:5b:ec:88:0c UHLW 0 18290 lo0
- 210.33.41 *.*.*.162 UGSc 0 0 em0
- 210.33.42 *.*.*.162 UGSc 0 0 em0
- 210.33.43 *.*.*.162 UGSc 0 0 em0
- 218.108.23.48/28 *.*.*.162 UGSc 0 37 em0
复制代码
IFCONFIG
- em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
- options=3<RXCSUM,TXCSUM>
- inet *.*.*.171 netmask 0xffffffe0[color=Red] (255.255.255.224)[/color]broadcast 202.107.226.191
- inet6 fe80::206:5bff:feec:880c%em0 prefixlen 64 scopeid 0x1
- ether 00:06:5b:ec:88:0c
- media: Ethernet autoselect (100baseTX <full-duplex>)
- status: active
复制代码
实验一,
traceroute 218.108.23.50
结果:
traceroute to 218.108.23.50 (218.108.23.50), 64 hops max, 44 byte packets
1 * * *
省略。。
这样应该是不通的吧
实验2,
traceroute -g *.*.*162 218.108.23.50
结果:
traceroute to 218.108.23.50 (218.108.23.50), 64 hops max, 52 byte packets
1 *.*.*.162 (202.107.226.162) 0.888 ms 0.407 ms 0.393 ms
2 210.33.40.253 (210.33.40.253) 1.574 ms 0.776 ms 0.794 ms
3 218.108.23.50 (218.108.23.50) 1.536 ms !S 0.844 ms !S 0.809 ms !S
这样应该算是通的吧,不过有点疑问,为什么要指定网关啊,我静态路由已经指定过了啊。
实验3,
ping -rn 218.108.23.50
PING 218.108.23.50 (218.108.23.50): 56 data bytes
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
ping: sendto: Network is unreachable
网络不能到达!~~
我觉得可能是路由的问题,好象是它用默认的.161这个线路了,
不是有静态路由先用静态的嘛,然后在是默认的。
是我的路由这样设置不对吗?还是别的网络原因。。这个问题遗留很久了。以前贴的:
http://bbs.chinaunix.net/viewthread.php?tid=740231
另:这个太机器外网和内网都可以访问到,并且外网通过.162,内网通过.161访问的。但是这个机器就是上不了内网的地址。。外网的地址也很奇怪的,可以用fetch命令下载外网的资料,但是却ping不通
#fetch http://60.176.5.144/index.php
fetch: http://60.176.5.144/index.php: size of remote file is not known
index.php 480 B 1023 kBps
#ping 60.176.5.144
PING 60.176.5.144 (60.176.5.144): 56 data bytes
下面没有输出了
应该是不通吧,这个地址是我的pc的地址,没防火墙
问题:我只要fb能访问到内网的机器就行。。。比如能够访问218.108.23.50,能ping通ip地址。。
PS:218.108.23.50是我学校主页的地址,呵呵
[ 本帖最后由 rendong237 于 2006-8-9 17:18 编辑 ] |
|