亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: 一個(gè)頭痛的CentOS bonding 問(wèn)題, 大家?guī)蛶兔Γ。。?[打印本頁(yè)]

作者: zrq1238    時(shí)間: 2013-06-05 14:57
標(biāo)題: 一個(gè)頭痛的CentOS bonding 問(wèn)題, 大家?guī)蛶兔Γ。。?br />我的幾臺(tái)centOS 系統(tǒng), 做了bonding, 但是網(wǎng)絡(luò)老是不穩(wěn)定, 經(jīng)常重啟。 今天我查看了所有的網(wǎng)路相關(guān)信息。發(fā)現(xiàn)有異常,先望大師們指點(diǎn)迷津。
# cat ifcfg-bond0
DEVICE="bond0"
ONBOOT=yes
TYPE=bonding
BOOTPROTO=static
PEERDNS=yes
IPV6INIT=no
USERCTL=no
BONDING_OPTS="miimon=100 mode=1"
IPADDR=
BROADCAST=
NETMASK=
NETWORK=
DNS1=×××
DNS2=×××
DOMAIN=×××

#cat ifcfg-eth0
DEVICE="eth0"
MASTER=bond0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
PEERDNS=yes
IPV6INIT=no
SLAVE=yes
USERCTL=no

# cat ifcfg-eth1
DEVICE="eth1"
MASTER=bond0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
PEERDNS=yes
IPV6INIT=no
SLAVE=yes
USERCTL=no

# ifconfig -a   - 發(fā)現(xiàn)三個(gè)HWaddr 是不同的, 根據(jù)我的經(jīng)驗(yàn)它們應(yīng)當(dāng)相同,先請(qǐng)各路高人指點(diǎn)指點(diǎn), 謝過(guò)了!
bond0     Link encap:Ethernet  HWaddr 00:25:90:63:622
          inet addr:10.×××  Bcast:10.××× Mask:255.255.252.0
          inet6 addr: fe80::225:90ff:fe63:62d2/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:1869072823 errors:4 dropped:52 overruns:0 frame:4
          TX packets:1425620502 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2559749688297 (2.3 TiB)  TX bytes:810771226167 (755.0 GiB)

eth0      Link encap:Ethernet  HWaddr 00:25:90:63:622
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:1849974105 errors:4 dropped:31 overruns:0 frame:4
          TX packets:1425620496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2547021343671 (2.3 TiB)  TX bytes:810771224115 (755.0 GiB)
          Interrupt:16 Memory:fade0000-fae00000

eth1      Link encap:Ethernet  HWaddr 00:25:90:63:623
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:19098718 errors:0 dropped:21 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12728344626 (11.8 GiB)  TX bytes:2052 (2.0 KiB)
          Interrupt:17 Memory:faee0000-faf00000


作者: chenyx    時(shí)間: 2013-06-05 15:02
記得lbseraph版主發(fā)過(guò)一個(gè)文檔,做完bond之后,mac就是一樣的
作者: chenyx    時(shí)間: 2013-06-05 15:05
        If not explicitly configured with ifconfig, the MAC address of the
        bonding device is taken from its first slave device. This MAC address
        is then passed to all following slaves and remains persistent (even if
        the the first slave is removed) until the bonding device is brought
        down or reconfigured.

https://www.kernel.org/pub/linux ... working/bonding.txt
作者: alonerhu    時(shí)間: 2013-06-05 18:31
cat /proc/net/bond/bond0

另外
RHEL6 要徹底關(guān)閉NetworlManger 服務(wù),否則會(huì)和bond網(wǎng)卡沖突

還有
你的這句在哪里:
alias bond0 bonding
作者: zrq1238    時(shí)間: 2013-06-05 21:15
#more /etc/modprobe.d/bonding.conf
alias bond0 bonding

這里我少了: options bond0 miimon=100 mode=1 會(huì)有問(wèn)題嗎?
另外我發(fā)現(xiàn)我還少了:
#more /etc/rc.local
ifenslave bond0 eth0 eth  這個(gè)也會(huì)有問(wèn)題嗎?


PROC下的bond0 如下:
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: eth0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:25:90:63:62:d2
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 1
Permanent HW addr: 00:25:90:63:62:d3
Slave queue ID: 0

作者: chenyx    時(shí)間: 2013-06-05 21:20
options bond0 miimon=100 mode=1

這個(gè)沒(méi)有問(wèn)題,你已經(jīng)寫(xiě)到ifcfg-bond0配置文件里面了.
作者: zrq1238    時(shí)間: 2013-06-05 22:28
現(xiàn)我還有個(gè)困惑 :
#cat /etc/rc.local
ifenslave bond0 eth0 eth1  這段命令是必須的嗎??
作者: wtb_wn    時(shí)間: 2013-06-06 07:09
回復(fù) 4# alonerhu


   
CENTOS 6  也需要徹底關(guān)閉NetworkManager服務(wù)
作者: wtb_wn    時(shí)間: 2013-06-06 07:11
回復(fù) 7# zrq1238


   
這個(gè)命令不是必須的
作者: alonerhu    時(shí)間: 2013-06-07 18:21
今天安裝hp dl580 g7遇到網(wǎng)絡(luò)問(wèn)題,一搜發(fā)現(xiàn)這機(jī)器bond也有問(wèn)題,不知道你是不是用的同樣的網(wǎng)卡
作者: zrq1238    時(shí)間: 2013-06-08 20:21

@稍有積蓄: 我的系統(tǒng) Intel eth1000e,

作者: zrq1238    時(shí)間: 2013-06-08 20:44
關(guān)于那個(gè)bonding
論壇上我看到了一些高人的留言發(fā)現(xiàn)如下:
8.  Where does a bonding device get its MAC address from?

        If not explicitly configured with ifconfig, the MAC address of the
        bonding device is taken from its first slave device. This MAC address
        is then passed to all following slaves and remains persistent (even if
        the the first slave is removed) until the bonding device is brought
        down or reconfigured.

我發(fā)現(xiàn)這個(gè)錯(cuò)誤的bonding 配置結(jié)果一旦出來(lái),即使后來(lái)的所有配置文件都是對(duì)的,bonding 也不會(huì)更正,除非remove 之前的bonding信息。 命令如下:

service network stop
sleep 2
rmmod bonding
sleep 2
modprobe bonding
sleep 2
service network start

執(zhí)行之后我的網(wǎng)卡bonding(mode=1) 的HWaddr 就都一致了。

謝謝大家,但是我又碰到另一個(gè)問(wèn)題,大家?guī)兔纯础?br /> http://72891.cn/thread-4085622-1-1.html

作者: zrq1238    時(shí)間: 2013-06-08 20:56
我的是intel e1000e




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2