Computer Networking Final

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/73

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

74 Terms

1
New cards

Layer 2 - Data Link

Handles MAC addressing and switching; devices: switch, NIC (Network Interface Card)

2
New cards

Layer 3 - Network

Handles IP addressing and routing; devices: router

3
New cards

Layer 4 - Transport

Provides end-to-end communication using TCP and UDP with ports

4
New cards

Layer 7 - Application

Closest to the user; includes HTTP, DNS, FTP, email protocols

5
New cards

OSI Acronym

A Pussy So Tight No Dick Penetrates

6
New cards

OSI Model

Layered framework for how data is transmitted across netoworks

7
New cards

TCP

Reliable, connection-oriented protocol using a 3-way handshake (SYN, SYN-ACK, ACK)

8
New cards

UDP

Fast, connectionless protocol with no guarantees of delivery or ordering.

9
New cards

Fields that define a TCP or UDP connection (5 tuple)

Protocol, Local IP, Local Port, Remote IP, Remote Port

10
New cards

Routing Table Purpose

Lists networks the router can reach; their netmasks, next hop, and interface to use.

11
New cards

Routing Interface Requirement

A router must have an interface in every network it connects to.

12
New cards

Routing Table Match Rule

IP addresses is matched against the network and netmask entries in the table.

13
New cards

Routing Behavior

Each router makes independent decisions based on its own configuration and view of the network.

14
New cards

Netmask Function

Used to determine how much of the IP address refers to the network vs host portion

15
New cards

LAN (Local Area Network)

A broadcast domain where all devices can directly communicate with a router

16
New cards

Broadcast Packet (on Ethernet LAN)

Sent to all of devices on the same LAN segment

17
New cards

Do LANs cross routers?

No, routers separate LANs into different broadcast domains

18
New cards

Switch Behavior

Learns MAC addresses and floods frames if the destination MAC is unknown

19
New cards

How to build a bigger LAN

Plug multiple switches together; no additional config required

20
New cards

How to create smaller broadcast domains

Use VLANs to subdivide a switch into logical LANs

21
New cards

VLAN

A logical partition within a switch that separates traffic into isolated broadcast domains

22
New cards

Access Port Behavior

Assigns frames to a VLAN based on the port the traffic enters; does not use tags

23
New cards

Trunk Port Behavior

Adds a VLAN tag to frames to allow traffic for multiple VLANs over a single link.

24
New cards

Routing Between VLANs (with router)

Requires traffic to exit the switch to a router and return

25
New cards

Layer 3 Switch Function

A switch that can route traffic between VLANs internally without a separate router

26
New cards

WiFi and Ethernet Similarity

Use MAC addresses and ARP in the same way

27
New cards

WiFi Physical Differences

Uses radio frequencies (2.4GHz, 5GHz), not copper or fiber

28
New cards

WiFi and Ethernet Similarities

Use MAC addresses and ARP in the same way

29
New cards

WiFi Error Rate

Higher than ethernet; can be 10% more due to interference

30
New cards

SSID

The name of a WiFi network; advertised by access points using beacon frames

31
New cards

Beacon Frame

Signal sent by a client device to ask what networks are available

32
New cards

WPA2

Preferred wireless security protocol that uses AES encryption

33
New cards

WEP

Outdated and insecure encryption method for WiFi; should not be used

34
New cards

NAT (Network Address Translation)

Translates internal private IP addresses to a public IP so devices can access the internet

35
New cards

Purpose of NAT

To conserve IPv4 addresses and allow multiple devices to share one public IP

36
New cards

NAT table

Tracks which internal IP and port maps to which external IP and port

37
New cards

NAT table fields

Includes internal IP, internal port, external IP, and external port

38
New cards

Static NAT entry

A fixed rule that maps a specific internal IP and port to a public IP and port; used to host services

39
New cards

Ephemeral Port

A randomly assigned port above 1023 used by client devices when communicating with servers

40
New cards

Public IP Address

An IP address that can be routed over the internet and must be globally unique

41
New cards

Private IP address

IP address reserved for internal use (e.g., 192.168.x.x); not routable over the internet

42
New cards

Why is duplicate destination address a NAT problem?

The router can’t tell which internal device should receive the response.

43
New cards

HTTP (Hypertext Transfer Protocol)

A request/response protocol used to load web pages

44
New cards

HTTP POST Method

Sends data to a server to modify or update resources

45
New cards

HTTP GET Method

Requests data from a server without modifying anything

46
New cards

HTTP Status Code 200

Ok, the request was successful

47
New cards

HTTP Status Code 404

Not found, the server could not find the requested resource

48
New cards

HTTP Status Code 500

Server Error, something went wrong on the server side

49
New cards

HTTPS (HTTP Secure)

Uses TLS encryption to protect HTTP traffic; runs on port 443

50
New cards

TLS (Transport Layer Security)

Protocol that encrypts web traffic and replaces SSL

51
New cards

Cookie (In HTTP)

Small piece of data stored by the browser to track sessions in between requests

52
New cards

Layer 2 Address

MAC address; used to deliver frames with the same local network

53
New cards

Layer 3 Address

IP address; used to deliver packets between network

54
New cards

Layer 4 Address

Port number, used to identify applications or services on a device

55
New cards

Layer 7 Address

URL or email address; used by end-user applications

56
New cards

Traceroute

A tool that shows the path (hops) packets take from your device to a destination

57
New cards

CDN (Content Delivery Network)

A system of distributed servers that cache content closer to users for faster delivery

58
New cards

DNS (Domain Name System)

Translates human-readable domain names (like google.com) into IP addresses

59
New cards

Purpose of a netmask?

Separates IP address into network and host parts.

60
New cards

What portion of the IP address is identified by the netmask?

The network portion.

61
New cards

Default route IP/netmask notation?

0.0.0.0/0

62
New cards

Which route is chosen if multiple match an IP destination?

The route with the longest (most specific) prefix.

63
New cards

What is a default gateway?

The route used when no other routing table entry matches.

64
New cards

Routing decision: IP 10.0.2.5, routes available 10.0.0.0/8 and 10.0.2.0/24, which is selected?

10.0.2.0/24 because its more specific

65
New cards

Which netmask example has a larger range but less specific? /8 or /24 ; Less range but more specific?

/8, /24

66
New cards

What type of NAT entry must be manually configured to host a server behind NAT?

Static NAT entry

67
New cards

What does a NAT server do with outgoing packets from a private network?

It translates the private IP/port to a public IP/port

68
New cards

Key differences between distance vector and link-state protocols?

Distance Vector is slower and has neighbor-based updates while Link-State is faster with topology-wide updates,

69
New cards

Is OSPF interior or exterior routing protocol?

Interior (IGP)

70
New cards

Is BGP interior or exterior routing protocol?

Exterior (EGP)

71
New cards

TCP 3-way handshake steps

SYN, SYN-ACK, ACK

72
New cards

What is the even parity bit for the binary number 1010110?

0; there are 4 1s

73
New cards

What is the odd parity bit for the binary number 1001101?

1; there are 4 1s so add one to make total number odd.

74
New cards