亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

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

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

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

七台河市| 万年县| 凤山县| 融水| 会理县| 金沙县| 扎赉特旗| 辽阳县| 临武县| 林芝县| 宁德市| 兴海县| 定安县| 桓台县| 海南省| 陇南市| 香河县| 清镇市| 五大连池市| 赞皇县| 六安市| 达日县| 泰和县| 聊城市| 闽清县| 汾西县| 晋城| 合川市| 仁布县| 林周县| 晴隆县| 乐陵市| 同心县| 潜江市| 武义县| 九龙城区| 九寨沟县| 通许县| 阿图什市| 新邵县| 千阳县|