Chapter 1 Flashcards

1
Q

Why did they end all the different communication protocols?

A

People with different devices could not communicate with each other

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

What was the solution to the communication protocols?

A

Common elements were identified and called the OSI model

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

What does OSI mean?

A

Open System Intercommunication Model

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

In what layers does the TCP/IP model work at compared to the OSI model?

A

TCP works on the transport layer of the OSI model and IP works on the Network layer of the OSI model

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

What are the layers of the OSI model?

A

Layer 1 - Physical Layer 7-Application
Layer 2 - Data Link Layer 6-Presentation
Layer 3 - Network Layer 5- Session
Layer 4 - Transport Layer 4 - Transport
Layer 5 - Session Layer 3 - Network
Layer 6 - Presentation Layer 2 - Data Link
Layer 7- Application Layer 1 - Physical
abusive penguins slapped the new dentists provocatively

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

Which came first TCP/IP or OSI?

A

TCP/IP

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

What is the nickname given to the TCP/IP model?

A

The DoD model or the Deportment of Defense model (they made it)

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

What does PDU stand for?

A

product data unit

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

What are the names of the pdu in different layers of the OSI model?

A

layer 7-5 = data or pdu
layer 4 = segments
layer 3 = packets
layer 2 = frames
layer 1 = bits
sinister pinguins favor butts

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

Why does data need to be split into segments in layer 4 (Transport)?

A

If we were to send larger data in one go, no one else would be able to communicate.

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

What does the physical layer define?

A

How to represent bits on the medium
Wiring standards for connectors and jacks
Physical topology
Synchronizing bits
Bandwidth usage
Multiplexing strategy

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

How are bits represented on the medium?

A

Data on a computer network is represented as a binary expression.

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

What are the two methods binary can be represented?

A

Current state modulation
State transition modulation

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

How are bits synchronized?

A

Asynchronous
Synchronous

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

Describe the asynchronous method of synchronizing bits

A

Sender states that it is about to start transmitting by sending a start bit to the receiver

receiver then starts its own internal clock to measure the next bits

sender transmits its data and then sends a stop bit to say that it has finished

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

Describe the synchronous method of synchronizing bits

A

internal clocks are synchronized to ensure that they agree on when bits begin and end
common approach is to use an external clock

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

What are the two methods of bandwidth usage? How are they different

A

Broadband - divides the bandwidth into different channels
Baseband - uses all the available frequencies on a medium to send data

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

What is multiplexing strategy?

A

Multiplexing allows multiple communications sessions to share the same physical medium

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

What is time-division multiplexing (TDM)?

A

Supports different communication sessions on the same physical medium by causing the sessions to take turns

Ex. Different phone conversations in a phone network

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

What is Statistical time-division multiplexing (StatTDM)?

A

StatTDM fixes an issue with TDM strategy. StatTDM dynamically assigns time slots to communications sessions on an as-needed basis.

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

What is Frequency-division multiplexing (FDM)?

A

Divides a medium’s frequency range into channels, and different communication sessions send their data over different channels.

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

What is Orthogonal frequency-division multiplexing (OFDM)?

A

OFDM encodes digital data onto multiple carrier frequencies. OFDM is very popular today and is used in wideband digital communication.

digital television, audio broadcasting, DSL Internet access, wireless networks, powerline networks, and 4G/5G mobile communications

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

The data link (layer 2) is concerned with what?

A

Packaging data into frames and transmitting those frames

Ensuring that frames do not exceed the maximum transmission unit (MTU)

Performing error detection/correction

Uniquely finding network devices with addresses

Handling flow control

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

What are the two sublayers of the Data Link layer (layer 2)?

A

MAC and LLC

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

Describe the MAC address

A

a 48-bit address assigned to a device’s network interface card (NIC)
MAC address are written in hexadecimal notation
First 24-bits of the 48-bit are the vendor code
The last 24-bits of a MAC are assigned by the manufacturer, and they act as a serial number for the device.
No two MAC addresses in the world should have the same value.

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

How does layer 2 (Data Link) devices view a network?

A

Layer 2 devices view a network as a logical topology.
Examples -bus and ring topologies

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

Why are acknowledgment messages important? (LLC data link sublayer)

A

they provide flow control and error control

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

The Data Link layer also does synchronization. How does the LLC (logical link control - data link sublayer) synchronize data frames?

A

Isochronous - Asynchronous - Synchronous

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

Describe the Isochronous method of synchronizing transmissions in layer 2

A

Network devices look to a common device in the network as a clock source, which created fixed-length time slots.
A time slot can accommodate more than one data frame.
Little overhead compared to asynchronous or synchronous transmission methods.

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

Describe the Asynchronous method of synchronizing transmissions in layer 2

A

Network devices reference their own internal clocks, and network devices do not need to synchronize their clocks.

31
Q

Describe the Synchronous method of synchronizing transmissions in layer 2

A

two network devices that want to communicate between themselves must agree on a clocking method to show the beginning and ending of data frames.

32
Q

How does asynchronous and synchronous perform error detection (layer 2)?

A

asynchronous - parity bits
synchronous - cyclic redundancy check (CRC)

33
Q

The network layer is primarily concerned with what?

A

forwarding data based on logical addresses

34
Q

What are some of the task the network layer (layer 3) is responsible for?

A

logical addressing
switching
route discovery and selection
connection services
bandwidth usage
multiplexing strategy

35
Q

Whereas the data link layer (layer 2) uses physical address (MAC) to make forwarding decisions, the network layer uses what?

A

Logical addressing
most widely deployed routed protocol is Internet Protocol (IP)

36
Q

The term switching is commonly associated with layer 2 (Data Link); however, the concept of switching also exist at Layer 3 (network). What are the three common switching techniques in layer 3?

A

Packet Switching
Circuit Switching
Message Switching

37
Q

What is Packet Switching?

A

A data stream is divides into packets. Each packet has a layer 3 header that includes source and destination Layer 3 addresses.

38
Q

What is another term for packet switching?

A

routing

39
Q

What is Circuit Switching

A

circuit switching dynamically brings up a dedicated communication link between two parties for those parties to communicate.

Think phone calls (the connection only exist for the duration of the phone call)

40
Q

What is Message Switching?

A

data stream is divided into messages
sometimes called a store-and-forward
not suited for real-time applications because of delay

think of an email

41
Q

Just as the data link layer (2) offers connection services for flow control and error control, connection services also exist at the network layer. Why?

A

If the data link’s LLC sublayer is not preforming connection services, connection services at the network layer can improve the communication reliability.

Flow control and packet reordering

42
Q

What is the most common Layer 3 protocol?

A

IPv4 but IPv6 is starting to gain popularity

43
Q

The transport layer act as what?

A

the dividing line between the upper layers and the lower layers

Specifically, messages are taken from upper layers (5-7) and are encapsulated into segments for transmission to the lower layers (1-3)

decapsulation

44
Q

What are the two common transport layer protocols?

A

TCP (Transmission Control Protocol)
UDP (User Datagram Protocol)

45
Q

Describe the TCP (transmission control protocol)

A

TCP is a connection-oriented transport protocol.
It offers reliable transport, if a segment is dropped, the sender can detect the drop and retransmit the dropped segment.

46
Q

Describe the UDP (user datagram protocol)

A

UDP is a connectionless transport protocol.
Connectionless transport protocols offer unreliable transport,
in that if a segment is dropped, the sender is unaware of the drop, and
no retransmission occurs.

47
Q

Just like layer 2(Data Link) and layer 3 (network) layer 4 (Transport) also offer flow control services. What are the two common flow control approaches at layer 4(transport)?

A

Windowing and buffering

48
Q

Describe the layer 4 (transport) flow control approach – windowing

A

TCP communication uses windowing

One or more segments are sent at one time, and a receiver can attest to the receipt of all the segments in a window with a single acknowledgment.

49
Q

Describe how sliding windowing works

A

window size begins with one segment, if there is a successful acknowledgment of that one segment the window size doubles
This exponential increase in window size continues until the receiver does not acknowledge successful receipt of all segments within a certain amount of time (round-trip time RTT) or until a configured maximum window size is reached

50
Q

describe the layer 4 (transport) flow control protocol - buffering

A

a device uses a chunk of memory to store segments if bandwidth is not available to send those segments

51
Q

The session layer (layer 5) is responsible for what?

A

setting up a session
maintaining a session
tearing down a session

52
Q

Describe what the session layer (5) does in the setting up of a session

A

*Check uses credentials (username password)
*Assigning numbers to a session’s communication flows to uniquely find each one
*Negotiating services needed during the session
*Negotiating which device begins sending data

53
Q

describe what the session layer (5) does when maintaining a session

A

*Transferring data
*Reestablishing a disconnected session
*Acknowledging receipt of data

54
Q

How does the session layer (5) tear down a session? Why?

A

A session can be disconnected based on agreement of the devices in the session. A session might be torn down because one party disconnects.

55
Q

What is SIP?

A

Session Initiation Protocol (SIP) is an example of a session layer protocol (layer 5), which can help set up, support and tear down a voice or video connection.

56
Q

What is the presentation layer (layer 6) responsible for?

A

Data formatting and Encryption

57
Q

Why is data formatting necessary?

A

compatibility between communicating devices

58
Q

Whys is encryption needed?

A

To add a layer of security, encryption can be used to scramble (encrypt) the data in such a way that if the data were intercepted, a third party would not be able to unscramble (decrypt) it.

the intended recipient would be able to decrypt the transmission

59
Q

What does the application layer (layer 7) do?

A

gives application services to a network
service advertisement

60
Q

What is an often-misunderstood concept of the application layer (layer 7)

A

that end-user application (such as Microsoft Word) live at the application layer

the application layer supports services used by the end-user

61
Q

What are some application services that live at the application layer?

A

email and file sharing

62
Q

How does service advertisement work?

A

some applications’ services periodically send out advertisements, making their availability known to other devices on the network.

other services register themselves and their services with a centralized directory, which can be queried by other network devices seeking such services.

63
Q

Most of the traffic on the Internet is based on the ___ protocol suit.

A

TCP/IP

64
Q

How many layers does the TCP/IP stack have?

A

4

65
Q

What are the layers of the TCP/IP stack?

A

Application Transport Internet Network Interface

armored toddlers interviewed neighbors intensely

66
Q

How does the TCP/IP layer compare to the OSI model?

A

TCP/IP - Application layer works in the layers 7-5 of the OSI

TCP/IP -Transport layer works in the OSI transport layer

TCP/IP - Internet layer works in the Network layer of the OSI model

TCP/IP- Network Interface layer works in layers 2-1 of the OSI model

67
Q

What is the network interface layer sometimes called instead?

A

Network access layer

68
Q

What does the internet layer of the TCP/IP focuses on?

A

IP as the protocol to be routed through a network

69
Q

What are the two primary protocol found at the TCP/IP stack’s transport layer?

A

TCP AND UDP

70
Q

What is noticeably different from the TCP segment format compared to the UDP segment format? Why?

A

The TCP is much more detailed and has way more than just the destination and sender address. This is because TCP is a connection orientated protocol and UDP is more concerned with speed.

71
Q

What is the biggest difference between the TCP/IP stack and the OSI model is at the TCP/IP stack’s ________ layer.

A

application layer

72
Q

Port numbers 1023 and below are called what?

A

well-known ports

73
Q

Ports above 1023 are called what?

A

ephemeral ports

74
Q

What is the maximum value of a port?

A

65,535