Ethernet in Carrier Networks

22
Ethernet in Carrier Networks

description

Ethernet in Carrier Networks. Ethernet Reminder. Shared access medium widespread in LAN environments CSMA/CD Frames. 2. 46 to 1500*. 4. 6. 6. Type. Payload. FCS. Dest. MAC. Source MAC. Ethernet. Flat Address Space. Ethernet. Ethernet parts are cheap Ethernet is fairly simple - PowerPoint PPT Presentation

Transcript of Ethernet in Carrier Networks

Page 1: Ethernet in Carrier Networks

Ethernet in Carrier Networks

Page 2: Ethernet in Carrier Networks

Ethernet Reminder

• Shared access medium widespread in LAN environments– CSMA/CD– Frames

Dest. MAC Source MAC

6 6

Type

2

Payload

46 to 1500*

FCS

4

Page 3: Ethernet in Carrier Networks

Ethernet

Flat Address Space

Page 4: Ethernet in Carrier Networks

Ethernet

• Ethernet parts are cheap

• Ethernet is fairly simple– but can be extended

• Ethernet is ubiquitous

• Ethernet can carry many different Layer-3 protocols

Page 5: Ethernet in Carrier Networks

Ethernet in Carrier Networks

• PHY types

• OAM

• Link Aggregation

• VLANs

• Quality of Service

Page 6: Ethernet in Carrier Networks

Ethernet PHY

• Ethernet Physical Layer (PHY)

• Layer 1 in OSI model

Page 7: Ethernet in Carrier Networks

Ethernet PHY

• Wide and varied PHY standards– Common Ethernet frame format– Coax / Category 5 Twisted Pair / Wireless /

Fiber Optic• Fiber Optics == Lasers

– CSMA/CD, CSMA/CA– Coding method: Manchester, 4B/5B, 8B/10B,

64B/66B– Full duplex vs. half duplex– etc

Page 8: Ethernet in Carrier Networks

Ethernet PHY

• Relatively short distances– 100baseT – up to 100m– 100baseFX – up to 4km full duplex– GigE over Fiber – up to 100km– 10GigE over Fiber – up to 40km

Page 9: Ethernet in Carrier Networks

10GigE PHY

• 10GBASE-SW,EW,LW define Ethernet over SDH STS-192c networks– S = 850nm, L = 1310nm, E = 1550nm– W == WAN Interface Sublayer– useful for carriers which already have these

links in place– reuse existing technology == cheaper.

Page 10: Ethernet in Carrier Networks

OAM• Operation, Administration, and Maintenance

• Detect network defects– Anomaly

• smallest detectable discrepancy between observed and expected behaviour

– Defect• function is impaired by density of anomalies

– Single Fault• many different correlated defects caused by fault

– Failure• fault persists for long enough that network function terminates

– Alarm• indication to human of failure

Source: Ethernet OAM Whitepaper, RAD Data Communications

Page 11: Ethernet in Carrier Networks

Ethernet OAM

• 802.3ah: “Ethernet in the First Mile”– Ethernet link-layer OAM

• 802.1ag: “Connectivity Fault Management”– Ethernet Service OAM

Page 12: Ethernet in Carrier Networks

Ethernet OAM

• Continuity Check (CC)– Special frame sent at regular intervals– Absence of CC message in 3.5x configured

interval indicates failure earlier in the link

Detects fault

alarmCC

Page 13: Ethernet in Carrier Networks

Ethernet OAM

• Link Trace (LT) message for identifying intermediate points

• Loopback (LB) message for diagnosing faults– In-service (non-intrusive echo)– Out-of-service (intrusive loopback)– Send LB to first intermediate, then second,

until LB is not returned

Page 14: Ethernet in Carrier Networks

802.3ad link aggregation

• aggregate multiple physical ports into single logical link– increase capacity– fault tolerance

Page 15: Ethernet in Carrier Networks

802.3ad link aggregation

• Does not reorder packets in a given conversation

• Does not change Ethernet frame format

• Does not necessarily provide N times more capacity unless Ethernet-layer traffic is diverse

PC

Sw

itch

Sw

itch

Page 16: Ethernet in Carrier Networks

802.3ad link aggregation

• requires protocol support from switch– switch sees same MAC address arrive on

multiple ports– otherwise would get quickly confused

• Link Aggregation Control Protocol (LACP)– Uses EtherType 0x8809

• Aggregator advises switch which ports it is aggregating

Page 17: Ethernet in Carrier Networks

802.1Q Virtual LANs (VLANs)• Allow multiple networks to share same

physical Ethernet link

VLAN Switch

Page 18: Ethernet in Carrier Networks

802.1Q VLANs

• Want to do this without introducing security concerns

• Ethernet has a flat address space– Want to do this in a scalable way

Page 19: Ethernet in Carrier Networks

802.1Q VLANs

• 4 byte tag– Tag Protocol ID– User Priority– Canonical Format Indicator– VLAN ID

• FCS is recalculated on VLAN tag insertion

Destination MAC

Source MAC

6 6

Type

16 bits

Payload

46 to 1500*

FCS

4

VLAN

4

0x8100TPID

3 1

UP VID

12 bits

Page 20: Ethernet in Carrier Networks

802.1Q VLANs

• Switch is configured to insert specific VLAN ID for a given port

• Ethernet switches route VLAN frames based on VLAN ID

• Ethernet switches may prioritise traffic based on the User Priority field– Defined in 802.1p

Page 21: Ethernet in Carrier Networks

802.1p Traffic Class Expediting

• 802.1p provides recommended actions for 3 User Priority bits in VLAN tag.– 1, BK, Background– 0, BE, Best Effort (default)– 2, EE, Excellent Effort– 3, CA, Critical Applications– 4, VI, Video < 100ms latency + jitter– 5, VO, Voice < 10ms latency + jitter– 6, IC, Internetwork Control– 7, NC, Network Control

• Approximately maps to first DSCP precedenceSource: 802.1Q-2005.pdf, page 282

Page 22: Ethernet in Carrier Networks

Summary

• Ethernet is fairly simple, but has many useful standardised extensions