TCP/IP Model Flashcards

1
Q

TCP/IP Model (4 Layers)

A

Alternative to OSI model, more relevant for network designers

1) Network Interface (Physical, Data Link)
2) Internet (Network)
3) Transport (Transport)
4) Application (Session, Presentation, Application)

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

Layer 1 (Network Interface)

A

Physical/electrical characteristics
Describes how to transmit bits across the network
Determines how interface uses network medium
Coax/Fiber/Copper
(Ethernet, Token Ring, FDDI, RS-232)

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

Layer 2 (Internet)

A

Packages data into IP datagrams:
Contains source & destination IPs
Forwards datagrams between hosts across networks

Routes IP datagrams across networks
Connectivity occurs externally
(IP, ICMP, ARP, RARP)

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

Layer 3 (Transport)

A

Provides communication session management between hosts
Defines level of service & status of connection used for transport
(TCP, UDP, RTP)

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

Layer 4 (Application)

A

Defines TCP/IP application protocols
Defines how programs interface with the transport layer service
Layer with which the user interacts

(HTTP, TELNET, FTP, SNMP, DNS, SMTP, SSL, TLS)

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

Data Transfer Over Networks: Ports

A

Port numbers can be 0 to 65,535

Well-known (reserved) ports: 0 to 1023

Ephemeral Ports: Short-lived transport port that is automatically selected from a predefined range
1024 to 65,535

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

Data Transfer Over Networks: IPv4 Packets

A

Source address (IP of sender)
Destination address (IP of receiver)
IP Flags (Allows packet fragmentation)
Protocol (Is this packet using TCP or UDP?)

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

TCP & UDP Headers (Size)

A

TCP Header = 20 bytes
UDP Header = 8 bytes

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

GRE

A

Generic Routing Encapsulation Protocol:
A tunneling protocol (Cisco) to encapsulate a wide variety of network layer protocols inside a virtual point-to-point/multipoint link over an IP network.

Important to set a smaller MTU size on the tunnel.
No encryption

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