Task Statement 1.5: Design a routing strategy and connectivity architecture between on-premises networks and the AWS Cloud.
📘AWS Certified Advanced Networking – Specialty
Layer 1 and Layer 2 Concepts for Physical Interconnects
In networking, when connecting on-premises networks to AWS, understanding Layer 1 (Physical) and Layer 2 (Data Link) is essential because they determine how the network physically connects and communicates before routing and higher-level protocols take over.
1. Layer 1 – Physical Layer
Layer 1 is all about the physical medium and signals that carry data. It is the foundation of networking.
Key topics for AWS networking:
a. Fiber Optics and Copper
- Fiber Optics: Used for high-speed, long-distance connections. Examples:
- AWS Direct Connect locations often use fiber to connect to your on-premises data center.
- Speeds: 1 Gbps, 10 Gbps, 100 Gbps.
- Copper (Ethernet): Used for short-distance connections (e.g., inside a data center).
- Common speeds: 1 Gbps, 10 Gbps.
Exam Tip: Know that AWS Direct Connect uses physical fiber links for reliable, low-latency connections.
b. Optics (Transceivers)
- Devices like SFP, SFP+, QSFP modules plug into switches or routers and convert electrical signals to optical signals.
- Example: A Cisco switch may use a 10G SFP+ module to connect to AWS Direct Connect.
c. Bandwidth and Throughput
- The physical link determines maximum data transfer rate.
- Example: A 10 Gbps link can transfer up to 10 billion bits per second under ideal conditions.
d. Cabling Standards
- Single-mode fiber: Long distances, thinner cables.
- Multi-mode fiber: Short distances, thicker cables.
- Cat6/Cat6a Ethernet cables: Shorter distances, copper.
e. Signal Quality
- Physical layer affects latency, packet loss, and errors.
- Example: Bad fiber or a bent cable can cause packet loss, affecting cloud connectivity.
2. Layer 2 – Data Link Layer
Layer 2 is about how devices on the same physical network communicate. It manages MAC addresses, frames, and logical segmentation.
Key topics:
a. VLAN (Virtual LAN)
- VLANs segment traffic logically, even over the same physical switch.
- Example: Your data center might have:
- VLAN 10 for finance servers.
- VLAN 20 for development servers.
- AWS Direct Connect supports VLAN tagging to separate traffic types between your on-prem network and AWS VPCs.
- Common term: 802.1Q tagging – adds a VLAN ID to frames.
b. Link Aggregation (LAG)
- Combines multiple physical links into one logical link to increase bandwidth and redundancy.
- Example:
- Two 10 Gbps links combined → 20 Gbps logical link.
- Used for connecting multiple servers or switches to AWS Direct Connect for higher throughput.
- AWS supports LAGs for Direct Connect to increase reliability.
c. Jumbo Frames
- Standard Ethernet frame: 1500 bytes.
- Jumbo Frame: 9000 bytes or more.
- Benefit: Fewer packets for large transfers → lower CPU usage, higher throughput.
- Example: Moving large databases to AWS over Direct Connect:
- With jumbo frames, fewer packets are needed, so the transfer is faster and more efficient.
- Exam Tip: AWS Direct Connect supports jumbo frames up to 9001 bytes.
d. MAC Address Learning and Switching
- Layer 2 switches use MAC addresses to forward traffic.
- Example: When a server sends a packet, the switch looks at the MAC table to send it to the correct port.
- AWS doesn’t expose MAC addresses directly, but your on-premises Layer 2 setup must be correct to avoid loops or misrouting.
e. Spanning Tree Protocol (STP)
- Avoids loops in Layer 2 networks.
- Example: If you have redundant paths in your on-prem switch network, STP ensures only one active path is used.
- Important in AWS hybrid architectures to prevent broadcast storms in private networks.
3. Layer 1 & 2 in AWS Connectivity
When connecting on-premises networks to AWS, Layer 1 and Layer 2 concepts are directly applied:
| Concept | Role in AWS Connection |
|---|---|
| Fiber Optics / Copper | Physical medium for AWS Direct Connect |
| Optics (SFP/SFP+) | Converts electrical signals to optical for data transfer |
| VLAN | Segregates traffic between multiple AWS VPCs or services |
| LAG | Aggregates multiple Direct Connect links for bandwidth and redundancy |
| Jumbo Frames | Optimizes large data transfers to AWS |
| MAC & Switching | Ensures correct frame delivery on on-prem networks |
4. Exam Key Points
- AWS Direct Connect uses VLANs for separating traffic.
- LAGs increase bandwidth and provide redundancy.
- Jumbo frames improve efficiency for large payloads.
- Understand the difference between physical Layer 1 cabling and Layer 2 logical segmentation.
- Be able to identify proper Layer 1 and 2 design decisions for a hybrid AWS/on-premises network.
Summary
- Layer 1 = Physical connections (fiber, copper, optics, bandwidth, signal quality).
- Layer 2 = Logical link layer (VLANs, LAG, MAC addresses, jumbo frames).
- Both layers are critical for reliable, efficient, and high-speed AWS connectivity.
- Always consider redundancy, throughput, and traffic separation when designing your on-prem to AWS network.
