Chapter 1: Network Models Flashcards

1
Q

List each layer (7 to 1) of the OSI Seven-Layer Model.

A

L7 Application
L6 Presentation
L5 Session
L4 Transport
L3 Network
L2 Data Link
L1 Physical

Remember the mnemonic “All People Seem To Need Data Processing.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define: Protocols

A

Sets of clearly defined rules, regulations, and procedures that enable hardware and software developers to make devices and applications that function properly at a particular network model layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does a NIC or Network Interface Card do and what network layer does it operate in?

A

A NIC serves as the interface between the PC and the network. It operates at L2 and uses MAC addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define: MAC or Media Access Control Address (aka. a physical address)

A

A 48-bit (6-byte) unique identifier that is burned onto a ROM chip in every NIC. It is in hexadecimal notation (12 hex digits).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two parts of a MAC address?

A

The first six hex digits represent the NIC manufacturer, referred to as the Organizationally Unique Identifier (OUI).

The last six hex digits are the manufacturer’s unique serial number for that NIC, referred too as the device ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In Windows, type ______ from a command prompt to display the MAC address.

A

ipconfig /all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In macOS, type ______ from a terminal to display the MAC address.

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In Linux, type ______ from a terminal to display the MAC address.

A

ip a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define: Protocol Data Unit (PDU)

A

It is the unit of data specified by a protocol at each layer of the OSI seven-layer model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the PDU for Layer 2, the Data Link layer?

A

Frame (Ethernet)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a frame do and what creates and uses them?

A

A frame encapsulates information and data for easier transmission. The NIC creates and sends, as well as receives and reads frames.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the first two fields of a generic frame?

A

Recipient’s MAC address
Sender’s MAC address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is in the Type field of a frame?

A

The Type field indicates what’s encapsulated in the frame.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is in the Data field of a frame?

A

The Data field contains what’s encapsulated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of the Frame Check Sequence (FCS) field of a frame?

A

The FCS uses a type of binary math called a Cyclic Redundancy Check (CRC) to calculate a value that the receiving NIC uses to verify that the data arrived intact.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the max size of an Ethernet frame’s Data field?

A

1500 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the size of the FCS field?

A

4 bytes

18
Q

What is the Layer 2 broadcast address?

A

FF-FF-FF-FF-FF-FF

19
Q

Who receives a Layer 2 broadcast address?

A

Every single NIC on the network except the sending NIC.

20
Q

What is contained in a Layer 2 broadcast address?

A

A request for a system’s MAC address, by the use of that system’s known IP address.

21
Q

What are the two sublayers of the Data Link layer?

A

Logical Link Control (LLC)
Media Access Control (MAC)

22
Q

What is the job of the Logical Link Control (LLC) sublayer?

A

It is the part of the NIC that talks to the system’s operating system (usually via device drivers), and handles multiple network protocols and provides flow control.

23
Q

What is the job of the Media Access Control (MAC) sublayer?

A

It creates and addresses the frame, adds or checks the FCS, and sends the frame along the network cable.

24
Q

What is a switch and at what layer does it operate.

A

A switch is a network device that handles network traffic using MAC addresses to direct the traffic. It operates at Layer 2.

25
Q

What is the PDU for Layer 3, the Network layer?

A

Packet

26
Q

What is the protocol used in the Network layer?

A

Internet Protocol (IP)

27
Q

What does the Internet Protocol do?

A

It gives each device on the network a unique numeric identifier called an IP address (logical address).

The Internet Protocol is the primary logical addressing protocol for TCP/IP.

28
Q

What is an IP address?

A

An IP address is 32-bits (4 bytes) long. It uses dotted decimal notation based on four 8-bit numbers. Each byte is separated by a decimal (192.168.4.232).

29
Q

What is a router and at what layer does it operate?

A

A router is a networking device that connects subnets and networks and forwards data using IP addresses. It operates at Layer 3 (Network).

30
Q

Explain how packets and frames work.

A

As a frame travels, if it goes through routers, each router strips off the incoming frame, determines where to send the data according to the IP address in the packet, creates a new frame to encapsulate the packet, and then sends it all on its way to its next stop. The new frame type will be the appropriate technology for whatever connection technology connects to the next router. The IP packet remains unchanged.

31
Q

What are the PDUs for the Transport Layer?

A

Segments (TCP) and Datagrams (UDP)

32
Q

What is Transmission Control Protocol (TCP), including what Layer it operates?

A

TCP is a connection-oriented protocol at Layer 4. It breaks up data into chunks called segments that will fit into packets, and gives each segment a sequence number.

33
Q

What does the Transport Layer do?

A

It is the segmentation/reassembly software, that breaks up data into segments to send and reassembles data from segments that it receives. It also initializes requests for packets that weren’t received in good order.

34
Q

What logical addressing is used in the Transport Layer?

A

Port addressing

35
Q

What is a port?

A

A port - a number between 1 and 65,535 - is a logical value assigned to specific applications or services.

36
Q

What is User Datagram Protocol, including what Layer it operates at?

A

UDP is a connectionless protocol at Layer 4. It creates datagrams with less fields than TCP segments because it doesn’t care whether the receiving computer gets its data.

37
Q

What 5 fields are in a UDP datagram?

A

Source Port
Destination Port
Length
Checksum
Data

38
Q

What does the Session Layer do?

A

It uses session software to connect applications to other applications between computers/devices by creating sessions.

It handles all the sessions for a system by initiating sessions, accepting incoming sessions, and opens and closes existing sessions.

39
Q

What does the Presentation Layer do?

A

The Presentation Layer translates data from lower layers into a format usable by the Application Layer, and vice versa.

40
Q

What is the Application Layer?

A

The Application Layer refers to the code built into operating systems that enables network-aware applications.

All operating systems have Application Programming Interfaces (APIs) that programmers can use to make their programs network aware.

41
Q

What is encapsulation?

A

The entire process of preparing data to go onto a network. This includes all the steps from the Application, Presentation, Session, Transport, Network, and Data Link layers. Each layer adds more information so that the data gets to the correct recipient and the recipient knows what to do with the data.