
# 在企业路由器中配置VPC连接
#### 操作场景
本章节指导用户在企业路由器中配置"虚拟私有云（VPC）"连接，即将VPC接入企业路由器中，并配置企业路由器和VPC的路由。
#### 操作步骤
1. 将3个VPC分别接入企业路由器中。 
   添加"虚拟私有云（VPC）"连接，具体方法请参见[在企业路由器中添加VPC连接](https://support.huaweicloud.com/qs-er/er_01_0066.html)。
   
   
2. 在企业路由器中创建2个路由表。 
   创建路由表，具体方法请参见[创建路由表](https://support.huaweicloud.com/usermanual-er/er_01_0025.html)。
   
   
3. 在ER路由表1中创建"虚拟私有云（VPC）"连接的关联和静态路由。 
   路由表1资源规划详情，请参见[表8](https://support.huaweicloud.com/bestpractice-er/er_03_0062.html#er_03_0062__table18948107168)。
   1. 将VPC1连接和VPC2连接关联至路由表1。 创建关联，具体方法请参见[创建关联将连接关联至路由表中](https://support.huaweicloud.com/usermanual-er/er_01_0031.html)。
      
   
   2. 在路由表1中创建下一跳为VPC3连接的静态路由，网段为0.0.0.0/0。 创建静态路由，具体方法请参见[创建静态路由](https://support.huaweicloud.com/usermanual-er/er_01_0041.html)。
      
    
   
   
4. 在ER路由表2中创建"虚拟私有云（VPC）"连接的关联和传播。 
   路由表2资源规划详情，请参见[表8](https://support.huaweicloud.com/bestpractice-er/er_03_0042.html#er_03_0042__table5841489175)。
   1. 将VPC3连接关联至路由表2。 创建关联，具体方法请参见[创建关联将连接关联至路由表中](https://support.huaweicloud.com/usermanual-er/er_01_0031.html)。
      
   
   2. 在路由表2中，创建VPC1连接和VPC2连接的传播。 创建传播，具体方法请参见[创建传播](https://support.huaweicloud.com/usermanual-er/er_01_0036.html)。
      
   
   
   
   
5. 在VPC路由表中配置路由信息。 
   配置路由信息，具体方法请参见[在VPC路由表中配置路由](https://support.huaweicloud.com/qs-er/er_01_0067.html)。
   1. 配置VPC到ER路由。 路由规划详情，请参见[表3](https://support.huaweicloud.com/bestpractice-er/er_03_0062.html#er_03_0062__table5325182820514)。
      
   
   2. 在VPC3默认路由表中，配置VPC到ECS路由。 路由规划详情，请参见[表4](https://support.huaweicloud.com/bestpractice-er/er_03_0062.html#er_03_0062__table135917119373)。
      
   
   
   
   
 
