Layer 2 Gateway
Directory
- Introduction
- [Core concepts](#Core concepts)
- [Purchase process](#Purchase process)
- Advantages
- [Pricing & product performance](#Pricing & product performance)
- [Application scenario](#Application scenarios)
Product Introduction
Baidu AI Cloud Layer 2 gateway (LAYER TWO GATEWAY, LTGW) is an enhanced networking service based on virtual private cloud (VPC), providing large Layer 2 capabilities. Its underlying overlay connects to dedicated lines or VPNs, thereby enabling enterprise users to migrate host instances while retaining private IP addresses in their IDC. This significantly accelerates cloud migration and satisfies hybrid cloud networking demands for elasticity and disaster recovery.

Core concepts
The Layer 2 gateway product consists of Layer 2 gateway instances and Layer 2 connection tunnels.
-
Layer 2 gateway instance
The Layer 2 gateway instance, recently launched by Baidu AI Cloud, is a network instance supporting Layer 3 connections with user IDC. It uses a primary-backup mode with two cloud hosts to ensure high availability.
-
Layer 2 connection tunnel
The Layer 2 connection tunnel, also recently launched by Baidu AI Cloud, is a network instance designed to establish tunnels with user IDC-side VXLAN (Virtual eXtensible Local Area Network).
Purchase process

Advantages
- Support retaining private IP addresses during IDC migration to the cloud
- Support host migration at single-IP granularity
- Support users viewing migratable host IP addresses in the Baidu AI Cloud console
- Adopt highly reliable deployment for the gateway
- Support flexible Layer 2 hybrid cloud networking
Pricing and Product Specifications
- Price
Currently, only standard gateways are supported. Standard Layer 2 gateway instances are provided free of charge. Any future updates regarding pricing adjustments will be announced on the official Baidu AI Cloud website.
- Product Specifications
| Gateway specifications | Bandwidth range | Maximum packet transmission count | Layer 2 connection tunnel count |
|---|---|---|---|
| General-purpose | 1-3Gbps | 500,000 pps | 1 |
Description:
- The number of Layer 2 connection tunnels is fixed and cannot be modified.
Application scenarios
Support private IP addresses during IDC migration to the cloud
IDC hosts can migrate to Baidu AI Cloud while retaining their original IP addresses, enabling seamless use of products such as Baidu Cloud Compute.
