一台linux服务.器,做公司局域网的网关,昨天突然不.能上网了,可以ping内部网,但不能ping 外网!配置、问题如下:( 游戏 )
/etc/resolv.con.f.
nam.eserver 202.96.209.6[成人用品]
nameserver .202.96.209.133电影
/.etc/sysconfig/network 汽车
NETWORKING=yes
HOSTNAME=www.xxxxxxx.c.om外贸
GATEWAY.=192.168.1.6投资
c.at /etc/sysconfig/network-.scripts/ifcfg-eth0 杀毒
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=stat.ic 美容
IPADDR=192.168..1.6 婚庆
NETMASK=255.255..255.0服务器
以前是这样配的.,可以正常上网;域名
adsl拨号后
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:8BE:75:85 http://upload.bbs.csuboy.com/Mon_1004/126_6894_3b01f95722f71e9.gif[/img]<性病>
inet addr:192.168.1.6 Bc.ast.:192.168.1.255 Mask:255.255.255.0域名
UP BROADCAST RUNNIN.G MULTICAS.T MTU:1500 Metric:1 女人
RX packet.s:5172 errors:0 dropped:0 overr.uns:0 frame:0.
T.X packets:3112 errors:0 dropped:0 overruns:0 car.rier:0.
. collisions:0 txqu.euelen:100 <性病>
RX bytes:462674. (451.8 Kb) TX by.tes:399714 (390.3 Kb).
. Inte.rrupt:11 Base address:0xa000 教育
lo Link encap:Local Loopbac..k 建材
inet addr:1..27.0.0.1 Mask:255.0.0.0.
UP LOOPBACK RUN.NING MTU:.16436 Metric:1服务器
. RX packets:214 error.s:0 dropped:0 overruns:0 frame:0.
TX packets:214 errors:0 dr.opped:0 overruns:0 carri.er:0.
.collisions:0 txqueuelen.:0 ( 游戏 )
RX byt.es:20391 (19.9 Kb) TX bytes:20391 (19..9 Kb).
ppp0 Link encapoint-to-Point Protocol http://upload.bbs.csuboy.com/Mon_1004/126_6894_e3d115ab71927ac.gif[/img] 外汇
.inet addr:222.67.28.113 P-t-P:218.1.0.231 Mask:255.2.55.255.255.
UP POINTOPOINT RUNNING NOARP .MULTICAST MTU:1492 .Metric:1.
. RX packets:3 errors:0. dropped:0 overruns:0 frame:0投资
TX packets:3 errors:0 dropped:0 ove.rruns:0 ca.rrier:0.
col.lisio.ns:0 txqueuelen:3 建材
RX byt.es:30 (30.0 b) TX bytes:.30 (30.0 b) 鲜花
*.*******************.*******域名
ping 222.67.28.11.3 女人
PING 222.67.28.113 (222.67.28.113) from 222.67.28.113 :. 56(84.) bytes. of data..
64 bytes from 222.67.28.113:.. icmp_seq=0 ttl=255 time=76 usec 汽车
64 b.ytes from 222.67.28..113: icmp_seq=1 ttl=255 time=76 usec 健康
ping 192.168.1.6.教育
PING 192.168.1.6 (192.168.1.6) from 192.168.1.6 :. 56(.84) bytes of data. 电子
64 by.tes from. 192.168.1.6: icmp_seq=0 ttl=255 time=81 usec投资
64 bytes from 192..168.1.6: icmp_seq=1 tt.l=255 time=59 usec学习
64 bytes from 192.168.1.6: ic.mp_seq=2 ttl=255 time=60 use.c 健康
ping 63.151..246.214(外网)[成人用品]
PING 63.151..246.2.14 (63.151.2.46.214) from 192.168.1.6 : 56(84) bytes of data..
From .192.168.1.6: Dest.ination Host Unreachable外贸
From 192.168.1.6: Des.tination Host Un.reachable健康
From 192.16.8.1.6: Destination Hos.t Unreachable.
有时报
D.es.tination Host Unreachable 鲜花
Destination. .Host Unreachable.
ping
www..163.com.ping: unknown host
www...163.com.查看网卡:
dmesg |gre.p eth0 电子
eth0: OEM i82557/i82558 10/100 Ethernet, 00:50:8BE:75:85, IRQ 11.http://upload.bbs.csuboy.com/Mon_1004/126_6894_3b01f95722f71e9.gif[/img].
eth0: 0 multicast blocks drop.ped.. 电子
eth0: 0 multicast. blocks .dropped. 女人
查看路由:
route
Kernel IP routing table. 健康
Destinati.on Gateway Genmask Flags Met.ric Ref .Use Iface(广告)
218.1.0.231 * . 255..255.255.255 U.H 0 0 0 ppp0.
1.92.168.1.0 .* 255.2.55.255.0 U 0 0 0 eth0域名
127.0.0.0 * . 255.0.0.0 U 0 0 0 .lo(广告)
default . . 192.168.1.6 0.0.0.0 UG 0 0 0 et.h0 外汇
arp:
arp -a
? (19.2.168.1.35) at 00:0E:A6:83:B6:0A [ether] on. eth0 女人
? (202.96.209.133) at <incomp.lete> on e.th0--------------彩票
? (125.45.73.13 at <incomplete> on eth0http://upload.bbs.csuboy.com/Mon_1004/126_6894_31ffde71d54d97a.gif[/img]服务器
? (222.67.11..216). at <incomplete> on eth0 乙肝
在查看..网卡是报eth0: 0 multicast blocks dropped.[成人用品]
在arp时报(202.96.209.133). at <incomplete> o.n eth0 杀毒
是不是网卡有问题了!
[ 本帖最后由 steelyo.ung 于 2007-3-1.1 11:44 编辑 ].