{"id":2930,"date":"2012-09-25T12:43:35","date_gmt":"2012-09-25T09:43:35","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=2930"},"modified":"2017-11-10T15:43:58","modified_gmt":"2017-11-10T13:43:58","slug":"reply-to-%d0%b2-solaris","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=2930","title":{"rendered":"reply-to \u0432 Solaris"},"content":{"rendered":"<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0432 <strong>Solaris<\/strong> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043a\u043e\u0433\u0434\u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e,\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u043e\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u00a0\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c \u043f\u043e <strong>round-robin<\/strong>. \u041d\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u043f\u0430\u043a\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0441\u044f \u0442\u0443\u0434\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u043f\u0440\u0438\u0448\u0451\u043b. \u041f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>ip_strict_dst_multihoming<\/strong> (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <strong>0<\/strong>). \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0432 <strong>1<\/strong> \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443:<\/p>\n<p><!--more--><\/p>\n<p><code># ndd ip ip_strict_dst_multihoming<br \/>\n0<br \/>\n# ndd -set ip ip_strict_dst_multihoming 1<br \/>\n# ndd ip ip_strict_dst_multihoming<br \/>\n1<\/code><\/p>\n<p><em><strong><span style=\"color: #ff6600;\">\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435.<\/span><\/strong><\/em><\/p>\n<p>\u0414\u043b\u044f <strong>IPv6<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>ip6_strict_dst_multihoming<\/strong><\/p>\n<p>\u0414\u043b\u044f <strong>Solaris 11<\/strong> \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0431\u043e\u043b\u0435\u0435 \u043d\u043e\u0432\u044b\u043c:<\/p>\n<pre># ipadm show-prop -p _strict_dst_multihoming ipv4\r\nPROTO PROPERTY              PERM CURRENT      PERSISTENT   DEFAULT      POSSIBLE\r\nipv4  _strict_dst_multihoming rw 1            --           0            0-1\r\n# ipadm show-prop -p _strict_dst_multihoming ipv6\r\nPROTO PROPERTY              PERM CURRENT      PERSISTENT   DEFAULT      POSSIBLE\r\nipv6  _strict_dst_multihoming rw 0            --           0            0-1\r\n# ipadm set-prop -p _strict_dst_multihoming=1 ipv4\r\n# ipadm show-prop -p _strict_dst_multihoming ipv4\r\nPROTO PROPERTY              PERM CURRENT      PERSISTENT   DEFAULT      POSSIBLE\r\nipv4  _strict_dst_multihoming rw 1            1            0            0-1<\/pre>\n<p>\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 <strong>ndd<\/strong> \u043d\u043e\u0441\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440 (\u0434\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438). \u0422\u043e \u0435\u0441\u0442\u044c \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0443\u0436\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u044d\u0442\u0438\u043c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435\u043c \u0438 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u00a0hostmodel. \u041f\u0440\u0438\u0432\u0435\u0434\u0443 \u0432\u044b\u0434\u0435\u0440\u0436\u043a\u0443 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438:<\/p>\n<p>Description<\/p>\n<p>Controls send and receive behavior for IPv4 or IPv6 packets on a multi-homed system.<\/p>\n<p>Default<\/p>\n<p><tt>weak<\/tt><\/p>\n<p>Range<\/p>\n<p><tt>weak<\/tt>, <tt>strong<\/tt>, or <tt>src-priority<\/tt><\/p>\n<ul>\n<li><tt>weak<\/tt>\n<ul>\n<li>Outgoing packets &#8211; The source address of the packet going out need not match the address configured on the outgoing interface.<\/li>\n<li>Incoming packets &#8211; The destination address of the incoming packet need not match the address configured on the incoming interface.<\/li>\n<\/ul>\n<\/li>\n<li><tt>strong<\/tt>\n<ul>\n<li>Outgoing packets &#8211; The source address of the packet going out must match the address configured on the outgoing interface.<\/li>\n<li>Incoming packets &#8211; The destination address of the incoming packet must match the address configured on the incoming interface.<\/li>\n<\/ul>\n<\/li>\n<li><tt>src-priority<\/tt>\n<ul>\n<li>Outgoing packets &#8211; If multiple routes for the IP destination in the packet are available, the system prefers routes where the IP source address in the packet is configured on the outgoing interface.If no such route is available, the system falls back to selecting the <b>best<\/b> route, as with the weak ES case.<\/li>\n<li>Incoming packets &#8211; The destination address of the incoming packet must be configured on any one of the host&#8217;s interface.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Dynamic?<\/p>\n<p>Yes<\/p>\n<p>When to Change<\/p>\n<p>If a system has interfaces that cross strict networking domains (for example, a firewall or a VPN node), set this parameter to strong.<\/p>\n<p>Commitment Level<\/p>\n<p>Stable<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u0432 Solaris \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u043a\u043e\u0433\u0434\u0430 \u0440\u043e\u0443\u0442\u0435\u0440 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0441\u0435\u0442\u0435\u0439. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e,\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0442\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u043e\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u00a0\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c \u043f\u043e round-robin. \u041d\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u043f\u0430\u043a\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0441\u044f \u0442\u0443\u0434\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u043f\u0440\u0438\u0448\u0451\u043b. \u041f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 ip_strict_dst_multihoming (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 0). \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0432 1 \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443:<\/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-2930","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2930","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=2930"}],"version-history":[{"count":4,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2930\/revisions"}],"predecessor-version":[{"id":5362,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/2930\/revisions\/5362"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}