doc-exports/docs/dds/umn/dds_03_0100.html
Wang , Deng Ke ba65944bfd Added version 4.2.
Reviewed-by: Boka, Ladislav <ladislav.boka@t-systems.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2023-07-11 13:21:20 +00:00

22 lines
3.6 KiB
HTML

<a name="dds_03_0100"></a><a name="dds_03_0100"></a>
<h1 class="topictitle1">Configuring Cross-CIDR Access for Replica Set Instances</h1>
<div id="body1586850311458"><p id="dds_03_0100__p2349122515210">If a client and a replica set instance are deployed in different CIDR blocks and the client is not in 192.168.0.0/16, 172.16.0.0/24, or 10.0.0.0/8, configure Cross-CIDR Access for the instance to communicate with the client.</p>
<div class="section" id="dds_03_0100__section0746133618347"><h4 class="sectiontitle">Precautions</h4><ul id="dds_03_0100__ul1575233304111"><li id="dds_03_0100__li1321344314213">During the configuration of cross-CIDR access, services are running properly without interruption or intermittent disconnection.</li><li id="dds_03_0100__li18882164334419">If the client and replica set instance are in different VPCs and CIDR blocks, configure a VPC peering connection by referring to <strong id="dds_03_0100__b171034110916">VPC Peering Connection</strong> in <em id="dds_03_0100__i1260465614811">Virtual Private Cloud User Guide</em>.</li></ul>
</div>
<div class="section" id="dds_03_0100__section5620132215555"><h4 class="sectiontitle"><strong id="dds_03_0100__b64728295308">Procedure</strong></h4><ol id="dds_03_0100__ol18120152795518"><li id="dds_03_0100__li312682313217"><span><a href="dds_02_0043.html">Log in to the DDS console.</a></span></li><li id="dds_03_0100__en-us_topic_0049044698_li61161897172844"><span>On the <strong id="dds_03_0100__b12195835153012">Instance Management</strong> page, click the target replica set instance.</span></li><li id="dds_03_0100__li15539153193217"><span>In the navigation pane on the left, choose <span class="uicontrol" id="dds_03_0100__uicontrol149161645203017"><b>Connections</b></span>.</span></li><li id="dds_03_0100__li116141259843"><span>On the <strong id="dds_03_0100__b97195135449">Address</strong> area, click <strong id="dds_03_0100__b5624123183813">Enable</strong> to the right of <strong id="dds_03_0100__b187928913812">Cross-CIDR Access</strong> and specify the client CIDR block details.</span><p><div class="note" id="dds_03_0100__note14431222101210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="dds_03_0100__p5151130184514">Up to 30 CIDR blocks can be configured, and each of them can overlap but they cannot be the same. That is, the source CIDR blocks can overlap but cannot be the same.</p>
</div></div>
</p></li><li id="dds_03_0100__li13151197103"><span>After cross-CIDR access is enabled, <strong id="dds_03_0100__b782713421351">Enabled</strong> is displayed to the right of <strong id="dds_03_0100__b115141379355">Cross-CIDR Access</strong>.</span><p><p id="dds_03_0100__p16977172963217">If you need to change the client CIDR block, click <strong id="dds_03_0100__b12769121420387">Change</strong> to the right of <strong id="dds_03_0100__b18872181113816">Cross-CIDR Access</strong>.</p>
<div class="p" id="dds_03_0100__p1561640203813"><div class="note" id="dds_03_0100__note20842141213210"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="dds_03_0100__ul11842712113213"><li id="dds_03_0100__li1397912333376">To ensure the ECS and the DB instance can communicate with each other, configure the connection by referring to section "VPC Peering Connection Overview" in the <em id="dds_03_0100__i745842411120">Virtual Private Cloud User Guide</em>.</li></ul>
</div></div>
</div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dds_03_0019.html">Connection Management</a></div>
</div>
</div>