{"id":2303,"date":"2012-02-10T16:57:46","date_gmt":"2012-02-10T14:57:46","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2303"},"modified":"2012-04-02T18:01:07","modified_gmt":"2012-04-02T15:01:07","slug":"%d0%b0%d0%bb%d0%b8%d0%b0%d1%81-%d0%bd%d0%b0-%d1%81%d0%b5%d1%82%d0%b5%d0%b2%d0%be%d0%bc-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d1%84%d0%b5%d0%b9%d1%81%d0%b5","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2303","title":{"rendered":"\u0410\u043b\u0438\u0430\u0441 \u043d\u0430 \u0441\u0435\u0442\u0435\u0432\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435"},"content":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0442\u0438 \u0432 <strong>Solaris<\/strong> \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0433\u043e <strong>Linux\/FreeBSD<\/strong>. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f <strong>Solaris 10<\/strong> \u0438 <strong>11<\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p><!--more--><\/p>\n<h1><strong><span style=\"color: #0000ff;\">Solaris 10<\/span><\/strong><\/h1>\n<p><em><span style=\"color: #ff6600;\">1) \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u043b\u0438\u0430\u0441:<\/span><\/em><\/p>\n<p><code>#ifconfig deviceX:Y plumb<\/code><\/p>\n<p>\u0433\u0434\u0435\u00a0<strong>deviceX<\/strong> &#8211; \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430, \u0430 <strong>Y<\/strong>-\u043d\u043e\u043c\u0435\u0440 \u0430\u043b\u0438\u0430\u0441\u0430\u00a0(\u0430\u043b\u0438\u0430\u0441\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0443\u043c\u0435\u0440\u0443\u044e\u0442\u0441\u044f \u0441 <strong>1<\/strong>, \u0430 \u043d\u0435 \u0441 \u043d\u0443\u043b\u044f)<\/p>\n<p><em><span style=\"color: #ff6600;\">2) \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443:<\/span><\/em><\/p>\n<p><code>#ifconfig deviceX:Y 192.168.1.2 netmask 255.255.255.0 up<\/code><\/p>\n<p><em><span style=\"color: #ff6600;\">3) \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0435 \u0441\u043b\u0435\u0442\u0430\u043b, \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a:<\/span><\/em><\/p>\n<p>&#8211; \u043f\u0440\u0438\u0434\u0443\u043c\u044b\u0432\u0430\u0435\u043c \u043d\u043e\u0432\u043e\u0435 \u0438\u043c\u044f (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 <strong>host_X<\/strong>)<br \/>\n&#8211; \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b\u00a0<strong>\/etc\/hostname.deviceX:Y<\/strong> \u0438 \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0442\u0443\u0434\u0430 \u0438\u043c\u044f <strong>host_X<\/strong>:<\/p>\n<p><code>#echo \"host_X\" &gt; \/etc\/hostname.deviceX:Y<\/code><\/p>\n<p>&#8211; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0444\u0430\u0439\u043b <strong>\/etc\/hosts<\/strong>:<\/p>\n<p><code>#echo \"192.168.1.2 \u00a0 host_X\" &gt;&gt; \/etc\/hosts<\/code><\/p>\n<h1><strong><span style=\"color: #0000ff;\">Solaris 11<\/span><\/strong><\/h1>\n<p>\u0422\u0443\u0442 \u043f\u0440\u043e\u0449\u0435 \u043d\u0435\u043a\u0443\u0434\u0430 \u0438 \u0432\u0441\u0451 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p><code>#ipadm create-addr -T static -a 172.16.1.2\/24 net0\/ipv4alias<\/code><\/p>\n<p>\u0433\u0434\u0435 <strong>net0<\/strong> \u043d\u0430\u0448\u0430 \u0441\u0435\u0442\u0435\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430, \u0430<strong>\u00a0ipv4alias<\/strong> &#8211; \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043c\u044f \u0430\u043b\u0438\u0430\u0441\u0430 (\u043e\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u044b\u043c, \u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435), \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043c\u044b \u0438\u0445 \u0431\u0443\u0434\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c.<\/p>\n<p>\u041d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0442\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0430\u043a:<\/p>\n<p><code>#dladm create-vnic -l net0 vnic0<br \/>\n#ipadm create-ip vnic0<br \/>\n#ipadm create-addr -T static -a 172.16.1.2\/24 vnic0\/ipv4addr<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0442\u0438 \u0432 Solaris \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u0433\u043e Linux\/FreeBSD. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f Solaris 10 \u0438 11, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-2303","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2303"}],"version-history":[{"count":6,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2303\/revisions"}],"predecessor-version":[{"id":2507,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2303\/revisions\/2507"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2303"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}