Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Pre-assessment Questions
1. Which of the following layer of the OSI reference model converts messages into segments or breaks large segments into smaller segments that can be handled by lower layers? a. Transport layer b. Session layer c. Network layer d. Data Link layer 2. Which of the following protocols is suitable for small networks with nodes between 10 and 200? a. TCP/IP b. Apple Talk c. NetBEUI d. IPX/SPX
NIIT Network Access Layer Lesson 1B / Slide 1 of 37
Pre-assessment Questions
3. Which of the following components provide a common connection point for computers, printers, and other network devices in a star topology network? a. Repeater b. Router
c. Bridge
d. Hub 4. Which of the following layer of the TCP/IP architecture is also known as process layer? a. Internet Layer
b. Application Layer
c. Transport layer d. Network Access layer
NIIT
Lesson 1B / Slide 2 of 37
Pre-assessment Questions
5. Which of the following organization is responsible for maintaining the Internet through its committees? a. Internet Engineering Task Force (IETF)
NIIT
Lesson 1B / Slide 3 of 37
Solutions
Ans 1. a. Transport layer Ans 2. c. NetBEUI Ans 3. d. Hub Ans 4. b. Application Layer Ans 5. d. Internet Society (ISOC)
NIIT
Lesson 1B / Slide 4 of 37
Objectives
In this section, you will learn about:
NIIT
Lesson 1B / Slide 5 of 37
It helps in actual transmission of data from the sending node to the receiving node in a network as shown in the following figure:
Sending Node Receiving Node Application Layer Application Layer
Transport Layer
Transport Layer
Internet Layer
Internet Layer
Transmission Medium
Data Flow
NIIT
Lesson 1B / Slide 6 of 37
The Network Access layer is the lowest layer of the TCP/IP architecture as shown in the following figure:
Application Layer
Transport Layer
Internet Layer
NIIT
Lesson 1B / Slide 7 of 37
NIIT
Lesson 1B / Slide 8 of 37
NIIT
Lesson 1B / Slide 9 of 37
Transport Layer
Internet Layer
NIIT
Lesson 1B / Slide 10 of 37
Understanding Ethernet
Ethernet is an inexpensive, reasonably fast, and very popular LAN technology. Ethernet was developed by Digital, Intel, and Xerox Corporation and was known as DIX Ethernet. Ethernet was originally developed by Bob Metcalfe and David Boggs of the Xerox Palo Alto Research Center (PARC). Ethernet supports all higher-level protocols such as TCP, IP, and UDP. The protocols of Ethernet are easy to understand, implement, manage, and maintain. Ethernet protocols can run on different network topologies such as bus topology and star topology. An Ethernet LAN can use a coaxial cable, a twisted pair wiring, or a fiber optic cable. The Ethernet hardware consists of many hardware devices such as network adapter card, cables, connectors, and hubs.
Network Access Layer Lesson 1B / Slide 11 of 37
NIIT
Ethernet Technologies
Ethernet technology are classified on the basis of their transmission rate, which are as follows:
10Base2 Ethernet
10Base5 Ethernet
10BaseT Ethernet 100BaseT Ethernet Gigabit Ethernet
NIIT
Lesson 1B / Slide 12 of 37
Ethernet Header
Data
Ethernet Frame
NIIT
Lesson 1B / Slide 13 of 37
The Ethernet data frame format contains seven fields, which are as follows: Preamble (PRE) Start-of-frame delimiter (SFD) Destination address (DA) Source addresses (SA) Length/Type Data Frame check sequence (FCS) The following figure depicts the Ethernet basic data format:
Transmission order: Left- to - right, bit serial
PRE
SFD
DA
SA
Length / Type
Data
PAD
FCS
46 - 1500
NIIT
Lesson 1B / Slide 14 of 37
The set of rules, which defines how a computer transmits data on the network cable and retrieves data from the cable is called an access method. The access methods used by Ethernet technologies is Carrier-Sense Multiple Access (CSMA). Carrier-Sense Multiple Access (CSMA) follows two methods:
Carrier-Sense Multiple Access with Collision Detection (CSMA/CD) Carrier-Sense Multiple Access with Collision Avoidance (CSMA/CA)
NIIT
Lesson 1B / Slide 15 of 37
Node A
Node B
Node C
Node X
NIIT
Lesson 1B / Slide 16 of 37
Node A
CSMA/CA Access Method
Node B
NIIT
Lesson 1B / Slide 17 of 37
NIIT
Lesson 1B / Slide 18 of 37
NIIT
Lesson 1B / Slide 19 of 37
NIIT
Lesson 1B / Slide 20 of 37
NIIT
Lesson 1B / Slide 21 of 37
NIIT
Lesson 1B / Slide 22 of 37
Solution
1. 2. 3. Capture data packets Filter data packets Analyze Ethernet header in the data packets
NIIT
Lesson 1B / Slide 23 of 37
The following figure depicts the position of the ARP and RARP in TCP/IP architecture:
Application Layer
Transport Layer
NIIT
Lesson 1B / Slide 24 of 37
Understanding ARP
It maps a logical address to its corresponding physical address.
The following figure shows the mapping of physical address to logical address with the help of ARP protocol:
Logical Address
ARP Protocol
Physical Address
ARP
NIIT
Lesson 1B / Slide 25 of 37
Working of ARP
Node A
Node C
Node D
Node E
Node B
ARP Reply
Node A
Node C
Node D
Node E
Node B
ARP Operation
NIIT
Lesson 1B / Slide 26 of 37
Sender Hardware Address (SHA) Sender Protocol Address (SPA) Target Hardware Address (THA) Target Protocol Address (TPA)
ARP Packet Format
The fields are the following: HTYPE PTYPE HLEN PLEN OPER
Network Access Layer Lesson 1B / Slide 27 of 37
NIIT
PRE
SFD
DA
SA
Length / Type
Data
PAD
FCS
NIIT
Lesson 1B / Slide 28 of 37
NIIT
Lesson 1B / Slide 29 of 37
NIIT
Lesson 1B / Slide 30 of 37
Understanding RARP
It maps a physical address to its corresponding logical address. The following figure shows the mapping of physical address to logical address with the help of RARP protocol:
Logical Address
RARP Protocol
Physical Address
RARP
NIIT
Lesson 1B / Slide 31 of 37
There are two types of RARP messages used by a RARP protocol, which are as follows:
RARP request
RARP reply
The RARP packet format is same as the ARP An RARP packet is encapsulated into a frame before it is send.
NIIT
Lesson 1B / Slide 32 of 37
Summary
In this lesson, you learned: The Network Access layer is the lowest layer of the TCP/IP architecture. The Network Access layer corresponds to the physical and data link layers of the OSI reference model. The Network Access layer helps in actual transmission of data from the sending node to the receiving node in a network. The Network Access layer performs the following functions: Interfacing Synchronization of bits Encapsulation Request For Comments (RFCs) that define the Network Access layer protocols are as follows: RFC 826, Address Resolution Protocol (ARP) RFC 894, a standard for the Transmission of IP data packets over Ethernet Networks
NIIT Network Access Layer Lesson 1B / Slide 33 of 37
Summary (Contd.)
The physical address is the address of a node in a network. It is also known as Media Access Control (MAC) address or hardware address. Ethernet is the most common local area network (LAN) technology. Ethernet was originally developed by Digital, Intel, and Xerox Corporation and was known as DIX Ethernet. An Ethernet LAN can use a coaxial cable, a twisted pair wiring, or a fiber optic cable. Ethernet technology are classified on the basis of their transmission rate, which are as follows: 10Base2 Ethernet 10Base5 Ethernet 10BaseT Ethernet 100BaseT Ethernet Gigabit Ethernet
NIIT
Lesson 1B / Slide 34 of 37
Summary (Contd.)
The Ethernet header encapsulates data to form an Ethernet frame before getting transmitted across the physical network. The size of the Ethernet header can be from 64 bytes to 1518 bytes depending on the data size. The Ethernet data frame format contains seven fields, which are as follows: Preamble (PRE) Start-of-frame delimiter (SFD) Destination address (DA) Source addresses (SA) Length/Type Data Frame check sequence (FCS) The set of rules defining how a computer transmits data onto the network cable and retrieves data from the cable is called an access method.
Network Access Layer Lesson 1B / Slide 35 of 37
NIIT
Summary (Contd.)
Carrier-Sense Multiple Access with Collision Detection (CSMA/CD) is the access procedure used with Ethernet, which is standardized by the IEEE under 802.3. In CSMA/CA each computer signals its intent to transmit before it actually transmits data. This way the computer can avoid collisions. The Institute of Electrical and Electronic Engineers (IEEE) has published a set of standards for LAN that is collectively known as the IEEE 802.x standards. The standard specification for Ethernet has been published by the International Electrical and Electronic Association (IEEE) as the IEEE802.3 Ethernet protocol. Ipconfig is a utility, which can be used to display the network settings currently assigned and given by a network.
Network Access Layer Lesson 1B / Slide 36 of 37
NIIT
Summary (Contd.)
The protocol analyzer captures the data as it is transmitted across the network. Once captured, the data can be analyzed through the protocol analyzer. A logical address should be unique universally and is also known as IP address. Address Resolution Protocol (ARP) maps a logical address to its corresponding physical address. Reverse Address Resolution Protocol (RARP) maps a physical address to its corresponding logical address.
NIIT
Lesson 1B / Slide 37 of 37