91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

SOLARIS IPMP如何配置

發布時間:2021-11-16 16:49:42 來源:億速云 閱讀:171 作者:小新 欄目:云計算

這篇文章主要介紹了SOLARIS IPMP如何配置,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。

IPMP配置

類型一:IPMP組內所有網卡均啟用
IP規劃如下:
e1000g0:數據IP:192.168.77.1 測試IP:192.168.77.11
e1000g1:數據IP:192.168.77.2 測試IP:192.168.77.22

# ifconfig e1000g0 group test_ipmp
# ifconfig e1000g1 group test_ipmp

# ifconfig e1000g0 addif 192.168.77.11 netmask + broadcast + -failover deprecated up
# ifconfig e1000g0 addif 192.168.77.22 netmask + broadcast + -failover deprecated up

或者(永久生效)
# cat /etc/hostname.e1000g0
192.168.77.1 netmask + broadcast + group test_ipmp up \
addif 192.168.77.11 deprecated -failover netmask + broadcast + up

# cat /etc/hostname.e1000g1
192.168.85.2 netmask + broadcast + group test_ipmp up \
addif 192.168.77.22 deprecated -failover netmask + broadcast + up

類型二:IPMP組內部分網卡設置為standby(待機)接口

設置IPMP為待機接口時,作為standby的網卡只設置測試IP

IP規劃如下:
e1000g0:數據IP:192.168.77.1 測試IP:192.168.77.11
e1000g1:測試IP:192.168.77.22

# ifconfig e1000g0 group test_ipmp
# ifconfig e1000g1 group test_ipmp
# ifconfig e1000g0 addif 192.168.77.11 netmask + broadcast + -failover deprecated up
# ifconfig e1000g1 plumb 192.168.77.22 netmask + broadcast + deprecated -failover standby up

或者(永久生效)
# cat /etc/hostname.e1000g0
192.168.77.1 group test_ipmp netmask + broadcast + up \
addif 192.168.77.11 netmask + broadcast + -failover deprecated up

# cat /etc/hostname.e1000g1
192.168.77.22 group test_ipmp netmask + broadcast + deprecated -failover standby up

重啟網卡生效
# ifconfig e1000g0 unplumb
# ifconfig e1000g1 unplumb
# ifconfig e1000g0 plumb
# ifconfig e1000g1 plumb
# svcadm restart physical
# ifconfig -a
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 14
        inet 192.168.77.1 netmask ffffff00 broadcast 192.168.77.255
        groupname test_ipmp
        ether 0:c:29:c8:6d:b4
e1000g0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 14
        inet 192.168.77.11 netmask ffffff00 broadcast 192.168.77.255
e1000g1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 13
        inet 192.168.77.22 netmask ffffff00 broadcast 192.168.77.255
        groupname test_ipmp
        ether 0:c:29:c8:6d:be

注意:此時e1000g1網卡是STANDBY,INACTIVE的!

模擬故障:
bash-3.00# if_mpadm -d e1000g0   #停用e1000g0網卡
bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
e1000g0: flags=89000842<BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,OFFLINE> mtu 0 index 14
        inet 0.0.0.0 netmask 0
        groupname test_ipmp
        ether 0:c:29:c8:6d:b4
e1000g0:1: flags=89040842<BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,OFFLINE> mtu 1500 index 14
        inet 192.168.77.11 netmask ffffff00 broadcast 192.168.77.255
e1000g1: flags=29040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY> mtu 1500 index 13
        inet 192.168.77.22 netmask ffffff00 broadcast 192.168.77.255
        groupname test_ipmp
        ether 0:c:29:c8:6d:be
e1000g1:1: flags=21000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,STANDBY> mtu 1500 index 13
        inet 192.168.77.1 netmask ffffff00 broadcast 192.168.77.255
在IPMP切換時,故障網卡會分配一個0.0.0.0的偽IP!

感謝你能夠認真閱讀完這篇文章,希望小編分享的“SOLARIS IPMP如何配置”這篇文章對大家有幫助,同時也希望大家多多支持億速云,關注億速云行業資訊頻道,更多相關知識等著你來學習!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

舒城县| 桑植县| 江口县| 伊金霍洛旗| 腾冲县| 七台河市| 常山县| 宜都市| 五莲县| 德安县| 固阳县| 巴里| 凤城市| 古浪县| 昂仁县| 南京市| 禄劝| 蒲江县| 东乌珠穆沁旗| 梅河口市| 寻甸| 吉安市| 巴南区| 昌吉市| 嵊泗县| 南宁市| 民乐县| 阿瓦提县| 深泽县| 辽源市| 内丘县| 大化| 历史| 泸西县| 巫溪县| 全椒县| 周宁县| 黑山县| 久治县| 怀化市| 汪清县|