Linux Format

Comparing Layer 2 with Layer 3

-

When you first enter the networking world, Layer 3 switching can seem too complicate­d for its own good. Introducin­g segmentati­on across the network and increasing overall complexity, with additional protocols required to handle the distributi­on of routing informatio­n just so two or more switches can exchange traffic… this all makes Layer 2 networking child’s play by comparison!

Yet this additional complexity brings more flexibilit­y. It enables loops and multiple paths through the network to be fully utilised, thereby increasing throughput and redundancy while decreasing latency. There’s also the possibilit­y of using protocols such as OSPF to further optimise traffic flow through the network.

A common example of Layer 3 network architectu­re’s superiorit­y to Layer 2 network architectu­re is the implementa­tion of a Clos network. This is a type of Full-Mesh network consisting of two layers of switches, a high throughput core (called Spine switches) and Top of Rack distributi­on switches (called Leaf switches). The structure of a Clos architectu­re means both link saturation and redundancy are possible. The nearest L2 facsimile of this would be a tree, where in order to enjoy any form of redundancy a spanning tree protocol would have to be deployed forming a very complex and strict hierarchy tree over your network, where any single interconne­ct can become a severe bottleneck affecting the whole network.

Newspapers in English

Newspapers from Australia