ro.ot@minifw /etc/n.etwork.d # ifconfig虚拟主机
eth0 Link encap:Ethernet HWaddr .4C:00:10.:D8:0D:6D.
inet .addr.:203.11.132.162 Bcast:203.11.132.255 Mask:2.55.255.255.0 外汇
.UP BROADCAST RUNNING MUL.TICAST MTU:1500 Metric:1.
. RX packets:.1499 errors:0 dropped:0 overruns:0 frame:0.
T.X packets:3.75 errors:0 dropped:0 overruns:0 carrier:0外贸
collision.s:0 txqueuelen.:1000教育
RX bytes:151775 (148.2 KiB) TX bytes:40722 (39.7 Ki..B)( 游戏 )
Interrupt.:5. Base address:0x4000.
eth1 Link en.cap:Ethernet HWaddr 00:E0:4C:90:00:D.2.
. inet addr:10.5.0.2 Bcast:10.5.0.255 M.ask:255.255.255.0 外汇
. UP BROADCAST RUNNING MULTICAST MTU.:1500 Metric:1(广告)
. RX packets:959 errors:0 dropped:0 ove.rruns:0 frame:0健康
. TX packets:0 errors:0 dropped:0 .overruns:0 carrier:0 建材
collisions:0 txqueue.len:100.0<性病>
RX bytes:114096 (111.4 K.iB) TX bytes:.0 (0.0 B).
. Interrupt:9 B.ase address:0x6000 外汇
lo . Link enca.p:Local Loopback 电子
ine.t addr:127.0.0.1 .Mask:255.0.0.0[成人用品]
UP LOOPBACK RUNNING. MTU:16436 Metr.ic:1[成人用品]
. RX packets:4 errors:0 dropped:0 overruns:.0 frame:0.
TX .packets.:4 errors:0 dropped:0 overruns:0 carrier:0.
. .collisions:0 txqueuelen:0 女人
RX bytes:336 (336.0 B). TX bytes:3.36 (336.0 B).
root@minifw /et.c/network.d. # route(广告)
Kernel. IP routing table外贸
Destination G.ateway Genmask Fla..gs Metric Ref Use Iface.
203.11.132.0 * . . 255.255.255.0 U 0 0 . 0 eth0 乙肝
10.5.0.0 * . 2.55.255.255.0 U 0 0 0 e.th1.
default 203.11.132.2 . 0.0..0..0 UG 0 0 0 eth0[成人用品]
root@minifw /etc/ne.twor.k.d # ifconfig eth1 up.
root@minifw. /etc/network.d # cat /pro.c/net/dev健康
Inter-| Receive . . . | Transmit 汽车
face |bytes packets errs drop fifo frame. compressed multicast|bytes packets. errs drop fifo colls carrier compre.ssed服务器
lo: . 33.6 4 0 0 0 0 0 . 0 336 4 0 0 0 0 0 0 杀毒
.eth0: 169149 1685 0. 0 0 0 0 . 0 49000 455 0 0 0 0 0 0.
eth1.: 124237 1041 0 0 0 0 0 0 0 .0 0 0 0 0 0 0..
ro.ot@minifw /etc/network.d # whi.ch network.
root@minifw /et.c/ne.twork.d # netstat -rn 婚庆
Kernel IP .routing table 建材
Destinat.io.n . Gateway Genmask Flags MSS Window irtt Iface--- 印刷
203..11..132.0 0.0.0..0 255.255.255.0 U 0 0 0 eth0 电子
10.5.0.0 0.0.0.0 25.5..255.255.0 U . 0 0 0 eth1 美容
0.0..0.0. 203.11.132.2 0.0.0.0 UG .0 0 0 eth0投资
root@minifw /.etc/net.work.d # ls教育
interface.eth0 interface..e.th1学习
root@minifw /etc/network.d # more. interface.eth1. 健康
# network interf.ace configu.ration file sample教育
# change settings and rename to interface.devn.ame, i.e. i.nterface.eth0--- 印刷
# networ.k device name电脑
INTERFACE="e.th1" 外汇
# set to. "yes" to use DHCP instead of the settings. below 外汇
DHCP="no"
#. interface settings 汽车
# IP address
I.PADDRESS="10.5.0.2".
# netmask
NETMASK="255.255..255.0"( 游戏 )
# broadcast ad.dress.
BR.OADCAST="10.5.0.255" 建材
BOOTPROTO=none
TYPE=Ethernet
NETW.ORK=10.5.0.0 电子
复制代码
真是不知.道为什么 这个是minilinux 10M大. <性病>
用各种方法检查 . 都没问题 就是从外界ping .10。5。0。2( 游戏 )
时候就是pin.g不通 大家帮忙看看是怎么回.事.