1
CS 4410 Operating Systems
Networking: Network Layer
Summer 2016 Cornell University
Networking: Network Layer Summer 2016 Cornell University 1 Today - - PowerPoint PPT Presentation
CS 4410 Operating Systems Networking: Network Layer Summer 2016 Cornell University 1 Today How can two computers communicate in a WAN? 2 Protocol Stack Computer B Computer A Message Application M Application Transport Transport
1
Summer 2016 Cornell University
2
3
Application Link Physical Application Link Physical Computer A Computer B Transport Transport Network Network M M Ht M Ht Hn M Ht Hn Hl Message Segment Datagram Frame
4
5
6
–
The Network Layer finds the path from the source to the destination.
–
Reserve resources for the virtual circuit.
–
Packets pass through the virtual circuit.
–
Release resources.
and it is routed independently in the network.
forward the packet towards the destination- computer.
7
8
–
Example: For the address 140.251.27.18 we know that:
140.251.xxx.xxx. → subnetwork address 140.251.0.0/16, mask 255.255.0.0
department is 140.251.27.xxx. → subnetwork address 140.251.27.0/24, mask 255.255.255.0
subnetwork of Linguistics.
server to obtain an IP address.
9
223.1.1.1 223.1.1.2 223.1.1.3 223.1.1.4 223.1.2.9 223.1.3.27 223.1.3.1 223.1.3.2 223.1.2.1 223.1.2.2
What happens when 223.1.1.1 wants to send a packet to 223.1.3.2 ?
10
IP address (binary AND operation) to find the subnetwork in which the destination belongs.
11
address of 223.1.3.2, in order the packet to go from the gateway 1 to the destination.
the needed IP.
12
table?
path from the source to the destination.
routers.
distance.
V1 and the destination to the router V2, what is the shortest path between V1 and V2?
13
Computer A Application Link Physical Application Link Physical Computer B Transport Transport Network Network Link Physical Switch Link Physical Switch Link Physical Router Network
14
Switch Router
15