Trunk
Trunks are mainly used for:
- Providing a physical connection from external equipment to the Yandex Cloud equipment at a point of presence.
- Enabling traffic multiplexing for private and public connections using Ethernet 802.1Q.
Warning
You can set up one or more trunks per point of presence, per client. However, you cannot set up multiple private connections to a single cloud network through different trunks at the same point of presence. To ensure fault tolerance, we recommend setting up multiple (at least two) trunks, one at each point of presence.
Physical port settings on the Yandex Cloud equipment
All physical ports on the Yandex Cloud equipment have the following default settings:
- No auto negotiation of the transmission rate is supported on physical ports. Make sure to explicitly set the transmission rate and disable auto negotiation on your equipment.
- On the Yandex Cloud equipment, a physical port always works in trunk mode with 802.1Q tagging. No connection in access port mode (without tagging) is supported.
- The default MTU size supports transfer of jumbo frames.
Warning
If you need to, you can group multiple physical ports into a single bundle via LACPActive
mode. When setting up a bundle, all its physical ports must use transceivers of the same type. You cannot combine transceivers of different types within a single bundle.
The MC-LAG technology
Physical connection topologies
The following physical connection setup options are supported on the Yandex Cloud equipment:
- Direct client connection: Connection of your own equipment at the point of presence directly to the Yandex Cloud equipment.
- Connection via a telecom provider: You have no equipment of your own at the point of presence and you enlist the services of a telecom provider who connects you to the Yandex Cloud equipment.
- Connection via a partner: You have no equipment of your own at the point of presence and you enlist the services of a Yandex Cloud partner company who connects you to the Yandex Cloud equipment.
Direct client connection
This is a connection of your own equipment at the point of presence directly to the Yandex Cloud equipment.
A trunk in this setup option has the following components:
- Physical port on your equipment.
- Optical transceiver connected to the physical port on your equipment.
- Physical port reserved on the Yandex Cloud equipment.
- Optical transceiver connected to the physical port on the Yandex Cloud equipment.
- Cross connection that is used to connect to the optical transceiver on your equipment's port and to the optical transceiver on the Yandex Cloud equipment.
One may outline this connection as follows:
The client equipment is located at a point of presence and connected to the Yandex Cloud equipment directly through an optical cross-connection routed within the point of presence.
The transceiver transmitting side (Tx) on the Yandex Cloud equipment is connected to the transceiver receiving side (Rx) on the client equipment using optical fiber. The transceiver transmitting side (Tx) on the client equipment is connected to the transceiver receiving side (Rx) on the Yandex Cloud equipment with optical fiber. A pair of these optical fibers makes up an optical cross-connect.
Connecting via a telecom provider
If a client does not have their own equipment at the appropriate point of presence, they can use a telecom provider that has equipment at the appropriate point of presence to connect to the Yandex Cloud equipment.
One may outline this connection as follows:
A trunk in this setup option has the following components:
- Physical port on the telecom provider's equipment.
- Optical transceiver connected to the physical port on the telecom provider's equipment.
- Physical port reserved on the Yandex Cloud equipment.
- Optical transceiver connected to the physical port on the Yandex Cloud equipment.
- Cross connection that is used to connect to the optical transceiver on the telecom provider's equipment and to the optical transceiver on the Yandex Cloud equipment.
Note
The telecom provider has to set up a connection between the client equipment and its own equipment at the appropriate point of presence and ensure traffic between the client equipment and the Yandex Cloud equipment.
Partner trunk
A partner trunk simplifies connection to Yandex Cloud due to:
- Less time needed to connect to CIC.
- Lower operational cost on cross-connects.
You can use partner trunks to set up both private and public connections.
Guide
- To set up a private connection over a partner trunk, follow this guide.
- To set up a public connection over a partner trunk, follow this guide.
Connection multiplexing (802.1Q)
VLAN-ID
Ethernet 802.1Q allows you to transmit different types of traffic, i.e., enables traffic multiplexing. Each private or public connection in a trunk is assigned its own unique VLAN-ID.
Warning
When setting up a private or public connection, you can only use the VLAN ID values ranging from 2
to 4000
, inclusive.
Connection multiplexing options
You can combine different types of connections in a trunk:
- One private connection.
- One public connection.
- Multiple private connections and/or public connections.
You can leverage the following multiplexing options:
- Direct connection at a point of presence.
- Connection via a telecom provider (L2 transit).
- Connection via a telecom provider (L3VPN).
Direct connection at a point of presence
This option assumes setting up a 802.1Q trunk over a direct physical connection between the client equipment at the point of presence and the Yandex Cloud equipment.
Connection via a telecom provider (L2 transit)
This option is used when the client does not have their own equipment at the point of presence. In which case:
- The 802.1Q trunk is set up at the point of presence through a telecom provider that provides L2 transit.
- The 802.1Q trunk is set up between the client equipment and the Yandex Cloud equipment.
- When connecting the client equipment, the provider uses its own communication circuits. If the client needs to change connection VLAN IDs (enable VLAN ID translation) on their equipment, the telecom provider needs to agree upon the translation scenario with the client for consistent operation of the client and telecom provider equipment.
Connection via a telecom provider (L3VPN)
This option is used when the client does not have their own equipment at the point of presence. In which case:
- The 802.1Q trunk is set up at the point of presence through a telecom provider.
- The 802.1Q trunk is set up between the telecom provider's equipment at the point of presence and the Yandex Cloud equipment.
- Connectivity between the telecom provider's equipment at the point of presence and the client equipment is ensured by providing the L3VPN service to the client. This setup option is usually used when the client cannot technically ensure BGP connectivity to the Yandex Cloud equipment on their own and delegates this to a telecom provider that ensures connectivity by providing an L3VPN service to the client.
Connection capacity
At the trunk level, Yandex Cloud equipment limits data receive/send rates from/to external equipment in bits per second and packets per second according to the connection capacity selected by the client.
To limit the rate of receiving and sending data on the Yandex Cloud equipment, one uses the RateLimit (Policing) tool. When the data transfer speed in bits per second or packets per second is exceeded, the data may be rejected. As a result, uniform traffic may be transmitted at a faster speed than the traffic transmitted in sudden bursts.