Addressing on Networks Flashcards

1
Q

Describe a MAC address in detail.

A

A MAC address operates at the Data Link layer and is embedded on every existing NIC. It is 48 bits long and written in hexadecimal notation separated by colons. The first 24 bits are the Organizationally Unique Identifier (OUI) and the last 24 bits make up the device ID which identifies the device itself.

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

What is the difference between static IP addressing and Dynamic IP addressing?

A

A static IP address is assigned manually by the network administrator, while a dynamic IP address is automatically assigned (or leased) by a DHCP server

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

What is a gateway?

A

A gateway is a device that nodes use to access another network. The default gateway is the device that nodes will turn to first.

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

What is the subnet mask?

A

The subnet mask is a 32-bit number that is used to indicate what portion of an IP address is the network portion (network ID) and which is the host portion (host ID)

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

What is Classful Addressing?

A

It is an older method of managing IP address ranges. The dividing line between the network and host portions is determined by the numerical range the IP address falls in.

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

What are the private and public IP address ranges for Class A, B, and C?

A

Private:
Class A - 10.0.0.0 - 10.255.255.255
B - 172.16.0.0 - 172.31.255.255
C - 192.168.0.0 - 192.168.255.255

Public:
A - 1.x.x.x - 126.x.x.x
B - 128.0.x.x - 191.255.x.x
C - 192.0.0.x - 223.255.255.x

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

What are some examples of reserved IP addresses?

A
  1. 0.0.0 is an unassigned address.

169. 254.x.x is an APIPA address, which is assigned when DHCP fails to assign an IP address to a node.

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

What are the benefits of Network Address Translation (NAT)?

A

NAT conserves the number of private IP addresses needed by a network by substituting the private IP addresses with a single public IP. This also improves security because the gateway can hide an entire network behind this single address.

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

Port Address Translation (PAT)

A

Assigns a separate TCP port to each session between a local host and an Internet host.

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

What are the 2 variations of NAT? How do they differ?

A
  1. Static NAT (SNAT) - gateway assigns the same public IP to a host each time it makes a request to access the Internet.
  2. Destination NAT (DNAT) - hosts outside the network will address a node inside the network by a predefined public IP address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why were IPv6 standards originally developed?

A

Improve routing capabilities and speed of communication over IPv4 standards, and to allow more public IP addresses on the Internet.

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

What are some characteristics of IPv6 addressing?

A
  • 128 bits written as 8 blocks in hexadecimal form.
  • Each block is 16 bits. If a block contains all 0s, they can be eliminated and replaced with a double colon (this can only be done once).
  • The last 64 bits (4 blocks) of the address identify the interface, and is called the Interface ID.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does it mean when a network is dual stacked?

A

It means that the network is configured to use both IPv4 and IPv6 protocols.

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

What are the 2 types of unicast addresses used by IPv6?

A
  1. Global address - can be routed on the internet, similar to public IPv4 addressing. Generally begins with 2000::/3
  2. Link Local Address - Can be used for communicating with nodes in the same link (LAN), similar to APIPA. Generally begins with FE80::/10
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

multicast address

A

Delivers packets to all nodes in the targeted multicast group.

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

anycast address

A

Identifies multiple destinations, with packets being delivered to the closest destination

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

List the 3 steps for IPv6 Autoconfiguration.

A
  1. Computer creates its IPv6 address. The first 64 bits are either randomly generated or generated from the network adapter’s MAC address.
  2. Computer checks to make sure its IP address is unique on the network.
  3. The computer then asks if a router on the network can provide configuration info.
18
Q

What is a socket?

A

A socket consists

of both a host’s IP address and the TCP/UDP port of a process, separated by a colon.

19
Q

Ports are divided into what 3 types? What are their port number ranges?

A
  1. Well-known ports range from 0 to 1023, widely used by well-known applications.
  2. Registered ports range from 1024 to 49151
  3. Dynamic + private ports range from 49152 to 65535. Open for use without restriction
20
Q

Name Resolution

A

The process of discovering the IP address of a host whose Fully Qualified Domain Name (FQDN) is known.

21
Q

Why does DNS follow a distributed database model rather than a centralized model?

A

If a handful of servers experience errors, DNS will not fail catastrophically since data is being distributed over thousands of servers.

22
Q

Primary DNS Server

A

The authoritative name server for an organization, which holds the authoritative DNS database for the organization’s zones.

23
Q

Secondary DNS Server

A

A backup authoritative name server for the organization. Receives updates from the primary DNS server, called a zone transfer.

24
Q

Caching DNS Server

A

A server that accesses public DNS data and caches the DNS information it collects. They do not store zone files, therefore they do not participate in zone transfers.

25
Q

Forwarding DNS server

A

An optional server that receives queries from local clients but doesn’t work to resolve those queries.

26
Q

What port number, OSI model layer, and protocol do DNS messages use

A

Application layer, port 53, uses UDP.

27
Q

What is the difference between a recursive query and an iterative query?

A

A recursive query demands a resolution or the answer “it cannot be found.” An iterative query does not demand resolution; servers will only provide information if they have it.

28
Q

A (Address) Record and AAAA record

A

Both store the name-to-address mapping for a host. A is for IPv4 addresses and AAAA is for IPv6 addresses.

29
Q

CNAME Record

A

Canonical Name record. Holds alternative names for a host.

30
Q

PTR record

A

Pointer record, used for reverse lookups (provide address information if you know the IP address). Generally stored in a reverse zone by an ISP.

31
Q

NS record

A

Name server record, indicates the authoritative name server for a domain.

32
Q

MX record

A

Mail exchanger record, identifies an email server, used for email traffic.

33
Q

SRV record

A

Service record, identifies the hostname and port of a computer that hosts a specific network service besides email.

34
Q

TXT record

A

Text record, holds any type of free-form text. Most often used by Sender Policy Framework (SPF) or Domainkeys Identified Mail (DKIM)

35
Q

Demilitarized Zone (DMZ)

A

The area between 2 firewalls, unprotected. External DNS server is often located here.

36
Q

PING (Packet Internet Groper)

A

A command that is used to verify that TCP/IP is installed, bound to the NIC, configured correctly, and communicating with the network. Sends out a signal called an echo request to another computer, which is basically a request for response. uses ICMP (Internet Control Message Protocol)

37
Q

ipconfig and ifconfig

A

Shows current TCP/IP addressing and domain name information on a system. ipconfig is for Windows systems, ifconfig is for Linux systems. and only shows TCP/IP settings.

38
Q

nslookup (name space lookup)

A

A utility that allows you to query the DNS database from any computer on the network and find the host name of a device by specifying its IP address or vice-versa.

39
Q

dig (domain information groper)

A

A utility for Linux and MacOS systems. Similar to nslookup but provides more detailed information.

40
Q

What is an exhausted DHCP scope?

A

When a DHCP scope is exhausted, it means that all available addresses are used up which prevents new clients from connecting to the network. This can be caused by leases being too long.