TCP/IP (Chapter 6) Flashcards

1
Q

Simply put, what is a protocol?

A

A set of rules that govern communications

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

What is the TCP/IP suite?

A

Transmission Control Protocol/Internet Protocol
A collection of protocols working together to help computers communicate. It’s named after it’s two hardest-working protocols.

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

Identify what protocols live where in the DoD model

A

The botom layer does not contain protocols, but rather methods of accesing the internet.

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

What protocol is considered the backbone of TCP/IP?

A

IP
It works in relation to IP addressing. Other protocols in the Internet layer work in conjunction with it.

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

Where are the majority of TC/IP protocols located?

A

In the process/application (top) layer

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

What is the difference between TCP and UDP (Host-to-Host/Transport layer)?

A

TCP guarantees packet delivery with data acknowledgements (connection-oriented)
UDP does not do this (connectionless), but its somewhat faster

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

What is the relationship between TCP/UDP (transport layer) and Application layer protocols?

A

Transport layer protocols (TCP and UDP) help the application layer protocol calls get from point A to point B.

Think of the transport layer protocol as a “carrier” for application layer protocols.

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

How many total ports are there?

A

65,536 (starting with 0)

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

Which ports are considered the well-known ports?

A

0 through 1023

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

Which ports are registered ports?

A

1,024 through 49,151
The rest are freely used by application vendors.

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

What ports and protocol does FTP use?

A

20, 21
TCP
–FTP (File Transfer Prot) is responsible for transferring files between a client and a server over a network, allowing users to upload and download files.

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

What ports and protocol does SSH use?

A

22
TCP
–SSH (Secure Shell) is responsible for providing a secure, encrypted command-line interface for remote access to a computer over a network.

SS looks like two 2s

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

What ports and protocol does Telnet use?

A

23
TCP
–Telnet responsible for providing a command-line interface for remote access to another computer over a network.

Michael Jordan’s jersey, i guess?

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

What ports and protocol does SMTP use?

A

25
TCP

–The SMTP (Simple Mail Transfer Protocol) is responsible for sending and relaying outgoing email messages from a sender’s email client to the recipient’s email server.

Sending mail used to cost 25 cents.

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

What ports/protocols does DNS use?

A

53
TCP/UDP
–Translates domain names into IP addresses

Do Not eat Salt after 53.

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

What ports/protocols does DHCP use?

A

67, 68
UDP

Downtown Has Cheese Pizza where 67th and 68th street cross.

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

What ports/protocols does TFTP use?

A

69
UDP
–TFTP (Trivial File Transfer Protocol) is a simplified, connectionless protocol primarily used for transferring files between clients and servers with minimal security and error checking.
Spray and pray!

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

What ports/protocols does HTTP use?

A

80
TCP
–HTTP needs to use TCP because it provides reliable, ordered delivery of data, which is essential for ensuring that web pages and other HTTP requests are transmitted accurately and completely across the internet.

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

What ports/protocols does POP3 use?

A

110
TCP
–POP3 (Post Office Protocol version 3) used to retrieve email from a remote server

3 numbers, last one p0ps.

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

What ports/protocols does NetBIOS/NetBT use?

A

137, 139
TCP
–NetBIOS enables communication between computers on a LAN for file sharing, printer sharing, and name resolution. Heavily used by Microsoft.

Remember that 2-THREE had the NET

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

What ports/protocols does IMAP4 use?

A

143
TCP
–IMAP4 is POP3 but more advanced

ONE FOUR is more (advanced) than THREE

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

What ports/protocols does SNMP use?

A

161, 162
UDP
–SNMP (Simple Network Management Protocol) is used for monitoring and managing devices on a network.

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

What ports/protocols does LDAP use?

A

389
TCP
–LDAP (Lightweight Directory Access Protocol) is used for accessing and managing directory services, including user authentication and account management.

24
Q

What ports/protocols does HTTPS use?

A

443
TCP

25
Q

What ports/protocols does SMB/CIFS use?

A

445
TCP
–SMB/CIFS (Server Message Block / Common Internet File System) is used for sharing files, printers, and other resources between computers, primarily in Windows environments.

FOR FOUR or FIVE devices to use on the network

26
Q

What ports/protocols does RDP use?

A

3389
TCP
–RDP (Remote Desktop Protocol) allows remote access and control of computers or virtual machines over a network.

If you’re going remote, you’ll need to add an extra 3.

27
Q

What is any device with an IP address called?

A

A host

28
Q

What determines where the network ID ends and the host ID begins?

A

The subnet mask

29
Q

What is a default gateway?

A

The IP address of the device that allows the host to connect outside of the local network. This is usually your router.

30
Q

What are the first octets of a Class A network?

A

0 - 127

Reserved for very large networks

31
Q

What are the first octets of a Class C network?

A

192 - 223

32
Q

What IP is the loopback address?

A

127.0.0.1
Used for troubleshooting network adapaters

33
Q

What is the default subnet mask of a Class C network?

A

255.255.255.0
Example: 192.168.111.85/24
The first 24 bits (three octets) are the network ID.

34
Q

What is CIDR?

A

Classless inter-domain routing
Allows you to not use the default subnet mask. This increases the flexibility in determining how long the network ID is (and thus how many hosts it can have).

35
Q

What is NAT?

A

Network Address Translation
It runs on a router and handles the translation of private, nonroutable IP addresses into public IP address.

36
Q

What are private IPs and what’s significant about them?

A

They’re used on private networks and are not routable on the Internet. It freed us from the requirement that all address be globally unique.

37
Q

Recall the private IP address ranges

A
38
Q

Recall the DHCP request process

A
39
Q

The steps DHCP DISCOVER and DHCP REQUEST from the client to the server are broadcast. What does this mean?

A

Broadcast means every computer on the network segment receives and needs to process the message. Excessive broadcasts can slow down network performance.

Messages from the DHCP server to the client are unicast

40
Q

What do APIPA addresses start with?

A

169.254.x.x
They get this if they are unable to reach a DHCP server.

41
Q

What is a zone file?

A

A database in every DNS server which maintains records of hostname to IP address mappings

42
Q

Recall DNS record types

A
43
Q

If a DNS server doesn’t know an IP address and its not in the zone file or cache, what does it do?

A

It queries the root server

44
Q

What is ARP and what does it do?

A

Address Resolution Protocol
Resolves IP addresses to MAC addresses.

45
Q

Which protocols are responsible for email retrieval and which is for sending?

A

IMAP4 (secure) and POP3 retrieve
SMTP (mail transfer protocol) sends

46
Q

Which protocol is for network management?

A

SNMP

47
Q

What are the different DNS address classes (found in records in a zone file)?

A

A (IPv4)
AAAA (IPv6)
MX (mail exchange)
TXT (text)

48
Q

What is so special about TXT DNS addresses?

A

They can be used to combat email spam with DKIM, SPF and DMARC

49
Q

What is the IPv6 loopback address?

A

::1

50
Q

What is the IPv6 unicast address range?

A

2000::/3

51
Q

What is the different between a VLAN and a VPN?

A

A VLAN is a logical network configured through a managed switch.
VPNs are a secure point-to-point connection.

52
Q

Can a DNS server have a public or private IP address?

A

No. It needs to have a public IP address. Any private address wouldn’t be valid.

Example: 10.25.11.33 is not valid because it’s within the private IP address range.
192.186.12.2 would be valid.

53
Q

Know private IP address ranges

A

10.0.0.0 - 10.255.255.255
172.16.0.0 -172.31.255.255
192.168.0.0 - 192.168.255.255

54
Q

Which of these is a private IP address?
192.168.12.2
192.186.10.3

A

192.168.12.2
196.86 is outside of the private range.

55
Q

What are two protocols that allow for private file transfer?

A

SFTP
FTPS

56
Q

What is the size of an IPv6 address space?

A

128 bits

57
Q
A