networking fr

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/181

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

182 Terms

1
New cards

What are the two main Transport Layer protocols?

TCP and UDP

2
New cards
Why is UDP commonly used for streaming and real-time communication?
It has low overhead without acknowledgements or retransmissions
3
New cards

What is the function of the Transport Layer?

It segments data and assigns port numbers for communication

4
New cards
What does the destination port represent?
The receiving service’s port such as DNS on 53 or HTTP on 80
5
New cards
Why is UDP considered unreliable?
It provides no delivery guarantee
6
New cards
Why does UDP work well for real-time apps?
Retransmission delays would be more disruptive than small packet loss
7
New cards
How does TCP ensure reliable delivery?
It uses sequence numbers and acknowledgements to confirm receipt
8
New cards
What is the purpose of TCP sequence numbers?
They let the receiver reorder segments correctly
9
New cards
What is an acknowledgement in TCP?
A receiver signal confirming which bytes or segments were received
10
New cards
What is the main difference between TCP and UDP?
TCP is reliable and ordered while UDP is faster without guarantees
11
New cards
When is UDP preferred over TCP?
When low latency matters more than reliability such as voice or video streaming
12
New cards
What is the purpose of port numbers at the Transport Layer?
They identify specific conversations and applications between source and destination devices
13
New cards
What are well-known ports?
Ports 1–1023 reserved for common network services like HTTP
14
New cards

What port does a web server use?

TCP port 80

15
New cards

What port does an FTP server use?

TCP port 21 and TCP port 20

16
New cards

What port does a mail server use?

TCP port 25

17
New cards
How do clients know which port to use when connecting to a service?
Clients like web browsers are preconfigured with default port numbers for common services
18
New cards

What are dynamically assigned or ephemeral ports?

Ports 49152 to 65535 randomly chosen by a host for temporary use as source ports

19
New cards
How does a client distinguish multiple simultaneous connections?
Each application uses a unique source port combined with its IP address forming a unique socket
20
New cards
What is a socket?
The combination of an IP address and a port number identifying one end of a network connection
21
New cards
What is a socket pair?
The combination of the client’s IP and port with the server’s IP and port (e.g.
22
New cards

What is a source port?

A temporary random port used as the return address in a session.

23
New cards
How do TCP and UDP ports allow multiple apps to run at once?
They allow each process to use a unique port number so data can be directed to the correct application
24
New cards
What port is used for DNS?
UDP and TCP port 53
25
New cards
What port is used for DHCP server responses?
UDP port 67
26
New cards
What port is used for DHCP client requests?
UDP port 68
27
New cards
What port is used for TFTP?
UDP port 69
28
New cards

What port is used for HTTPS?

TCP port 443

29
New cards

What are registered ports?

ports 1024–49151, assigned for specific applications

30
New cards
What is the purpose of the netstat command?
It displays active network connections and listening ports on a host
31
New cards
What does the netstat command show?

Protocols in use, local and foreign IP addresses, port numbers, and connection states

32
New cards
Why is netstat important for network security?
It helps identify unexplained or suspicious TCP connections that may indicate unauthorized access
33
New cards

What option in netstat prevents name resolution and displays numeric IP addresses and ports?

-n

34
New cards
Why might resolving IP addresses and port numbers be disabled?
To speed up output and show raw network details for troubleshooting or security checks
35
New cards
What are foreign addresses in the netstat output?
They represent remote hosts or devices connected to the local machine
36
New cards
What does the connection state column indicate in netstat?
The current status of each TCP connection such as ESTABLISHED or LISTENING
37
New cards

What protocol header information is used at the transport layer to identify a target application?

Port Number

38
New cards


What is a server?

A host running software that provides information or services to clients on a network

39
New cards
What is a client?
A device or application that requests and uses services from a server
40
New cards
What ensures servers and clients can communicate properly?
They rely on standardized protocols and communication rules
41
New cards
What does a TCP connection establish between client and server?
A reliable session defined by source and destination IP addresses and port numbers
42
New cards
Why are random source ports used on clients?
They allow multiple simultaneous connections to different servers or services
43
New cards
What is the function of the transport layer in web communication?
It manages ports and connections so multiple apps can send and receive data at once
44
New cards
What is a URI?
A Uniform Resource Identifier that names or locates a resource on a network
45
New cards
What are the two types of URIs?
Uniform Resource Name (URN) and Uniform Resource Locator (URL)
46
New cards
What does a URL specify?
The protocol
47
New cards
How does a web page request process begin?
The client performs a DNS lookup
48
New cards
What is SSH used for?
To securely access and manage servers and network devices remotely
49
New cards
What is SMTP used for?
To send email messages and attachments from clients to servers and between email servers
50
New cards
What is POP used for?
To allow email clients to retrieve messages from a remote mail server
51
New cards
What is IMAP used for?
To let email clients access and manage emails stored on a remote server
52
New cards
What does DHCP do?
Automatically assigns IP addresses and network configuration to devices
53
New cards
What is HTTP used for?
To transfer web pages and related files between web browsers and web servers
54
New cards

What is FTP used for?

To transfer files between a client and a server

55
New cards
What is the main function of a DNS server?
To associate domain names or hostnames with their corresponding IP addresses
56
New cards
What does the client do after receiving the IP address?
It uses the IP address to contact the web server and load the webpage
57
New cards
What command can you use to find a domain’s IP address?
nslookup
58
New cards
On which systems can you use the nslookup command?
Both Windows and Linux
59
New cards

What was the original purpose of Telnet?

To let users remotely access and control computers over a network like a local terminal
60
New cards

61
New cards
What does Telnet emulate?
A text-based terminal connection to a remote system
62
New cards
What TCP port does Telnet use?
TCP port 23
63
New cards
What is a virtual terminal (vty) session?
A Telnet-based software session that provides command-line access to a remote device
64
New cards
What are the main functions a Telnet user can perform?
Execute commands
65
New cards
Why is Telnet considered insecure?
Because it sends all login credentials and data in plaintext without encryption
66
New cards
What protocol replaced Telnet for secure remote access?
SSH (Secure Shell)
67
New cards
How does SSH improve security over Telnet?
It encrypts all transmitted data and provides stronger authentication
68
New cards
When should Telnet be used instead of SSH?
Only in controlled lab or learning environments where security is not a concern
69
New cards

70
New cards
Which protocol is used to send email messages?
SMTP (Simple Mail Transfer Protocol)
71
New cards

What port does SMTP use?

TCP port 25*

72
New cards
Which protocol allows clients to download messages and remove them from the server?
POP3 (Post Office Protocol version 3)
73
New cards
What port does POP3 use?
TCP port 110
74
New cards
Which protocol allows clients to read and manage mail stored on the server?
IMAP4 (Internet Message Access Protocol version 4)
75
New cards
What port does IMAP4 use?
TCP port 143
76
New cards
How does IMAP differ from POP3?
IMAP keeps messages on the server unless deleted
77
New cards
What is VoIP?
Voice over IP
78
New cards
How does VoIP work?
It converts analog voice into digital data and sends it as IP packets through the network
79
New cards
What is needed to call a regular phone using VoIP?
A gateway to connect to the Public Switched Telephone Network (PSTN)
80
New cards

What does ipconfig /all additonally display?

MAC address, IP of default gateway and DNS servers, DHCP status and address, and lease information.

81
New cards

What does ipconfig /release do?

Releases the current DHCP bindings

82
New cards

What does ipconfig /renew do?

Request fresh configuration information from the DHCP server

83
New cards

Echo request

The packet sent during a ping

84
New cards

Echo Reply

The reponse packet during a ping

85
New cards
What does the ping command test?
Connectivity between a source and destination network device using ICMP echo requests and replies
86
New cards
What happens when you ping a domain name?
A DNS query is sent first to resolve the name to an IP address before sending echo requests
87
New cards
What does it indicate if a ping to the IP address succeeds but a ping to the domain name fails?
There is likely a problem with DNS resolution
88
New cards
What does it indicate if pings to both the name and IP address succeed but the application still fails?
The issue is likely with the destination application or service not running
89
New cards
What does it indicate if both pings to the name and IP address fail?
There is most likely a network connectivity problem along the path
90
New cards
Why is it common to ping the default gateway when troubleshooting?
To verify whether the problem is on the local network or beyond it
91
New cards
What does it mean if a ping to the default gateway is successful?
The problem is not on the local network and may be farther along the route
92
New cards
What does it mean if a ping to the default gateway fails?
The issue is local
93
New cards
Why might a ping fail even when network connectivity is fine?
Because a firewall or router may be blocking ICMP packets
94
New cards
How many echo requests does the ping command typically send by default?
Four
95
New cards

What is bandwidth?

The theoretical capacity of a link

96
New cards

what is throughput?

the actual data rate observed

97
New cards
What is latency?
The time it takes for data to travel from source to destination (delay)
98
New cards

What are the three signal types used in networks?

Electrical, optical, wireless

99
New cards
What units are used to express digital bandwidth?
Kbps
100
New cards
What is a host?
Any device that participates directly in network communication