C2. The Open System Interconn. Specs Flashcards
Name the 7 layers of the OSI model?
Application, Presentation, Session, Transport, Network, Data Link, Physical (Anya presented star trek near dark leaky pipe)
What does OSI stand for btw?
Open System Interconnection luv =)
What is the key role of the Application layer?
It acts as an interface between applications and programs (e.g. Microsoft Word does not reside in the app layer, it interfaces with the App Layer protocols)
At which layers do users communicate with the computer?
Application!
What does a computer find at the application layer?
1) available communication partners
2) resources for communication
What are the three key roles of the presentation layer?
1) it controls data integrity and error recovery
2) it presents data to the application level
3) it’s responsible for data transmission and formatting
What does the session layer do?
It sets up, manages, and tears down sessions between the presentation layer entities (data of all apps is kept separately as a result!)
What are the three modes of the session layer?
Simplex, half duplex, full duplex
What does the transport layer do?
- It segments and reassembles data into a data stream, where all the data segments unite again
What does the data stream of the transport layer do?
- Data stream provides end-to-end transport services and establishes a logical connection between sending and destination hosts
- Data stream also provides resources for (1) multiplexing upper-layer apps, (2) establishing virtual connection, (3) tearing down circuits
What does the network layer do?
- It manages logical device addressing
- also tracks location of devices on the network
- and determines the best way to move data
Describe the mechanism through which a network layer determines the best way to move data
- when the router interface receives a packet, it checks the destination IP address
- if destination IP does not equal router’s IP the router looks up destination network address in the address table and chooses the exit router interface
- then, if a router is found, the router sends the packet through; else the router drops the packet
What are the two types of data packets?
- Data packets
2. Route-update packets
What do data packets do?
They transport user data through the internetwork using router protocols s.a. IPv4 and IPv6
What do route-update packets do?
They update neighbor. routers connected to all routers within the internetwork using routing protocols (e.g. RIP, RIPv2, EIGRP, …)
What are routing tables good for?
Each router maintains a routing table for individual routing protocols, because each protocol keeps track of networks with different addressing schemes (s.a. IP and IPv6)
What does an interface represent in a router?
- Each interface in a router represents a separate network and must be assigned a unique network ID
- Each host on the network connected to the router must use the same network number
What is a logical link control?
- LLC identifies network layer protocols and encapsulates them; then it tells the data link layer what to do with a packet once a frame has been received
- then the host determines what to do with a packet based on the LLC header
What is another name for routers?
Layer 3 switches
How do routers treat domains?
Routers break up broadcast domains and collision domains
What do routers never forward?
- And router don’t forward broadcast domains!!
- Nor do they forward any multicast packets
How do we know where to next forward a data packet?
We use a logical address in the network layer header to determine the next hop to which router forwards the data packet