[root@localhost ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
202.198.170.0 * 255.255.255.0 U 0 0 0 eth1
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:8D:7E:18:61
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x2000
eth1 Link encap:Ethernet HWaddr *:*:*:*:*:*
inet addr:202.198.170.* Bcast:202.198.170.255 Mask:255.255.255.0
inet6 addr: 2001:da8:b000:5050:2e0:4cff:fe60:a7b7/64 Scope:Global
inet6 addr: fe80::2e0:4cff:fe60:a7b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:432 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:40124 (39.1 KiB) TX bytes:6153 (6.0 KiB)
Interrupt:20
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:2954 errors:0 dropped:0 overruns:0 frame:0
TX packets:2954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2413295 (2.3 MiB) TX bytes:2413295 (2.3 MiB)
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
GATEWAY=202.198.198.254
TYPE=Ethernet
DEVICE=eth1
HWADDR=*:*:*:*:*:*
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=202.198.*.*
我的eth0是坏的没有配置