Can someone tell me what is meant by “layer 2 adjacency”

network-designnetworking

I am working on designing the logical topology for a new data center rollout. I'm reading "Cisco Data Center Infrastructure 2.5 Design Guide" and going with the multi-tier design. There are multiple options for this design, including looped layer 2 and loop-free.

The benefit of the looped design, it says, is layer 2 adjacency for servers that require it. The loop-free topology apparently limits layer 2 adjacency "to a single pair of access switches".

I don't quite understand what this means. I would assume it is referring to how many layer 2 "hops" a server is away from another, but in both cases it seems traffic requires a trip up to the aggregation layer (assuming a L2/L3 switch) to cross vlans. If we're talking the same vlan, well looped seems even worse because servers on the same vlan have to traverse up to the agg layer to communicate versus what seems like a trip directly to the connected switch with the loop free example.

Can anyone shed some light on my misunderstanding?

Best Answer

Layer 2 Adjacency, in Ethernet networks, refers to the idea that a packet send out on a segment can directly reach its destination without traveling through a device which would change the packet.

A simple example:
You've got two computers with a wire in-between; whatever comes out of one computer is essentially guaranteed to be receivable by the other computer. These devices have network adjacency.

More complicated:
You've got two computers with a L3 switch in between, both are assigned the same vLAN. Here again what one computer sends the other will receive without question.

Breaking adjacency
Two computers on the L3 switch again, but one is connected to a port assigned to a vLAN, the other is assigned to a trunk port. Now packets from the first computer will arrive to the second computer with a vLAN tag (assuming a typical setup here...)

Who cares? Well routing protocols do (they usually need to be able to figure out the network topology, and that discovery can be broken by non-adjacency), as well as a myriad of non-IP protocols. It's not all that common for these issues to come up on servers in a DC, but is certainly possible.