sysubee 发表于 2005-9-17 20:20:39

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

具体情况为如下:

系统是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
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




# 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
# ping 10.0.0.1
connect: Network is unreachable
# ping www.163.com
ping: unknown host www.163.com


DNS也在那个配置界面里设置好了,现在是可以ping得通自己的IP,但ping不了外面的ip也打不开网页,
之前也是按这样的方法来配置的可以上网,但换了一下环境改了数据就不行了。
是配置有问题还是哪里出了问题?(另windows系统就可以)
请各位高手大虾指教,先谢了!

fox_eagle2003 发表于 2005-9-17 20:51:57

查一下dns
设置网卡IP,子网掩码,不设置网关,设置DNS
看看行吗?
页: [1]
查看完整版本: Fedora Core 1换了网络环境后不能上网 help