Networking Fundamentals (1) Flashcards

1
Q

What is a network

A

Two or more computers connected together

Computers can be any type of computing device (IPSO)

Can be wired or wireless

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

Why have a network?

A

Share data, remote communication, share resources, such as printers, DBs

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

How computers communicate on a network, what is needed on both sides?

A

Applications that wish to communicate with one another
Common protocol
Network Interface to connect to network
Transmission media (wired/wireless)

Diagrams page19

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

Client / Server communication

A

Client initiates the connection
Server waits for clients to connect (has the option to accept or deny)

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

Explain P2P connections

A

No dedicated server, both clients act as client and server

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

What is an IP Address

A

Number that identifies a node on the network

e.g.
IPv4 - 192.168.1.10
IPv6 - 2601:140:8780:43f0:2d1e:9ebb:92f0:d6e9

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

Explain MAC Addresses

A

Physical address of the network interface
Cannot be changed and is assigned by the NIC vendor

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

Unicast

A

Data being sent to one device

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

Multicast

A

One to some

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

Broadcast

A

One to all

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

What is a protocol

A

Set of rules or “language” for communication
A host will use several protocols to make a connection on the network

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

What is a port

A

Number that represents an application on the network

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

What is a socket

A

A port that is in use
Unique combination of protocol, IP address and port

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

Provide an example of a socket

A

TCP 192.168.1.5:80

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

How many layers in the OSI Model

A

7

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

OSI Model layer 1

A

Physical

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

What is Protocol Data Unit (PDA)?

A

Specific block of information transferred over a network

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

PDU OSI Layer types

A

◦ Application = data
◦ Presentation = data
◦ Session = data
◦ Transport = segment (TCP), datagram (UDP)
◦ Network = packet
◦ Data Link = frame
◦ Physical = bit

19
Q

OSI Layer 7 : Application Layer

A

The application itself, where users are typically provided a gui

A protocol is agreed on
e.g. SMTP, HTTP, RDP, TFTP, etc.

20
Q

Layer 6 : Presentation

A

Both sides agree on a common data format, application might request a browser plugin to be installed here
e.g. JPG, MP3, MP4, PDF, etc.

21
Q

Layer 5 : Session

A

Keeps seperate conversation seperate
Ports are usually assigned to the conversation

22
Q

Layer 4 : Transport

A

TCP / UDP Utilised

TCP:
Breaks up data into manageable pieces for transmission
◦ Adds sequence numbers to each segment for reassembly at other end
◦ Embeds the source and destination ports into its header
◦ Establishes the session with a handshake
◦ Provides error correction and flow control during session
◦ Tears down session with a handshake

UDP:
◦ Embeds the source and destination ports into its header
◦ Depends on the application for session establishment, management, payload length, error correction,
flow control, and tear down

23
Q

Layer 3 : Network

A

Adds a logical address, usually IP address
Chooses optimal route

24
Q

Layer 2 : Data Link Layer

A

Adds a physical source and destination address
Adds both a header and trailer
Checks incoming frames for errors, cyclical redundancy check (CRC)

25
What are Layer 2s Two Sub Layers
Logical Link Control (LLC) : Describes the layer 3 payload Media Access control (MAC) : Adds the physical address
26
Layer 1 : Physical
Actual transmission of 1s and 0s All electrical and mechanical aspects of transmission e.g. Hubs, repeaters, rj45 connectors
27
Data encapsulation and Decapsulation
Encapsulation Layers 4, 3, 2 on the sender add a header ◦ Description of the data and/or protocol ◦ Layer 2 also adds a trailer Decapsulation: Corresponding layers on the receiver remove the header ◦ Refer to the information in the header/trailer ◦ Pass the PDU up to the next layer
28
OSI Encapsulation / Decapsulation Diagram page
Page 55
29
What is the DoD Model
Developed by the US department of defense 4 Layer model Referred to as TCP/IP Model
30
DoD Model Layers (Top to bottom)
Application, Host to Host, Internet, Network Access
31
DoD Model core protocols
TCP,UDP,IP,ICMP,IGMP,ARP
32
Which is the only protocol in the DoD that doesn't have an IANA assigned protocol number?
ARP
33
DoD Model Application Layer Contains
Data Payload
34
DoD Model Host to Host Layer Contains
Session establishment / Management Sequencing
35
DoD Model Internet Layer Contains
Logical Addressing Routing
36
DoD Model Network Access Layer Contains
Physical addressing, Framing/CRC/MTU Actual Transmission
37
Purpose of a connection oriented protocol
Attempts to ensure reliability and completeness Typically found used in application like video games
38
Purpose of a connectionless protocol
Makes no attempt to ensure completeness of transmission Typically found in application like streaming services
39
Connection Oriented vs Connectionless Protocols P63 for diagram
Connection Oriented: TCP Connectionless: UDP, IP, ICMP, IGMP, ARP
40
What is the difference between connection oriented vs connectionless when regarding performance
Connection oriented prioritises reliability whereas connectionless goes for speed/performance
41
TCP Flags
URG, ACK, PSH, RST, SYN, FIN
42
What does each TCP Flag mean
URG: Tells receiver to prioritise the data ACK: Acknowledge PSH: Tells receiver to directly send this data to the application RST: Tells receiver that the sender has abruptly ended the connection SYN: Used in 3way handshake to start conversation FIN: Used in the 4way handshake to end the conversation
43