我用的ADSL,一个路由器,两台电脑,一台装XP.一台装XP+RHL,用路由器拨号,现在linux可以ping到路由,却不能ping到外面,请大家帮帮忙,谢谢了
#ifconfig -a
eth Link encap:Ethernet HW addr:00:0D:61:CD:C8:2C
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MUTICAST MTU:1500 Metric:1
RX packets:776 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisioins:0 txqueuelen:100
RX bytes:48760(47.6Kb) TX bytes:2286(2.2Kb)
Interrupt:11 Base address:0xe400
lo Link encap
ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1241 errors:0 dropped:0 overruns:0 frame:0
TX packets:1241 errors:0 dropped:0 overruns:0 carrier:
collisions:0 txqueuelen:0
RX bytes:84118(82.1Kb) TX bytes:84118(82.1Kb)
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0 0 eth0
#cat /etc/resolv.conf
;generate by /sbin/dhclient-script
search private
nameserver 192.168.1.1
<SCRIPT type=text/javascript><!-- google_ad_client = "pub-3152530285624674"; google_ad_width = 468; google_ad_height = 15; google_ad_format = "468x15_0ads_al"; google_ad_channel =""; //--></SCRIPT><SCRIPT src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript> </SCRIPT>