设置IP地å€ï¼šroot@solaris:~#ipadmcreate-ipnet0root@solaris:~#dladmshow-physLINKMEDIASTATESPEEDDUPLEXDEVICEnet0Ethernetup1000fulle1000g0root@solaris:~#ipadmshow-ifIFNAMECLASSSTATEACTIVEOVERlo0loopbackokyes---net0ipdownno---root@solaris:~#ipadmcreate-addr-Tstatic-a192.168.109.5/24net0root@solaris:~#ipadmshow-ifIFNAMECLASSSTATEACTIVEOVERlo0loopbackokyes---net0ipokyes---root@solaris:~#ipadmshow-addrADDROBJTYPESTATICADDRlo0/v4staticok127.0.0.1/8net0/v4staticok192.168.109.5/24lo0/v6staticok::1/128在åŒä¸€ä¸ªç½‘å¡ä¸Šæ·»åŠç¬¬äºŒåœ°å€å¹¶åˆé™¤root@solaris11-2:~#ipadmcreate-addr-Tstatic-a192.168.109.6net0root@solaris11-2:~#ipadmNAMECLASS/TYPESTATEUNDERADDRlo0loopbackok----lo0/v4staticok--127.0.0.1/8net0ipok----net0/v4staticok--192.168.109.5/24net0/v4astaticok--192.168.109.6/24root@solaris11-2:~#ipadmdelete-addrnet0/v4aroot@solaris11-2:~#ipadmNAMECLASS/TYPESTATEUNDERADDRlo0loopbackok----lo0/v4staticok--127.0.0.1/8net0ipok----net0/v4staticok--192.168.109.5/24设置主机å��:root@solaris11-2:~#svccfg-ssvc:/system/identity:nodesetpropconfig/nodename=astring:testroot@solaris11-2:~#svcadmrefreshsvc:/system/identity:noderoot@solaris11-2:~#svcadmrestartidentity:node这三个命令改å˜äº†ç³»ç»Ÿçš„主机åtest,但是ä¸ä¼šè‡ªåŠ¨æ›´æ”¹/etc/hosts文件,注æ„手动修改ipmpprobe模å¼�è¦ä»…使用probe探测,请执行以下æ¥éª¤ï¼šç¼ºçœæƒ…况下æ¤å‚数为“falseâ€ï¼Œprobeå’Œlink模å¼åŒæ—¶æ”¯æŒ�#svccfg-ssvc:/network/ipmpsetpropconfig/transitive-probing=true#svcadmrefreshsvc:/network/ipmp:defaultipadmcreate-ipnet0ipadmcreate-ipnet1ipadmcreate-addr-Tstatic-aip0net0ipadmcreate-addr-Tstatic-aip1net1ipadmcreate-ipmpipmp0ipadmadd-ipmp-inet0net1ipmp0ipadmcreate-addr-aipipmp0ipmpstat-gipmpstat-aipmpstat-iipmplink模å¼�如果è¦ä½¿ç”¨link模å¼ï¼Œåªè¦åˆé™¤ä¸¤ä¸ªåº•å±‚网å¡çš„ip地å€å³å¯ï¼Œæˆ–者一开始就ä¸é…地å€#ipadmdelete-addrnet0/v4#ipadmdelete-addrnet1/v4#ipadmNAMECLASS/TYPESTATEUNDERADDRipmp1ipmpok----ipmp1/v4staticok--192.168.109.10/24lo0loopbackok----lo0/v4staticok--127.0.0.1/8net0ipokipmp1--net1ipokipmp1--#ipmpstat-gGROUPGROUPNAMESTATEFDTINTERFACESipmp1ipmp1ok--net1net0#ipmpstat-iINTERFACEACTIVEGROUPFLAGSLINKPROBESTATEnet1yesipmp1-------updisabledoknet0yesipmp1--mbM--updisabledok#ipmpstat-aADDRESSSTATEGROUPINBOUNDOUTBOUND::downipmp1----192.168.109.10upipmp1net0net1net0åˆé™¤ipmp#ipadmremove-ipmp-inet0-inet1ipmp1#ipadmdelete-ipmpipmp1