Eth0连内网
Eth1连adsl
[root@jinquan roo.t]# ad.sl-start.
[root@jinquan root]# i.fco.nfig.
eth0 Link encap:Ethernet. HWaddr 00:E0:4D.:6D:3B:A1 汽车
. inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255..255.0 婚庆
U.P BROADCAST RUNNING MULTICAST MTU.:1500 Metric:1域名
RX packets:2838 errors:0 .dr.opped:0 overruns:0 frame:0电影
. TX packets:678 errors:0 dropped:0 ove.rruns:0 carrier:0.
. collisio.ns:0 txqueuelen:1000学习
.RX bytes:255879 (249.8 Kb) TX bytes:54453 .(53.1 Kb).
Interr.upt:5 Base a.ddress:0x3000[成人用品]
eth1 Link encap:Ethern.et . HWaddr 00:E0:4C:E0:8C:23 乙肝
inet addr:192.23.1.1 Bcast:192.23..1.255 Mask:2.55.255.255.0电脑
UP .BROAD.CAST RUNNING MULTICAST MTU:1500 Metric:1 建材
R.X pack.ets:6854 errors:0 dropped:0 overruns:0 frame:0教育
TX packets:1058 errors:0 droppe.d:0 overruns:.0 carrier:0学习
. collisions:0 txqueuelen:.1000.
. RX bytes:930013 (908.2 Kb.) TX bytes:100461 (98.1 Kb)( 游戏 )
Inte.rrupt:9 Ba.se address:0x5000 外汇
lo Lin.k encap:Local .Loopback.
. . inet addr:127.0.0.1 Mask:255.0.0.0.
UP LOOPBACK RUNNING MT.U:16436 Metri.c:1健康
RX packets:109 error.s:0 dropped:0 o.verruns:0 frame:0.
TX packets:109 errors:0 dro.pped:0 overru.ns:0 carrier:0外贸
collisi.ons:0 txqueu.elen:0--- 印刷
RX bytes:8315 (8.1. Kb) TX bytes.:8315 (8.1 Kb) 健康
ppp0 Link encapoint-to-Point Protocolhttp://upload.bbs.csuboy.com/Mon_1004/126_7103_e3d115ab71927ac.gif[/img]教育
inet addr:222.67..5.22 P-t-P:218.1.0.239 Mask:255.2.55.255.255(广告)
UP POINTOPOINT .RUNNING NOARP .MULTICAST MTU:1492 Metric:1.
RX packets:28 errors:0 dropped:0 over..runs:0 frame:0 健康
TX packets:86 errors:0 dropp.ed:0 over.runs:0 carrier:0.
collisions:0. txq.ueuelen:3.
RX byt.es:1598 (1.5 Kb) TX bytes:7805 (7.6. Kb)投资
[ro.ot@jinquan root]# netstat .-nr.
Kernel IP routing ta.ble服务器
Destination Gateway . Genmask . Flags .MSS Window irtt Iface学习
218.1.0.239 0..0.0.0 . 255.255.255.255 UH . 0 0 0 ppp0 婚庆
192.23.1.0. 0.0.0.0 255.2.55.255.0 U . 0 0 0 eth1教育
10.0.0.0 0.0..0..0 255.255.255.0 U 0. 0 0 eth0.
169.254.0..0 0.0.0.0 . 255.255.0.0 U. 0 0 0 eth1投资
0.0.0.0. . 218.1.0.239 . 0.0.0.0 UG 0 0 0 ppp0 汽车
[.root@jinquan root.]# ping 202.96.209.5服务器
PING 202.96.209.5 (202..96.209.5) 56(84) .bytes of data. 女人
64 bytes from 202.96.209.5: icmp_.seq=0 ttl=247 time=21.8 m.s服务器
64 bytes from .202.96.209.5: icmp_seq=1 ttl=247 time=23.2. ms.
64 bytes. from 202.96.209.5: icmp_seq=2 ttl=247 time=24.2 m.s电脑
64 bytes from 202.96.209.5: icmp_seq=3 ttl=247. t.ime=22.1 ms电影
64 bytes from 202.96.209.5: icmp_seq.=4 ttl=247 time=23..1 ms 电子
64 bytes f.rom 202.96.209.5: icmp._seq=5 ttl=247 time=26.1 ms--- 印刷
64. bytes from 202..96.209.5: icmp_seq=6 ttl=247 time=53.0 ms.
64 bytes from 202.96.209.5: icmp_seq=7 ttl=247 time=.24.0. ms
64 bytes from 2.02.96.209.5: icmp_seq=8 ttl=247 time.=22.9 ms 健康
--- 202.96.209.5 ping statis.tic.s ---.
9 packets transmitted, 9 received., 0% packet loss, time .8081ms 建材
rtt min/avg/max/mdev = 2.1.841/26.75.3/53.076/9.382 ms, pipe 2.
[root@jinquan ro.ot.]# ping
www.sina.com.cn.ping: unk.nown host
www.sina.co.m.cn( 游戏 )
[r.oot@jinquan root]#教育