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