TCP/IP Model Flashcards

1
Q
  • Also known as the DoD Model
  • Alternative to the OSI Model
  • More relevant model for network designers
  • Only 4-layer model
A

TCI/IP Model or Stack

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

Which layer of the TCP/IP Model?
- Physical and electrical characteristics
- Describes how to transmit bits across the network (1s and 0s)
- Determines how interface uses network medium
- Coaxial, optical fibre, or twisted-pair copper cabling
- Examples:
> Ethernet
> Token ring
> FDDI
> RS-232

A

Layer 1 - Network Interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Which later of the TCP/IP Model?
- Packages data into IP datagrams
     > Contains source and destination IPs
     > Forwards datagrams between hosts across the networks
- Routes IP datagrams across networks
- Connectivity occurs externally
- Examples:
     > IP
     > ICMP
     > ARP
     > RARP
A

Layer 2 - Internet

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

Which layer of the TCP/IP Model?
- Provides communication session management between hosts
- Defines level of service and status of connection used for transport
- Examples:
> TCP
> UDP
> RTP

A

Layer 3 - Transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
Which layer of the TCP/IP Model?
- Defines TCP/IP application protocols
- Defines how programs interface with the transport layer service
- Layer with which the user interacts
- Examples:
     > HTTP
     > TELNET
     > FTP
     > SNMP
     > DNS
     > SMTP
     > SSL
     > TLS
A

Layer 4 - Application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
The following are examples from which layer of the TCP/IP Model?
     > HTTP
     > TELNET
     > FTP
     > SNMP
     > DNS
     > SMTP
     > SSL
     > TLS
A

Layer 4 - Application

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

The following are examples from which layer of the TCP/IP Model?
> TCP
> UDP
> RTP

A

Layer 3 - Transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
The following are examples from which layer of the TCP/IP Model?
     > IP
     > ICMP
     > ARP
     > RARP
A

Layer 2 - Internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
The following are examples from which layer of the TCP/IP Model?
     > Ethernet
     > Token ring
     > FDDI
     > RS-232
A

Layer 1 - Network Interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • Short-lived transport ports that are automatically selected from a predefined range
  • Ports 1024-65,535
A

Ephemeral ports

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

What port range is used for ephemeral ports?

A

Ports 1024 to 65,535

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

What port range is used for well-known and reserved ports?

A

Ports 0 to 1023

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

What is the entire available port range?

A

0 to 65,535

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

The following are included in what type of packets?

  • Source address (IP of sender)
  • Destination address (IP of receiver)
  • IP flags (allows packet fragmentation)
  • Protocol (is this using TCP or UDP?)
A

IPv4 packets

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

How many bytes in a TCP header?

A

20 bytes

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

There are 20 bytes in what type of header?

A

TCP header

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

How many bytes in a UDP header?

A

8 bytes

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

There are 8 bytes in what type of header?

A

UDP header

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

Which protocol?

  • Transfers computer files between a client and server on a computer network
  • Unsecure method and data is being transferred in the clear
A

File transfer protocol (FTP)

Port 20, 21

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

Port 20, 21

A

File transfer protocol (FTP)

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

What port(s) does FTP use?

A

Port 20, 21

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

Which protocol?

  • Cryptographic network protocol for operating network services securely over an unsecured network
  • Best known for remote login to computer systems by users
A
Secure Shell (SSH)
Port 22
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Port 22

A
Secure Shell (SSH)
SSH File Transfer Protocol (SFTP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What port(s) does SSH use?

A

Port 22

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

Which protocol?

- Provides file access, file transfer, and file management over any reliable data stream

A

SSH File Transfer Protocol (SFTP)

Port 22

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

What port(s) does SFTP use?

A

Port 22

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

Which protocol?

  • Provides bi-directional interactive text-oriented communication facility using a virtual terminal connection
  • Like SSH, but insecure
A

Telnet

Port 23

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

Port 23

A

Telnet

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

What port(s) does Telnet use?

A

Port 23

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

Which protocol?

  • Internet standard for sending electronic mail
  • RFC 821 was defined originally in 1982
  • RFC 5321 developed in 2008 (current version)
A

Simple Mail Transfer Protocol (SMTP)

Port 25

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

Port 25

A

Simple Mail Transfer Protocol (SMTP)

32
Q

What port(s) does SMTP use?

A

Port 25

33
Q

Which protocol?

  • Hierarchical decentralized naming system for computers, services, or other resources connected to the internet or a private network
  • Converts domain names to IP addresses
A

Domain Namer Service (DNS)

Port 53

34
Q

Port 53

A

Domain Name Service (DNS)

35
Q

What port(s) does DNS use?

A

Port 53

36
Q

Which protocol?

  • Server dynamically assigns an IP address and other network configuration parameters to a client
  • Enables computers to request IP addresses and networking parameters automatically
  • Reduces burden on network administrators
A

Dynamic Host Control Protocol (DHCP)

Port 67, 68

37
Q

Port 67, 68

A

Dynamic Host Control Protocol (DHCP)

38
Q

What port(s) does DHCP use?

A

Port 67, 68

39
Q

Which protocol?

  • Transmits files in both directions of a client-server application
  • Used for boosting an operating system from a local area network file server
  • Doesn’t provide user authentication or directory visibility
  • Essentially a stripped down version of FTP
A

Trivial File Transfer Protocol (TFTP)

Port 69

40
Q

Port 69

A

Trivial File Transfer Protocol

41
Q

What port(s) does TFTP use?

A

Port 69

42
Q

Which protocol?

  • Foundation of data communication for WWW
  • Designed for distributed, collaborative, and hypermedia presentation across many devices
A

Hyper Text Transfer Protocol (HTTP)

Port 80

43
Q

Port 80

A

Hyper Text Transfer Protocol (HTTP)

44
Q

What port(s) does HTTP use?

A

Port 80

45
Q

Which protocol?

- Used by local e-mail clients to retrieve e-mail from a remote server over TCP/IP connection

A

Post Office Protocol v3 (POP3)

Port 110

46
Q

Port 110

A

Post Office Protocol v3 (POP3)

47
Q

What port(s) does POP3 use?

A

port 110

48
Q

Which protocol?

  • Provides clock synchronization between computer systems over packet-switched, variable-latency data networks
  • Created in 1985, one of the oldest internet protocols currently in use
A

Network Time Protocol (NTP)

Port 123

49
Q

Port 123

A

Network Time Protocol (NTP)

50
Q

What port(s) does NTP use?

A

Port 123

51
Q

Which protocol?
- Provides services allowing applications on separate computers to communicate over a local area network for file and printer sharing

A

NetBIOS (Network Basic Input/Output System)

Port 139

52
Q

Port 139

A

NetBIOS

53
Q

What port(s) does NetBIOS use?

A

Port 139

54
Q

Which protocol?

  • Provides e-mail clients to retrieve e-mail messages from a mail server over a TCP/IP connection
  • Allows the end user to view and manipulate the messages as if they’re stored locally
A

Internet Mail Application (IMAP)

Port 143

55
Q

Port 143

A

Internet Mail Application (IMAP)

56
Q

What port(s) does IMAP use?

A

Port 143

57
Q

Which protocol?

  • Provides collection and organization of information about managed devices on IP networks
  • Can modify that information to change device behaviour, commonly used in network devices
A

Simple Network Management Protocol (SNMP)

Port 161

58
Q

Port 161

A

Simple Network Management Protocol (SNMP)

59
Q

What port(s) does SNMP use?

A

Port 161

60
Q

Which protocol?

  • Open, vendor-neutral, industry standard for accessing and maintaining distributed directory information services
  • Active Directory uses this
A

Lightweight Directory Access Protocol (LDAP)

Port 389

61
Q

Port 389

A

Lightweight Directory Access Protocol (LDAP)

62
Q

What port(s) does LDAP use?

A

Port 389

63
Q

Which protocol?

  • Foundation of e-commerce on WWW
  • Designed for adding security to the insecure HTTP protocol
A
HTTP Secure (HTTPS)
Port 443
64
Q

Port 443

A

HTTP Secure (HTTPS)

65
Q

What port(s) does HTTPS use?

A

Port 443

66
Q

Which protocol?

- Provides shared access to files, printers, and miscellaneous communications between devices on a network

A

Server Message Block (SMB)

Port 445

67
Q

Port 445

A

Server Message Block (SMB)

68
Q

What port(s) does SMB use?

A

Port 445

69
Q

Which protocol?

  • Open, vendor-neutral, industry standard for accessing and maintaining distributed directory information services
  • Active Directory uses this
  • Secure version
A
LDAP Secure (LDAPS)
Port 636
70
Q

Port 636

A

LDAP Secure (LDAPS)

71
Q

What port(s) does LDAPS use?

A

Port 636

72
Q

Which protocol?

  • Proprietary protocol developed by Microsoft
  • Provides a user with a graphical interface to connect to another computer over a network connection
  • User employs client software for this purpose and the other computer must run server software
A

Remote Desktop Protocol (RDP)

Port 3389

73
Q

Port 3389

A

Remote Desktop Protocol (RDP)

74
Q

What port(s) does RDP use?

A

Port 3389

75
Q

Which protocol?

  • Provides signalling and controlling multimedia communication sessions in applications
  • Used for internet telephony for voice and video calls, VoIP, and instant messaging
A

Session Initiation Protocol (SIP)

Port 5060, 5061

76
Q

Port 5060, 5061

A

Session Initiation Protocol (SIP)

77
Q

What port(s) does SIP use?

A

Port 5060, 5061