text
stringlengths
0
6.55k
||||||||||||||||||||
Chapter 3: Fundamentals of WANs and IP Routing 63
Although the customer does not need to know all the details of how a telco creates a partic-ular leased line, enterprise engineers do need to know about the parts of the link that exist inside the customer’s building at the router. However, for the purposes of CCNA, you can think of any serial link as a point-to-point ...
HDLC Data-Link Details of Leased Lines
A leased line provides a Layer 1 service. In other words, it promises to deliver bits between
the devices connected to the leased line. However, the leased line itself does not define a
data-link layer protocol to be used on the leased line. 3
Because leased lines define only the Layer 1 transmission service, many companies and stan-dards organizations have created data-link protocols to control and use leased lines. Today, the two most popular data-link layer protocols used for leased lines between two routers are High-Level Data Link Control (HDLC) and Poi...
All data-link protocols perform a similar role: to control the correct delivery of data over a physical link of a particular type. For example, the Ethernet data-link protocol uses a des-tination address field to identify the correct device that should receive the data and an FCS field that allows the receiving device ...
HDLC has less work to do than Ethernet because of the simple point-to-point topology of a leased line. When one router sends an HDLC frame, the frame can go only one place: to the other end of the link. So, while HDLC has an address field, the destination is implied, and the actual address is unimportant. The idea is s...
HDLC has other fields and functions similar to Ethernet as well. Table 3-3 lists the HDLC fields, with the similar Ethernet header/trailer field, just for the sake of learning HDLC based on something you have already learned about (Ethernet).
Table 3-3 Comparing HDLC Header Fields to Ethernet
HDLC Ethernet Description Field Equivalent
Flag Preamble, SFD
Lists a recognizable bit pattern so that the receiving nodes realize that a new frame is arriving.
Address Destination Identifies the destination device. Address
Control N/A
Type Type
FCS FCS
Mostly used for purposes no longer in use today for links between routers.
Identifies the type of Layer 3 packet encapsulated inside the frame.
Identifies a field used by the error detection process. (It is the only trailer field in this table.)
||||||||||||||||||||
||||||||||||||||||||
Flag
Address
Control
Type
Data
FCS
64 CCNA 200-301 Official Cert Guide, Volume 1
HDLC exists today as a standard of the International Organization for Standardization (ISO), the same organization that brought us the OSI model. However, ISO standard HDLC does not have a Type field, and routers need to know the type of packet inside the frame. So, Cisco routers use a Cisco-proprietary variation of HD...
Proprietary Cisco HDLC (Adds Type Field)
Bytes 1 1 1 2 Variable 2
Figure 3-4 HDLC Framing
How Routers Use a WAN Data Link
Leased lines connect to routers, and routers focus on delivering packets to a destination host. However, routers physically connect to both LANs and WANs, with those LANs and WANs requiring that data be sent inside data-link frames. So, now that you know a little about HDLC, it helps to think about how routers use the ...
First, the TCP/IP network layer focuses on forwarding IP packets from the sending host to the destination host. The underlying LANs and WANs just act as a way to move the packets to the next router or end-user device. Figure 3-5 shows that network layer perspective.
Final Destination PC2? Send to R1 Next
Final Destination PC2? Send to R2 Next
Final Destination PC2? Send to PC2 Next
1 LAN 2 WAN 3 LAN
To PC2 R1 To PC2 PC1
R2 To PC2
PC2
Figure 3-5 IP Routing Logic over LANs and WANs
Following the steps in the figure, for a packet sent by PC1 to PC2’s IP address:
1. PC1’s network layer (IP) logic tells it to send the packet to a nearby router (R1).
2. Router R1’s network layer logic tells it to forward (route) the packet out the leased line to Router R2 next.
3. Router R2’s network layer logic tells it to forward (route) the packet out the LAN link to PC2 next.
While Figure 3-5 shows the network layer logic, the PCs and routers must rely on the LANs and WANs in the figure to actually move the bits in the packet. Figure 3-6 shows the same figure, with the same packet, but this time showing some of the data-link layer logic used by the hosts and routers. Basically, three separa...