Download Receiving data

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Point-to-Point Protocol over Ethernet wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Internet protocol suite wikipedia , lookup

Asynchronous Transfer Mode wikipedia , lookup

IEEE 802.11 wikipedia , lookup

I²C wikipedia , lookup

Multiprotocol Label Switching wikipedia , lookup

Serial digital interface wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

RapidIO wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

IEEE 1355 wikipedia , lookup

CAN bus wikipedia , lookup

Real-Time Messaging Protocol wikipedia , lookup

Deep packet inspection wikipedia , lookup

Wake-on-LAN wikipedia , lookup

UniPro protocol stack wikipedia , lookup

Transcript
Receiving data
●
Transform energy to bits
–
●
●
●
–
Check the integrity of the frame (FCS/CRC)
–
If the frame is corrupted → discard the frame
Check the destination MAC address
–
Frame header and trailer destroyed
–
Pass the packet to layer 3
●
If that address does not exist in the machine → discard the packet
Network Layer (3)
Extract the segment
–
Packet header is destroyed
–
Pass the segment to layer 4
Calculate the checksum of the segment
If the checksum is not OK → discard the segment
Check the destination port number
–
●
If the checksum is not OK → discard the packet
Check the destination IP address
–
●
Data Link Layer (2)
Calculate the checksum of the packet
–
●
If it is not the same as the machine/NIC address → discard the frame
Extract the packet
–
●
Physical Layer (1)
Analize the frame (bits captured)
–
●
Bits in memory (bytes) to form a frame
If the port number is not in the table → discard the segment
Extract the data (message)
–
Segment header is destroyed
–
Pass the message to the application
Transport Layer (4)
Voltage, bits and frames
1 1 0 1 0 0 0 1 0 1 1
2.5V
2.5V
… 1 1 0 1 0 0 0 1 0 1 1 ….
10101010…...101010111100111100101010101001 ……… 000111010010011010101010
10Base5
Reception of a frame
http://javax.mty.itesm.mx/networks1/cisco/index.html#5.1.2.3
https://www.youtube.com/watch?v=eMjpNuBRjk4
Transmitting data
●
●
●
The station has a packet
–
It already knows the destination IP address
–
The packet is already built
–
It needs to build the frame
Is the destination in the same LAN (subnetwork)?
–
Yes. Destination MAC address is the intended final destination
–
No. Destination MAC address is the default gateway
Get the corresponding destination MAC address
–
●
Using ARP
Build the frame
–
Encapsulating the packet