中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

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

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

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

英吉沙县| 房产| 天长市| 板桥市| 文安县| 巴青县| 东安县| 河南省| 阳泉市| 万盛区| 卓资县| 兴山县| 南投市| 柳河县| 普宁市| 尼勒克县| 漯河市| 黄龙县| 福安市| 绵竹市| 台中县| 乌兰浩特市| 八宿县| 山东| 大同市| 江源县| 海宁市| 抚州市| 阜宁县| 新民市| 陇川县| 筠连县| 嘉祥县| 绿春县| 临澧县| 大宁县| 东莞市| 陵川县| 万安县| 三原县| 琼中|