我刚刚安装了centos5.3,但是连不上网ping自己和127.0.0.1没问题,但是ping不了网关。ipconfig显示如下:
[root@www ~]# ifconfig
eth0
Link encap:Ethernet HWaddr 00:11:D8:03:49:39
inet addr:49.140.79.182 Bcast:49.140.79.255 Mask:255.255.255.0
inet6 addr: 2001:da8:b000:6601:211:d8ff:fe03:4939/64 Scope:Global
inet6 addr: fe80::211:d8ff:fe03:4939/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6591 errors:0 dropped:0 overruns:0 frame:0
TX packets:831 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:845399 (825.5 KiB) TX bytes:74934 (73.1 KiB)
Interrupt:177 Base address:0xc000
lo 、
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6001 errors:0 dropped:0 overruns:0 frame:0
TX packets:6001 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8249044 (7.8 MiB) TX bytes:8249044 (7.8 MiB)
[root@www ~]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
no
MII interfaces found
希望有人指导,O(∩_∩)O谢谢!