Corona Update
According to the details, the Speaker of the National Assembly Asad Qaiser said in his message on Twitter that he tested positive for Corona virus after which he has taken quarantine at his home.
“I urge the entire nation to pray and at the same time to be careful,” he added.
After Asad Qaiser contracted the corona virus, other family members tested positive for the corona virus in his son and daughter.
I tested positive for corona virus. I have quarantined myself in my house. I urge the whole nation to be careful.
Government has reduced the Petroleum prices. execute from midnight High speed Diesel prices has been reduced by 27.15 new price 80.10 rupees Petrol price has been reduced by 15 rupees new price 81.58 rupees Kerosene oil price has been reduced by 30.15 rupees new price 47.44 rupees Light speed diesel price has been reduced by 15 rupees
PPP is WAN encapsulation protocol that was built in the 1990s. It is an open standard protocol so the protocol can be used with all vendors. Point to Point Protocol can work with Synchronous serial connection, Asynchronous serial connection, High-Speed Serial Interfaces (HSSI), ISDN interfaces (BRI and PRI) telephone lines, trunk lines, cellular telephones, specialized radio links, or fibre-optic links. Point to Point Protocol is provided dynamic addressing, authentication, callback and compression services. The protocol encapsulates multiple network layer protocols to pass theme over the same link. It also performs error detection, correction and quality check of link. PPP is supported single logical connection over several physical connections. PPP is reach feature protocol as compared to HDLC.
Point to Point Protocol is working on the data-link layer and was originally developed to encapsulate higher network-layer protocols to pass over synchronous and asynchronous communication lines. Point to Point Protocol can also establish other network standards, including network protocol multiplexing, session negotiation, and data-compression negotiation. It also supports protocols other than TCP/IP, such as IPX/SPX and DECnet. The PPP uses three components to transmit data over a serial point-to-point link. Each of the three components has separate function but requires the use of the other two to complete their tasks. The components are Framing, LCP and NCP. The components will be discussed in the next lessons.
We know that PPP was originally designed as an encapsulation protocol for transporting TCP/IP traffic over point-to-point links. It provides a standard method for transporting multi-protocol packets over point-to-point links. PPP has many features that are not available in HDLC. The link quality management feature monitors the quality of the link. If too many errors occur, PPP takes the link down. PPP supports PAP and CHAP methods for authentication that will be explained in a later section. Other advantages of link-state are the following:-
Cost – The PPP links separate networks via the internet, which has been shown to help reduce cost by reducing the need for specialized hardware and software.
Easy Troubleshooting- Troubleshooting of point-to-point network is easy due to layered architecture because all layers are relevant to each other. So, one layer will troubleshoot and free itself from problems and then further troubleshooting determines easily which layers are having problems.
Resiliency – Traditional WAN technologies only uses sharing links for data communication between remote networks, but now the network can provide a significant level of flexibility. For example, users of WAN technologies can experience interruptions, which lead to loss of data. But on the internet, Protocol is used to automatically change the broken route all before they are arrive at their intended destination.
Earlier in the previous article, I have discussed that HDLC is the default encapsulation protocol type on point-to-point connections, dedicated links, and circuit-switched links when the link uses two Cisco devices. It is a synchronous Data Link layer bit-oriented protocol originally developed from the Synchronous Data Link Protocol (SDLC) and became standardized by ISO as ISO 13239. It provides both connection-oriented and connectionless service. HDLC also provides flow control and error control by using acknowledgements. Cisco uses a proprietary version of the HDLC protocol known as Cisco HDLC (cHDLC).
HDLC uses synchronous serial transmission between two points to provide error-free communication. It defines a Layer 2 framing structure for flow control and error control through using the acknowledgements. Every HDLC frame has the same structure and format, whether it is a data frame or a control frame. For the beginning and end of frames, HDLC has no method, so for this reason, HDLC uses a frame delimiter, or flag, to mark the beginning and the end of each frame.
Figure 1 illustrates standard HDLC frame structure and format and figure illustrates cHDLC frame format and structure. The standard protocol support only one protocol, while the Cisco HDLC support multi-protocol environments. Multi-protocol is supported is possible due to the protocol field in the header, which identifies the different protocols.
As shown in figure 1 and Figure 2, each frame in HDLC may contain up to six and seven fields, a starting flag field, address field, control field, information field, frame check sequence (FCS) field, and an ending flag field. In multiple-frame transmissions, the ending flag of one frame can serve as the starting flag of the next frame. The Cisco HDLC (cHDLC) frame contains an extra protocol field.
The flag field of an HDLC frame is an 8-bit sequence with the bit pattern 01111110 that identifying both the starting and the end of a frame and serves as synchronization pattern for the receiver. This frame field initiates and terminates error checking. The 01111110 pattern occurs in the actual data, and the sending HDLC system always inserts a 0 bit after every five consecutive 1s in the data field, so in practice, the flag sequence can only occur at the frame ends. The receiving end strips out the inserted bits. When frames are transmitted repeatedly, the end flag of the first frame is used as the start flag of the next frame.
The address field can be 1 byte or several bytes long contain the HDLC address of the secondary station. The address can be a group address or a broadcast address. A primary address is either a communication source or a destination, which eliminates the need to include the address of the primary. If a primary station created the frame, it contains a “to address”. If a secondary creates the frame, it contains a “from address”. If the address field is one byte long, it can identify up to 128 stations. Larger networks require multiple-byte address fields.
The control field is a 1- or 2-byte long field identifies the type of frame including its functionality, flow control and error control. The control field uses three different formats, depending on the type of HDLC frame used:
This frame defines that the frame belongs to cHDLC and specifies the protocol type encapsulated within the frame (e.g. 0x0800 for IP).
The data frame carries data from the network layer. Its length may vary from one network to another.
The frame check sequence is the HDLC error detection field. It can contain be 2 or 4-byte long. It precedes the ending flag delimiter and is generally a Cyclic Redundancy Check (CRC) calculation remainder. The CRC calculation is rechecked in the receiving side. If the result of recheck is different from the value in the original frame, an error is assumed.
Cisco devices used cHDLC is the default encapsulation method for synchronous serial lines. If connecting non-Cisco devices, use synchronous PPP. We can change the default encapsulation method. If it is changed to some other encapsulation type and now want to change back to HDLC encapsulation, the following commands can be used.
The network layer passes the data to the data link layer for transmission over the physical layer. The Data Link layer creates frames by adding the necessary checks and controls around the Network layer data. The encapsulation on a router serial interface must be configured to guarantee the correct encapsulation method is used. Different WAN technologies use different encapsulation methods. So, the selection of WAN encapsulation protocol depends on the WAN technology and the communicating equipment.
Each WAN encapsulation protocols usually accompany a certain connection type. The important WAN encapsulation protocols are Point-to-Point Protocol (PPP), High-Level Data Link Control (HDLC), Frame Relay, Asynchronous Transfer Mode (ATM), X.25, and Serial Line Internet Protocol (SLIP). HDLC is the most common encapsulation protocol type, and most framing protocols are based on it. The following are short descriptions of each type of WAN protocol. In the coming articles, we will discuss the protocols in detail.
HDLC is the default encapsulation protocol type on point-to-point connections, dedicated links, and circuit-switched links when the link uses two Cisco devices. It is a synchronous Data Link layer bit-oriented protocol initially developed from the Synchronous Data Link Protocol (SDLC) and became standardized by ISO as ISO 13239. It provides both connection-oriented and connectionless services. HDLC also provides flow control and error control by using acknowledgments. Cisco uses a proprietary version of the HDLC protocol called Cisco HDLC (cHDLC).
Point-to-Point Protocol (PPP) is another WAN encapsulation protocol of the data link layer that sends and receives multiprotocol data between two directly connected computers or network devices. PPP is used between synchronous and asynchronous circuits. It supports several network layer protocols, such as IPv4 and IPv6. It uses HDLC encapsulation protocol and built-in security mechanisms such as PAP and CHAP. PPP is a byte-oriented protocol widely used in broadband network communications. PPP is also known as RFC 1661.
Frame Relay is a high-performance WAN encapsulation protocol working at the OSI reference model’s physical layer and data link layers. It was originally designed across Integrated Services Digital Network (ISDN) interfaces. It is an industry-standard, packet-switched protocol that handles multiple virtual circuits simultaneously. Frame Relay overcomes the time-consuming processes (such as error correction and flow control) employed in the previous X.25 protocol. Today, it is used over a variety of network interfaces.
X.25 is a WAN encapsulation protocol suite defined by ITU-T in 1976 for packet-switched communications over WAN. In 1980, it became the most popular WAN encapsulation protocol. It allows several logical channels to use the same physical line and allows data exchange between terminals with different communication speeds. It defines how connections between a DTE and DCE are maintained for remote terminal access and computer communications in public data networks. X.25 specifies LAPB, a data link layer protocol. It is a predecessor to Frame Relay. It is the oldest packet-switching technique available and was commonly used before the Open System Interconnection (OSI) reference model became standard.
SLIP uses a standard protocol for point-to-point serial connections using TCP/IP. It is an industry-standard protocol developed in 1984 that supports TCP/IP networking over serial transmission lines. The protocol is used for TCP communication between two previously configured machines. The older dial-up connection to the server is typically the example of the serial line. It provides TCP/IP hosts with dial-up access to the Internet by using SLIP servers located at Internet service providers (ISPs).
Asynchronous Transfer Mode (ATM) is an international standard for cell relay in which multiple service types are conveyed in fixed-length cells. The cell length is 53 bytes and cell processing occurs in hardware, thereby reducing transit delays. ATM uses high-speed transmission media such as E3, SONET, and T3.
Serial cable is used to interconnect DTEs and DCEs. The DCEs are data communication equipment that generates or receives data, and the DCEs are data communication equipment that only relays data. There are two types of cables: one for connecting a DTE to a DCE and another for connecting two DTEs directly. The DTE/DCE interface for a particular standard defines the standards, including the number of pins and connector types, voltage levels for 0 and 1, the function for each of the signaling lines in the interface, and the sequence of events for transmitting data.
Also, Read DisplayPort Cables: A Comprehensive Guide
Figure 1 illustrates the original RS-232 standard, defined as the connection between DTEs and DCEs (modems). However, we also need to connect two DTEs, for example, two routers or two computers. For this purpose, a special cable called a null modem can be used, which eliminates the requirement of DCEs. With a null-modem connection, the trans and receive lines are cross-linked between both ends of the cable. Figure 2 illustrates the null-modem cable.