QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 703|回复: 1

Fedora Core 1换了网络环境后不能上网 help

[复制链接]
发表于 2005-9-17 20:20:39 | 显示全部楼层 |阅读模式
具体情况为如下:

系统是Fedora Core 1。以前用的是学校的局域网,现在用的是中海电信的宽带网。

IP:10.54.56.100
Gateway:10.0.0.1
Netmask:255.255.248.0
DNS:211.155.17.188
     211.155.27.88

   

这个是配置文件的内容:
# Intel Corp.|82557/8/9 [Ethernet Pro 100]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.54.63.255
IPADDR=10.54.56.100
NETMASK=255.255.248.0
NETWORK=10.54.56.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no
GATEWAY=10.0.0.1




[root@localhost root]# ping 10.54.56.100
PING 10.54.56.100 (10.54.56.100) 56(84) bytes of data.
64 bytes from 10.54.56.100: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 10.54.56.100: icmp_seq=1 ttl=64 time=0.046 ms
64 bytes from 10.54.56.100: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 10.54.56.100: icmp_seq=3 ttl=64 time=0.047 ms
64 bytes from 10.54.56.100: icmp_seq=4 ttl=64 time=0.046 ms
64 bytes from 10.54.56.100: icmp_seq=5 ttl=64 time=0.047 ms
64 bytes from 10.54.56.100: icmp_seq=6 ttl=64 time=0.047 ms
64 bytes from 10.54.56.100: icmp_seq=7 ttl=64 time=0.045 ms
64 bytes from 10.54.56.100: icmp_seq=8 ttl=64 time=0.046 ms
64 bytes from 10.54.56.100: icmp_seq=9 ttl=64 time=0.044 ms
64 bytes from 10.54.56.100: icmp_seq=10 ttl=64 time=0.045 ms
64 bytes from 10.54.56.100: icmp_seq=11 ttl=64 time=0.047 ms
.
.
.
--- 10.54.56.100 ping statistics ---
18 packets transmitted, 18 received, 0% packet loss, time 17014ms
rtt min/avg/max/mdev = 0.044/0.046/0.049/0.003 ms, pipe 2
[root@localhost root]# ping 10.0.0.1
connect: Network is unreachable
[root@localhost root]# ping www.163.com
ping: unknown host www.163.com


DNS也在那个配置界面里设置好了,现在是可以ping得通自己的IP,但ping不了外面的ip也打不开网页,
之前也是按这样的方法来配置的可以上网,但换了一下环境改了数据就不行了。
是配置有问题还是哪里出了问题?(另windows系统就可以)
请各位高手大虾指教,先谢了!
发表于 2005-9-17 20:51:57 | 显示全部楼层
查一下dns
设置网卡IP,子网掩码,不设置网关,设置DNS
看看行吗?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-12 10:52 , Processed in 0.043487 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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