<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2042/1/7/_/styles/combined.css?spaceKey=TOP&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Ice+Support+for+IPv6+within+Proxies">Ice Support for IPv6 within Proxies</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://wiki.asterisk.org/wiki/display/~jcolp">Joshua Colp</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <h3><a name="IceSupportforIPv6withinProxies-Configuration"></a>Configuration</h3>

<p>By default Ice is not configured to support IPv6. To enable it the following configuration option must be passed to the runtime (usually via configuration file).</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
Ice.IPv6=1
]]></script>
</div></div>

<p>This will allow proxies containing IPv6 endpoints to be created and also for received proxies containing IPv6 endpoints to be used.</p>

<p>Please note that if no host is specified when configuring an object adapter's endpoints then all addresses on the machine will be added as endpoints. This means that a proxy will contain both IPv4 and IPv6 addresses if the machine is configured with them.</p>

<h3><a name="IceSupportforIPv6withinProxies-MixedEnvironments"></a>Mixed Environments</h3>

<p>If operations are invoked on a proxy that contains endpoints with differing address families then, by default, a random endpoint will be chosen unless a connection is already up.</p>

<p>If operations are invoked on a proxy that contains endpoints with differing address families then only endpoints with supported address families will be considered.</p>

<p>If operations are invoked on a proxy that contains endpoints with only unsupported address families then an Ice::DNSException exception will be thrown.</p>
    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://wiki.asterisk.org/wiki/display/TOP/Ice+Support+for+IPv6+within+Proxies">View Online</a>
              |
       <a href="https://wiki.asterisk.org/wiki/display/TOP/Ice+Support+for+IPv6+within+Proxies?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>