TCP/IP Model Flashcards
- Also known as the DoD Model
- Alternative to the OSI Model
- More relevant model for network designers
- Only 4-layer model
TCI/IP Model or Stack
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
Layer 1 - Network Interface
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
Layer 2 - Internet
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
Layer 3 - Transport
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
Layer 4 - Application
The following are examples from which layer of the TCP/IP Model? > HTTP > TELNET > FTP > SNMP > DNS > SMTP > SSL > TLS
Layer 4 - Application
The following are examples from which layer of the TCP/IP Model?
> TCP
> UDP
> RTP
Layer 3 - Transport
The following are examples from which layer of the TCP/IP Model? > IP > ICMP > ARP > RARP
Layer 2 - Internet
The following are examples from which layer of the TCP/IP Model? > Ethernet > Token ring > FDDI > RS-232
Layer 1 - Network Interface
- Short-lived transport ports that are automatically selected from a predefined range
- Ports 1024-65,535
Ephemeral ports
What port range is used for ephemeral ports?
Ports 1024 to 65,535
What port range is used for well-known and reserved ports?
Ports 0 to 1023
What is the entire available port range?
0 to 65,535
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?)
IPv4 packets
How many bytes in a TCP header?
20 bytes
There are 20 bytes in what type of header?
TCP header
How many bytes in a UDP header?
8 bytes
There are 8 bytes in what type of header?
UDP header
Which protocol?
- Transfers computer files between a client and server on a computer network
- Unsecure method and data is being transferred in the clear
File transfer protocol (FTP)
Port 20, 21
Port 20, 21
File transfer protocol (FTP)
What port(s) does FTP use?
Port 20, 21
Which protocol?
- Cryptographic network protocol for operating network services securely over an unsecured network
- Best known for remote login to computer systems by users
Secure Shell (SSH) Port 22
Port 22
Secure Shell (SSH) SSH File Transfer Protocol (SFTP)
What port(s) does SSH use?
Port 22
Which protocol?
- Provides file access, file transfer, and file management over any reliable data stream
SSH File Transfer Protocol (SFTP)
Port 22
What port(s) does SFTP use?
Port 22
Which protocol?
- Provides bi-directional interactive text-oriented communication facility using a virtual terminal connection
- Like SSH, but insecure
Telnet
Port 23
Port 23
Telnet
What port(s) does Telnet use?
Port 23
Which protocol?
- Internet standard for sending electronic mail
- RFC 821 was defined originally in 1982
- RFC 5321 developed in 2008 (current version)
Simple Mail Transfer Protocol (SMTP)
Port 25
Port 25
Simple Mail Transfer Protocol (SMTP)
What port(s) does SMTP use?
Port 25
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
Domain Namer Service (DNS)
Port 53
Port 53
Domain Name Service (DNS)
What port(s) does DNS use?
Port 53
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
Dynamic Host Control Protocol (DHCP)
Port 67, 68
Port 67, 68
Dynamic Host Control Protocol (DHCP)
What port(s) does DHCP use?
Port 67, 68
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
Trivial File Transfer Protocol (TFTP)
Port 69
Port 69
Trivial File Transfer Protocol
What port(s) does TFTP use?
Port 69
Which protocol?
- Foundation of data communication for WWW
- Designed for distributed, collaborative, and hypermedia presentation across many devices
Hyper Text Transfer Protocol (HTTP)
Port 80
Port 80
Hyper Text Transfer Protocol (HTTP)
What port(s) does HTTP use?
Port 80
Which protocol?
- Used by local e-mail clients to retrieve e-mail from a remote server over TCP/IP connection
Post Office Protocol v3 (POP3)
Port 110
Port 110
Post Office Protocol v3 (POP3)
What port(s) does POP3 use?
port 110
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
Network Time Protocol (NTP)
Port 123
Port 123
Network Time Protocol (NTP)
What port(s) does NTP use?
Port 123
Which protocol?
- Provides services allowing applications on separate computers to communicate over a local area network for file and printer sharing
NetBIOS (Network Basic Input/Output System)
Port 139
Port 139
NetBIOS
What port(s) does NetBIOS use?
Port 139
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
Internet Mail Application (IMAP)
Port 143
Port 143
Internet Mail Application (IMAP)
What port(s) does IMAP use?
Port 143
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
Simple Network Management Protocol (SNMP)
Port 161
Port 161
Simple Network Management Protocol (SNMP)
What port(s) does SNMP use?
Port 161
Which protocol?
- Open, vendor-neutral, industry standard for accessing and maintaining distributed directory information services
- Active Directory uses this
Lightweight Directory Access Protocol (LDAP)
Port 389
Port 389
Lightweight Directory Access Protocol (LDAP)
What port(s) does LDAP use?
Port 389
Which protocol?
- Foundation of e-commerce on WWW
- Designed for adding security to the insecure HTTP protocol
HTTP Secure (HTTPS) Port 443
Port 443
HTTP Secure (HTTPS)
What port(s) does HTTPS use?
Port 443
Which protocol?
- Provides shared access to files, printers, and miscellaneous communications between devices on a network
Server Message Block (SMB)
Port 445
Port 445
Server Message Block (SMB)
What port(s) does SMB use?
Port 445
Which protocol?
- Open, vendor-neutral, industry standard for accessing and maintaining distributed directory information services
- Active Directory uses this
- Secure version
LDAP Secure (LDAPS) Port 636
Port 636
LDAP Secure (LDAPS)
What port(s) does LDAPS use?
Port 636
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
Remote Desktop Protocol (RDP)
Port 3389
Port 3389
Remote Desktop Protocol (RDP)
What port(s) does RDP use?
Port 3389
Which protocol?
- Provides signalling and controlling multimedia communication sessions in applications
- Used for internet telephony for voice and video calls, VoIP, and instant messaging
Session Initiation Protocol (SIP)
Port 5060, 5061
Port 5060, 5061
Session Initiation Protocol (SIP)
What port(s) does SIP use?
Port 5060, 5061