2.1 - 2.2 Networking Protocols and Hardware Flashcards

1
Q

What are the five parts of (IP) Internet Protocol?

A

Ethernet header (client)
IP (internet protocol)
TCP (transmission control protocol)
HTTP data
Ethernet trailer (server)

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

What’s the difference between TCP and UDP?

A

TCP (transmission control protocol) is a connection-based protocol. It’s reliable, so it can reorder data, conduct retransmissions, and manage data limits.
UDP (user datagram protocol) is a connectionless protocol. It’s unreliable, meaning it has no error recovery or receipt of data sending. No flow control

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

What is multiplexing?

A

Uses both TCP and UDP to transmit data for many different applications at the same time

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

DHCP and TFTP are examples of: TCP or UDP? What do they stand for?

A

UDP
Dynamic Host Configuration Protocol
Trivial file transfer protocol

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

Protocols like HTTP and HTTPS are examples of: UDP or TCP?

A

TCP. They require a return receipt

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

What is a port number?

A

It’s written on the outside of a packet to ensure that the contents get to the right application

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

What are the parts of an IPv4 packet?

A

Server IP address, protocol, server application port number
Client IP address, protocol, client port number

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

What are non-ephemeral ports?

A

Permanent port numbers usually on a server or service. Usually go from 0 to 1023. Ex, port 80 = HTTP, port 443 = HTTPS

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

What are ephemeral ports?

A

Temporary port numbers that are determined in real-time by the client. Usually between 1024 and 65,535

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

Why is it important that port numbers should be well known numbers?

A

Port numbers are for communication, not security. This prevents us from having another system to create / decode port numbers, which would complicate communication

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

What is TCP port 20 / 21?

A

20 = data transfer port in FTP (file transfer protocol)
Authenticates with a username and a password
Can add / delete / transfer files

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

What is TCP port 21?

A

21 = default port used for control channel in FTP (file transfer protocol)

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

What is TCP port 22?

A

SSH (secure shell)
Encrypted communication link
Connects you to a remote device through command line

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

What is TCP port 23 and when would you use it?

A

Telnet (telecommunication network protocol)
Lets us connect to a device remotely
This information is not encrypted, so be wary of using Telnet on production systems

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

What is TCP port 25 and when would you use it?

A

SMTP (simple mail transfer protocol)
Used to send email (not usually to receive)
Server to server email transfer
Device to server email transfer

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

What is UDP port 53 and when would you use it?

A

DNS (domain name system)
Converts names to IP addresses

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

What is UDP port 67?

A

Used by DHCP servers to communicate with clients on a network
Uses a leasing system
Able to reserve static IP addresses (admins, etc.)

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

What is UDP port 68?

A

Used by DHCP servers to respond to messages

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

What is TCP port 80 / 443 and when are they used?

A

Port 80 = HTTP (hypertext transfer protocol)
Port 443 = HTTPS (hypertext transfer protocol secure)
Which one you’re using depends on whether you’re connecting to the web with encryption (HTTPS) or in-the-clear (HTTP)

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

What is TCP port 110?

A

POP3 (post office protocol version 3)
Basic email authentication and transfers for one inbox

21
Q

What is TCP port 143?

A

IMAP (internet message access protocol v4)
Includes management of email inbox from multiple clients

22
Q

What is SMB?

A

Server message block, a protocol used by Microsoft Windows
Used for file sharing and printer sharing
Also called CIFS (common internet file system)
Uses NetBIOS over TCP/IP (network basic input/output system)

23
Q

What is UDP port 137?

A

NetBIOS name service (nbname)
Port used by SMB
Allows users to access shared resources such as files and printers over a network

24
Q

What is TCP port 139?

A

NetBIOS session service (nbsession)
Port used by SMB to facilitate communication between devices in Windows OS

25
Q

What is TCP port 445?

A

Port used by SMB in earlier versions of Windows OS. Allows direct connection on the internal network without using NetBIOS

26
Q

What is SNMP?

A

Simple network management protocol
Allows network management device to query devices for performance details
V1 = the original, in-the-clear
V2 = bulk transfers, in-the-clear
V3 = modern secure standard, authentication, encryption

27
Q

What is UDP port 161?

A

Default port used by SNMP for managers to communicate with agents. Used to listen for queries

28
Q

What is UDP port 162?

A

Used by SNMP for unsolicited notifications or “traps”

29
Q

What is TCP port 389?

A

LDAP (lightweight directory access protocol)
Stores and retrieves information in a network directory
Commonly used in Microsoft Active Directory

30
Q

What is TCP port 3389?

A

RDP (remote desktop protocol)
Lets you share a desktop from a remote location
Available in many versions of Windows
Available in clients for other OS

31
Q

What does a router do?

A

Routes traffic between IP subnets
Routers inside of switches are sometimes called level 3 switches (referring to the OSI model)

32
Q

How is a switch different from a router?

A

Uses the MAC address to direct traffic instead of IP
Very fast throughput because the circuits are application-specific integrated (ASIC)

33
Q

The following 2 are features of what hardware?
-They’re comprised of many ports and features, may provide Power over Ethernet (PoE)
-Can be multilayered by including router functionality (level 3)

A

Switch

34
Q

What’s one pro and one con to unmanaged switches?

A

Pro = low cost, plug and play with very few configuration options
Con = no management protocols such as SNMP

35
Q

What kind of switch would you purchase for an office?

A

Managed switch. Provides things like:
VLAN support (interconnects with other switches through 802.1Q
Traffic prioritization (VoIP > other traffic)
Redundancy support (STP, spanning tree protocol)
Port mirroring
External management (like SNMP)

36
Q

How is an access point different from a router?

A

A router contains an access point. An access point does not route anything, it’s a bridge that extends the wired network onto the wireless network.
Uses MAC address to make forwarding decisions

37
Q

What does cable infrastructure look like?

A

Wires connect a bunch of workstations to a patch panel. We extend the connection through RJ45 ports to the switch. Patch panel lets you move to different switches for new hires / desk switches

38
Q

What is a benefit to using patch panels?

A

They use existing cables and don’t require any special tools, so they can be easily changed

39
Q

What is a firewall’s main function?

A

To filter traffic by port number (OSI layer 4) or by application (OSI layer 7). Can encrypt traffic in and out of network and also proxy traffic.
Most firewalls can also be layer 3 devices if they are built into routers

40
Q

What is PoE?

A

Power over Ethernet. It transfers data and also powers a device in one connection. Usually used in cameras and access points

41
Q

What are two kinds of PoE?

A

Endspans (built-in-power)
Midspans (in-line power injector)
Both of these are accessed through the switch

42
Q

What are the different PoE standards?

A

2003 => PoE IEEE 802.3af.
The original, now part of the 802.3 standard. Supports 15.4 watts of DC power, 350 mA max current
2009 => PoE+ IEE 802.3at.
Now also part of 802.3 standard. Supports 25.5 watts of DC power, 600 mA max current
2018 => PoE++ IEEE 802.3bt.
Type 3 PoE++ provides 51 W of power and 600 mA max current.
Type 4 provides 71.3 W of power and 960 mA max current.
Designed to power 10GB ethernet

43
Q

What did we use before switches?

A

Hubs or multi-port repeaters. Not very efficient because everything is half-duplex. Becomes less efficient as network traffic increases

44
Q

What is a device that runs both a TV and internet connection?

A

Cable modem. Allows you to connect via broadband. The standard is called DOCSIS (data over cable service interface specification). Supports speeds up to 1GB per second

45
Q

If you’re connecting to the internet with your phone company, what kind of modem are you using?

A

DSL or ADSL (asymmetric digital subscriber line). It’s asymmetric because download speeds are much faster than upload speeds. Speeds are limited by proximity to central office (CO)

46
Q

What kind of device are you using to connect to the internet using fiber?

A

ONT, optical network terminal. Converts fiber to copper ethernet wires. Uses a demarcation point (demarc) to differentiate your network from the ISP’s network

47
Q

What’s the name of a card used to connect your device with a copper ethernet connection?

A

NIC, network interface card. The fundamental network device, every device on the network has a NIC.
Can also function to connect with Ethernet, WAN, WWAN

48
Q

What is SDN?

A

Software defined networking. Separates function of switch into individual pieces that are converted to software / the cloud