虚拟机里配置4块网卡
eth.0用于telnet,eth1~.4用于配置bond.
QUOTE:d.e.bian:~# ifconfig -a
eth0 Link encap:Et.hernet HWaddr 00:0c:29:1b:32:17. 电脑
. inet addr:192.168.2..108 Bcast:192.168.2.255 Mask:255.255.255.0 电子
UP BR.OADCAST RUNNING MULTICAST MTU:1500 Metri.c:1 美容
eth1 Li.nk encap:Ethernet . HWaddr 00:0c:29:1b:32:21 .
BROADCAST MULTICAST MTU:1.500 Metr.ic:1.
eth2 Link .encap:Ethernet HWaddr .00:0c:29:1b:32:2b <性病>
BROADCAST MULTICAST. MTU:1500 Met.ric:1 健康
eth3 Link encap:Ethernet .HWaddr 00:0c:29:1b:32:35 . --- 印刷
BROADCA.ST MULTICAST MT.U:1500 Metric:1 乙肝
eth4 Link encap:Etherne.t HWaddr 00:0c:2.9:1b:32:3f 健康
BROADCA.ST MULTICAST. MTU:1500 Metric:1<性病>
QUOT.E:debian:~# c.at /etc/network/interfaces 投资
auto eth0
iface. eth0 inet dhcp(广告)
auto bond0
iface bon.d0 inet static 美容
add.ress 10.0.0.10.
. ne.tmask 255.255.255.0 女人
bon.d_mode 0--- 印刷
up ife.nsl.ave bond0 eth1 eth2 鲜花
. down ifenslave -d bond0 eth1 e.th2<性病>
auto bond1
iface bond1. inet static.
. address 11.0.0.10 女人
. mask .255.255.255.0 婚庆
bond_m.ode 1电影
.up ifenslave. bond1 eth3 eth4 外汇
.. down ifenslave -d bond1 eth3 eth4 电子
ifup .bond0的时候,出了个警告,不知道啥意.思.
QUOTE:debi.an:~# ifup b.ond0 建材
if-up.d/mountnfs[bond0]: waiting for in.terface bond1 b.efore doing NFS mount.s (warning).外贸
不.过,bond0能起来,还能ping通V.Mware的网卡 汽车
QUOTE:.debian:~# ifconf.ig bond0外贸
bond0 Link encap:E.thernet HWaddr 0.0:0c:29:1b:32:21 .
.inet addr:10.0.0.10 Bcast:10.0..0.255 Mask:255.255.255.0 鲜花
inet6 addr: fe80::20c:29f.f:fe1b:3.221/64 Scope:Link 汽车
UP BROA.DCAST RUNNING. MASTER MULTICAST MTU:1500 Metric:1投资
RX packe.ts:31 errors:0 dropped:0 overruns:.0 frame:0投资
TX packets:.25 errors:0. dropped:0 overruns:0 carrier:0.
. collisions:0 txq.ueuelen:0 婚庆
RX bytes:3312 (3.2 KiB) . TX bytes:1874 (1.8. KiB)虚拟主机
debian:~# ping 10.0..0.1.
PING 10..0.0.1 (10.0.0.1) 56(84) bytes of .data.学习
64 bytes from 10.0.0.1.: icmp_seq.=1 ttl=128 time=4.39 ms投资
64 bytes from 10.0.0.1: ic.mp_seq=2 ttl=128 .time=0.213 ms 婚庆
64 bytes from 10.0.0.1: icmp_seq=.3. ttl=128 time=0.141 ms 外汇
64 bytes from 10.0.0.1: icmp_.seq=4 ttl=128 time=0.1.76 ms电影
64 byte.s from 10..0.0.1: icmp_seq=5 ttl=128 time=0.152 ms.
ifup bond1.的时候,有麻烦了 乙肝
Q.UOTE.:debian:~# ifup bond1 建材
Don't seem to be have all the variables. for .bond1/inet.域名
F.ailed to bring up bond1..
ifc.onfig -a看不到bond1网卡.
直接加出错信息如下
QUOTE:debi.an:~# ifensl.ave bond1 eth3 eth4--- 印刷
Master 'bo.nd1': Error: handshake with driver failed. Aborting.电影
求解