beautypg.com

Juniper Networks JUNOS OS 10.4 User Manual

Page 26

background image

Networking at Layer 2: Challenges of Ethernet MAC Addresses on page 10

Networking at Layer 2: Forwarding VLAN Tagged Frames on page 11

Networking at Layer 2: Forwarding Dual-Tagged Frames on page 13

Networking at Layer 2: Logical Interface Types on page 14

A Metro Ethernet Network with MX Series Routers on page 15

Layer 2 Networking Standards on page 17

Networking and Internetworking with Bridges and Routers

Traditionally, different hardware, software, and protocols have been used on LANs and
on networks that cover wider areas (national or global). A LAN switch is different than
a router, an Ethernet frame is different than an IP packet, and the methods used to find
destination MAC addresses are different than those used to find destination IP addresses.
This is because LANs based on Ethernet were intended for different network environments
than networks based on IP. The Internet protocol suite (TCP/IP) was intended as an
internetworking method to connect local customer networks. The local customer network
that a service provider's IP routers connected was usually based on some form of Ethernet.
This is why Ethernet and IP fit so well together: Ethernet defines the LAN, and the Internet
protocols define how these LANs are connected.

More specifically, Ethernet LANs and IP networks occupy different layers of the Internet’s
TCP/IP protocol suite. Between sender and receiver, networks deal with the bottom three
layers of the model: the physical layer (Layer 1), the data link or MAC layer (Layer 2), and
the network layer (Layer 3).

NOTE:

These layers are also found in the Open Systems Interconnect

Reference Model (OSI-RM); however, in this chapter they are applied to the
TCP/IP protocol suite.

All digital networks ultimately deal with zeroes and ones, and the physical layer defines
bit representation on the media. Physical layer standards also define mechanical aspects
of the network, such as electrical characteristics or connector shapes, functional aspects
such as bit sequence and organization, and so on. The physical layer only “spits bits” and
has very little of the intelligence required to implement a complete network. Devices that
connect LAN segments at the physical layer are called hubs, and all bits that appear on
one port of the hub are also sent out on the other ports. This also means that bad bits
that appear on one LAN segment are propagated to all other LAN segments.

Above the physical layer, the data link layer defines the first-order bit structure, or frame,
for the network type. Also loosely called the MAC layer (technically, the MAC layer is a
sublayer required only on LANs), Layer 2 sends and receives frames. Frames are the last
things that bits were before they left the sender and the first things that bits become
when they arrive on an interface. Because frames have a defined structure, unlike bits,
frames can be used for error detection, control plane activities (not all frames must carry
user data: some frames are used by the network to control the link), and so forth. LAN

Copyright © 2013, Juniper Networks, Inc.

6

Junos OS 13.1 MX Series 3D Universal Edge Routers Solutions Guide