solaris11网络基本操作

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

设置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

1 / 3
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功