LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 505|回复: 0

redhat8.0上网的问题。

[复制链接]
发表于 2003-10-5 16:13:45 | 显示全部楼层 |阅读模式
重装redhat8,不知道为什么上不了网了?
大家帮助看一下,谢了先。

[root@LOVER root]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 52:54:AB:56:6A:B1
inet addr:202.118.111.83 Bcast:202.118.111.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:18240 (17.8 Kb)
Interrupt:11 Base address:0xa000

[root@LOVER etc]# more resolv.conf
nameserver 202.118.66.6

[root@LOVER etc]# more hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 LOVER localhost.localdomain localhost


[root@LOVER etc]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
202.118.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 202.118.111.254 0.0.0.0 UG 0 0 0 eth0



[root@LOVER network-scripts]# more ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=202.118.111.255
IPADDR=202.118.111.83
NETMASK=255.255.255.0
NETWORK=202.118.111.0
ONBOOT=yes
USERCTL=yes
PEERDNS=yes
GATEWAY=202.118.111.254
HWADDR=52:54:AB:56:6A:B1
TYPE=Ethernet

ping ip通, ping dns , gateway 都不通,提示:目的地没有达到。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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