doc-exports/docs/eip/umn/faq_eip_0013.html
Qin Ying, Fan f906a2fa67 EIP UMN 20230106 version
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2023-08-02 19:23:34 +00:00

50 lines
5.7 KiB
HTML

<a name="faq_eip_0013"></a><a name="faq_eip_0013"></a>
<h1 class="topictitle1">What Are the Differences Between EIP, Private IP Address, and Virtual IP Address?</h1>
<div id="body8662426"><p id="faq_eip_0013__en-us_topic_0169091095_p1558163619433">Different types of IP addresses have different functions.</p>
<div class="fignone" id="faq_eip_0013__en-us_topic_0169091095_fig945012352420"><span class="figcap"><b>Figure 1 </b>IP address architecture</span><br><span><img class="eddx" id="faq_eip_0013__en-us_topic_0169091095_image383414544377" src="en-us_image_0000001401506644.png"></span></div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="faq_eip_0013__en-us_topic_0169091095_table1446824610714" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Functions of different IP address types</caption><thead align="left"><tr id="faq_eip_0013__en-us_topic_0169091095_row746813461176"><th align="left" class="cellrowborder" valign="top" width="16.421642164216426%" id="mcps1.3.3.2.4.1.1"><p id="faq_eip_0013__en-us_topic_0169091095_p9468134619710">IP Address Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="52.63526352635264%" id="mcps1.3.3.2.4.1.2"><p id="faq_eip_0013__en-us_topic_0169091095_p17468546774">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="30.943094309430947%" id="mcps1.3.3.2.4.1.3"><p id="faq_eip_0013__en-us_topic_0169091095_p1246815467720">Example Value</p>
</th>
</tr>
</thead>
<tbody><tr id="faq_eip_0013__en-us_topic_0169091095_row846844617714"><td class="cellrowborder" valign="top" width="16.421642164216426%" headers="mcps1.3.3.2.4.1.1 "><p id="faq_eip_0013__en-us_topic_0169091095_p16468346373">Private IP address</p>
</td>
<td class="cellrowborder" valign="top" width="52.63526352635264%" headers="mcps1.3.3.2.4.1.2 "><p id="faq_eip_0013__en-us_topic_0169091095_p84681446970">Private IP addresses come with your ECSs and belong to the VPC subnets of the ECSs. They are used for private communication on the cloud.</p>
</td>
<td class="cellrowborder" valign="top" width="30.943094309430947%" headers="mcps1.3.3.2.4.1.3 "><ul id="faq_eip_0013__en-us_topic_0169091095_ul151981874101"><li id="faq_eip_0013__en-us_topic_0169091095_li15199207131016">Private IP address of ECS-A-01: 172.16.0.84</li><li id="faq_eip_0013__en-us_topic_0169091095_li17816191010102">Private IP address of ECS-B-01: 172.16.1.12</li></ul>
</td>
</tr>
<tr id="faq_eip_0013__en-us_topic_0169091095_row164685461675"><td class="cellrowborder" valign="top" width="16.421642164216426%" headers="mcps1.3.3.2.4.1.1 "><p id="faq_eip_0013__en-us_topic_0169091095_p164686461876">Virtual IP address</p>
</td>
<td class="cellrowborder" valign="top" width="52.63526352635264%" headers="mcps1.3.3.2.4.1.2 "><p id="faq_eip_0013__en-us_topic_0169091095_p162596501215">A virtual IP address can be shared among multiple ECSs. Two ECSs can work as an active and standby pair to achieve high availability by using a virtual IP address and Keepalived. If the active ECS is faulty, the virtual IP address can be dynamically switched to the standby ECS to continue providing services.</p>
<p id="faq_eip_0013__en-us_topic_0169091095_p913132818138"></p>
<p id="faq_eip_0013__en-us_topic_0169091095_p1664193011313"></p>
<p id="faq_eip_0013__en-us_topic_0169091095_p531395915464">For more information about virtual IP addresses, see <a href="https://docs.otc.t-systems.com/virtual-private-cloud/umn/virtual_ip_address/virtual_ip_address_overview.html" target="_blank" rel="noopener noreferrer">Virtual IP Address Overview</a>.</p>
</td>
<td class="cellrowborder" valign="top" width="30.943094309430947%" headers="mcps1.3.3.2.4.1.3 "><p id="faq_eip_0013__en-us_topic_0169091095_p746815461270">Bind virtual IP address (172.16.0.2) both ECS-A-01 and ECS-A-02. The active/standby switchover of ECS-A-01 and ECS-A-02 can be implemented by using Keepalived.</p>
</td>
</tr>
<tr id="faq_eip_0013__en-us_topic_0169091095_row1146813465714"><td class="cellrowborder" valign="top" width="16.421642164216426%" headers="mcps1.3.3.2.4.1.1 "><p id="faq_eip_0013__en-us_topic_0169091095_p3468164612718">EIP</p>
</td>
<td class="cellrowborder" valign="top" width="52.63526352635264%" headers="mcps1.3.3.2.4.1.2 "><p id="faq_eip_0013__en-us_topic_0169091095_p631154463317"><span id="faq_eip_0013__en-us_topic_0169091095_text103164483316"></span><span id="faq_eip_0013__en-us_topic_0169091095_text1231204413339">EIP</span>s can be used by cloud resources for Internet access.</p>
<ul id="faq_eip_0013__en-us_topic_0169091095_ul179510319355"><li id="faq_eip_0013__en-us_topic_0169091095_li39513312351">You can bind an <span id="faq_eip_0013__en-us_topic_0169091095_text1385814914347"></span><span id="faq_eip_0013__en-us_topic_0169091095_text38581993415">EIP</span> to a virtual IP address to enable the ECSs with the virtual IP address bound to access the Internet.</li><li id="faq_eip_0013__en-us_topic_0169091095_li31819683519">You can bind an EIP to an ECS to enable the ECS to access the Internet. Each EIP can be bound to only one ECS at a time.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="30.943094309430947%" headers="mcps1.3.3.2.4.1.3 "><ul id="faq_eip_0013__en-us_topic_0169091095_ul149616556405"><li id="faq_eip_0013__en-us_topic_0169091095_li1549775564014">Bind EIP (122.9.9.85) to virtual IP address (172.16.0.2) to enable ECS-A-01 and ECS-A-02 to access the Internet.</li><li id="faq_eip_0013__en-us_topic_0169091095_li141822103426">Bind EIP (122.9.9.87) to ECS-B-01 to enable ECS-B-01 to access the Internet.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="faq_common.html">Product Consultation</a></div>
</div>
</div>