編輯:關於android開發
- # ifconfig e1000g0 plumb 192.168.1.2 netmask + broadcast + group IPMPgroup up
- #
- # ifconfig e1000g1 plumb group IPMPgroup up
- For persistent configuration across reboots edit the files :
- /etc/hostname.e1000g0
- 192.168.1.2 netmask + broadcast + group IPMPgroup up
- /etc/hostname.e1000g1
- group IPMPgroup up
- Before Failure :
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 14
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- groupname IPMPgroup
- ether 0:c:29:f6:ef:67
- e1000g1: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 15
- inet 0.0.0.0 netmask ff000000
- groupname IPMPgroup
- ether 0:c:29:f6:ef:71
- After Failure
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=19000802[BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED] mtu 0 index 14
- inet 0.0.0.0 netmask 0
- groupname IPMPgroup
- ether 0:c:29:f6:ef:67
- e1000g1: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 15
- inet 0.0.0.0 netmask ff000000
- groupname IPMPgroup
- ether 0:c:29:f6:ef:71
- e1000g1:1: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 15
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
2、Most commonly used Probe-Based IPMP configurations
- # ifconfig e1000g0 plumb 192.168.1.2 netmask + broadcast + group IPMPgroup up
- #
- # ifconfig e1000g1 plumb group IPMPgroup standby up
- For persistent configuration across reboots edit the files :
- /etc/hostname.e1000g0
- 192.168.1.2 netmask + broadcast + group IPMPgroup up
- /etc/hostname.e1000g1
- group IPMPgroup standby up
- Before failure
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 20
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- groupname IPMPgroup
- ether 0:c:29:f6:ef:67
- e1000g0:1: flags=1000842[BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 20
- inet 0.0.0.0 netmask 0
- e1000g1: flags=69000842[BROADCAST,RUNNING,MULTICAST,IPv4,NOFAILOVER,STANDBY,INACTIVE] mtu 0 index 21
- inet 0.0.0.0 netmask 0
- groupname IPMPgroup
- ether 0:c:29:f6:ef:71
- After failure
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=19000802[BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED] mtu 0 index 20
- inet 0.0.0.0 netmask 0
- groupname IPMPgroup
- ether 0:c:29:f6:ef:67
- e1000g1: flags=21000842[BROADCAST,RUNNING,MULTICAST,IPv4,STANDBY] mtu 1500 index 21
- inet 0.0.0.0 netmask 0
- groupname IPMPgroup
- ether 0:c:29:f6:ef:71
- e1000g1:1: flags=21000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4,STANDBY] mtu 1500 index 21
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- # ifconfig e1000g0 plumb 192.168.1.2 netmask + broadcast + group ipmp0 up addif 192.168.1.3 netmask + broadcast + deprecated -failover up
- #
- # ifconfig e1000g1 plumb 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 up
- To ensure persistent configuration across reboots edit the files :
- /etc/hostname.e1000g0:
- 192.168.1.2 netmask + broadcast + group ipmp0 up \
- addif 192.168.1.3 netmask + broadcast + deprecated -failover up
- /
- /etc/hostname.e1000g1:
- 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 up
- Before failure :
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 9
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:67
- e1000g0:1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 9
- inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
- e1000g1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 10
- inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:71
- After failure :
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=19000802[BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED] mtu 0 index 9
- inet 0.0.0.0 netmask 0
- groupname ipmp0
- ether 0:c:29:f6:ef:67
- e1000g0:1: flags=19040803[UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED] mtu 1500 index 9
- inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
- e1000g1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 10
- inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:71
- e1000g1:1: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 10
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- # ifconfig e1000g0 plumb 192.168.1.2 netmask + broadcast + group ipmp0 up addif 192.168.1.3 netmask + broadcast + deprecated -failover up
- #
- # ifconfig e1000g1 plumb 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 standby up
- To ensure persistent configuration across reboots edit the files :
- /etc/hostname.e1000g0:
- 192.168.1.2 netmask + broadcast + group ipmp0 up \
- addif 192.168.1.3 netmask + broadcast + deprecated -failover up
- /
- /etc/hostname.e1000g1:
- 192.168.1.4 netmask + broadcast + deprecated -failover group ipmp0 standby up
- Before failure :
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=1000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4] mtu 1500 index 11
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:67
- e1000g0:1: flags=9040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER] mtu 1500 index 11
- inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
- e1000g1: flags=69040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE] mtu 1500 index 12
- inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:71
- After failure :
- # ifconfig -a
- lo0: flags=2001000849[UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL] mtu 8232 index 1
- inet 127.0.0.1 netmask ff000000
- e1000g0: flags=19000802[BROADCAST,MULTICAST,IPv4,NOFAILOVER,FAILED] mtu 0 index 11
- inet 0.0.0.0 netmask 0
- groupname ipmp0
- ether 0:c:29:f6:ef:67
- e1000g0:1: flags=19040803[UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED] mtu 1500 index 11
- inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
- e1000g1: flags=29040843[UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY] mtu 1500 index 12
- inet 192.168.1.4 netmask ffffff00 broadcast 192.168.1.255
- groupname ipmp0
- ether 0:c:29:f6:ef:71
- e1000g1:1: flags=21000843[UP,BROADCAST,RUNNING,MULTICAST,IPv4,STANDBY] mtu 1500 index 12
- inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
Android數據庫相關整理,android數據庫整理今天對Android中數據庫相關的操作和代碼做了一個整理,便於自己之後的查閱。主要內容有: 1.原生數據庫寫法 2.
Git版本控制工具(一)----git的安裝及創建版本庫,git----git【聲明】 歡迎轉載,但請保留文章原始出處→_→
手把手搭建自己的android環境,把手搭建android最近想學習安卓,不過國內實在被牆的厲害,真是萬裡安裝只被牆。安裝的過程中也出現了幾個問題。所以記錄下來,免得自己
安卓圖片滑動,實現帶小點的導航頁面效果,安卓小點今天給大家說說安卓中類似這樣的引導頁面怎麼實現,我自己簡單的添加了個跳過按鈕方便跳轉到主界面,圖片跟小點圖片資源大家自己去