2.5 Given a scenario, install & configure basic wired/wireless SOHO networks Flashcards

1
Q

What is a protocol?

A

Rules for structured data communication among networked hosts

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

What are protocols often designed for?

A

Working together as a protocol suite

Most networks have converged on the use of the TCP/IP suite.

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

Why is the TCP/IP suite divided into layers?

A

To better understand the function of each protocol

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

In the TCP/IP, what does each lower protocol do?

A

Encapsulate data from higher-layer protocols

As data moves down the protocol stack, lower-layer protocols add their own headers before transmitting it

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

List the 4 layers of the TCP/IP suite

A
  1. Application
  2. Transport
  3. Internet
  4. Link (Network Interface)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Purpose of TCP/IP’s link layer?

A

Put frames onto the physical network

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

Which TCP/IP layer does not contain a TCP/IP protocol?

A

Link (Network interface) layer

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

What is used at the TCP/IP’s link layer?

A

LAN protocols & media

i.e. Ethernet or Wi-Fi

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

Where does communication on the TCP/IP’s link layer take place?

A

Only on a local network segment

Not between different networks

On an Ethernet or Wi-Fi segment, data at the link layer is packed into frames; node interfaces are identified by a MAC address

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

Purpose of TCP/IP’s Internet layer?

A

Address & routes packets across across a network of networks

(the Internet)

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

What is an “end system host”?

A

Device that can communicate on an IP network

i.e. PC, laptop, mobile device, server, etc.

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

What’s required to transmit IP packets over a physical/data link layer?

Like Ethernet or Wi-Fi

A

Mechanism to encapsulate IP packets within data link layer frames

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

What mechanism encapsulates IP packets within data link layer frames?

A

ARP

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

Meaning of ARP?

A

Address Resolution Protocol

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

What does ARP do?

A

Queries the MAC address associated with an IP address

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

2 types of delivery IP can provide?

A

Unreliable & connectionless delivery

A packet may be lost, delivered out of sequence, duplicated, or delayed

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

Purpose of TCP/IP’s Transport layer?

A

Manages multiple connections for application layer protocols

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

How is the TCP/IP’s Transport layer protocol implemented?

A

Via TCP or UDP protocol

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

What kind of packet delivery does TCP provide?

A

Connection-oriented packet delivery

TCP identifies & recovers lost or out-of-order packets, enhancing IP reliability. This is crucial for TCP/IP application protocols to prevent data errors.

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

What kind of packet delivery does UDP provide?

A

Connectionless packet delivery

UDP provides unreliable packet delivery

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

Which Transport layer protocol is faster?

A

UDP

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

Why is UDP faster than TCP?

A

Doesn’t send extra data for reliable connections

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

When is UDP used over TCP?

A

In time-sensitive applications where packet loss is tolerable

i.e. speech or video. Rather than causing the app to crash, they would just manifest as a glitch in video or a squeak in audio

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

What does the TCP/IP’s Application layer contain?

A

Protocols that perform a high-level function

Rather than simply addressing hosts & transporting data

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

What are Application protocols used for?

A

Managing network hosts & services

services like web & email

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

What does each application protocol use to connect clients to a server?

A

TCP or UDP ports

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

What are the 2 most important fields in an IP packet?

A

Source & destination IP address

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

2 versions of IP?

A
  • IPv4
  • IPv6
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

How long are IPv4 addresses?

A

32 bits

In its raw form, it appears as 11000000101010000000000000000001. These 32 bits can be divided into 4 groups of 8 bits, known as “octets”. The IP address is rearranged as 11000000 10101000 00000000 00000001, which is easier to read in dotted decimal notation (192.168.0.1).

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

What is the range of an IPv4 address?

A

0.0.0.0 to 255.255.255.255

However some addresses are not permitted or are reserved for special use

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

What 2 pieces of information do IPv4 addresses provide?

A
  • Network ID
  • Host ID
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

What does the Network ID in an IPv4 address identify?

A

The network to which a device belongs

The network ID is common to all hosts on the same IP network

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

What does the host ID in an IPv4 address identify?

A

A host within an IP network

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

What distinguishes the host & newtork ID of an IPv4 address?

A

Network prefix

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

What is a network prefix?

A

32-bit value with contiguous 1s identifing the network part of an IP address

i.e. a prefix with 24 bits means: 11111111 11111111 11111111 00000000. The prefix can be written in slash notation in the form /24

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

What is the dotted decimal expression of a network prefix called?

i.e. 255.255.255.0

A

Subnet mask

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

What does each binary 1 indicate in a subnet mask?

A

The corresponding bit in the IP address belongs to the Network ID

A subnet mask, like 255.255.255.0 (binary: 11111111.11111111.11111111.00000000), works with an IP address like 192.168.1.100 (binary: 11000000.10101000.00000001.01100100). Wherever the subnet mask has a 1, that part of the IP address is for the network, and where it has a 0, it’s for the host. So, in this case, the network ID is 192.168.1.0, and the host ID is 0.0.0.100.

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

What does this slash notation mean?

192.168.0.0/24

A

The first 24 bits represent the network ID

The network ID would be 192.168.0.

The last .0 is reserved as the network address, and .255 is often reserved as the broadcast address. So, for example, 192.168.0.1 to 192.168.0.254 would be assignable host addresses within the 192.168.0.0/24 network

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

What is slash notation often used for?

i.e. 192.168.0.0/24

A

To refer to network IDs

i.e. 192.168.0.0/24 refers to an IP network

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

What is a subnet mask often used for?

i.e. 255.255.255.0

A

Host configuration dialogs

i.e. 192.168.0.1/255.255.255.255 refers to a host address on that IP network

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

What happens when a host sends a packet via IPv4?

A

IPv4 compares source & destination IP address against the sending host’s subnet mask

In this example, the host recognizes the destination IPv4 address as local (192.168.0.0/24) and attempts local delivery. For Ethernet, it employs ARP to find the MAC address linked with the destination IP address.
42
Q

What does IPv4 do if the masked portion of source & destination addresses don’t match?

A

Host assumes the packet must be routed to another IP network

In this scenario, host 192.168.0.100 realizes the destination IPv4 address belongs to a different IP network (192.168.1.0/24). Accordingly, it forwards the packet to a router instead of attempting local delivery.
43
Q

What is the default gateway?

A

IP address of a router interface

Most hosts are configured with a default gateway parameter

44
Q

What do hosts use default gateways for?

A

To forward packets to other networks

45
Q

What is a requirement for a host to use a gateway address?

A

Both must be on the same IP network

46
Q

What happens if hosts have a private IPv4 address?

A

Not allowed to route traffic over the public Internet

47
Q

What is the use of private IPv4 addresses confined to?

A

Private LANs

48
Q

3 private IPv4 address ranges?

A
  • Class A
  • Class B
  • Class C
49
Q

Class A private IPv4 address range?

A

10.0.0.0 to 10.255.255.255

50
Q

Class B private IPv4 address range?

A

172.16.0.0 to 172.31.255.255

51
Q

Class C private IPv4 address range?

A

192.168.0.0 to 192.168.255.255

52
Q

What is the typical subnet mask for Class A private IPv4 addresses?

A

255.0.0.0

The network prefix for this is /8

53
Q

What is the typical subnet mask for Class B private IPv4 addresses?

A

255.255.0.0

The network prefix for this is /16

54
Q

What is the typical subnet mask for Class C private IPv4 addresses?

A

255.255.255.0

The network prefix for this is /24

55
Q

2 ways hosts with private address can access the Internet?

A
  • Via router with public addresses
  • Via proxy server

Proxy server can fulfill requests for Internet resource on behalf of clients

56
Q

How does a router convert between private & public IP addresses?

A

Using NAT

57
Q

Meaning of NAT?

A

Network Address Translation

58
Q

Minimum configuration a host needs to communicate on an IPv4 network?

A

IP address & subnet mask

An IPv4 address & subnet mask can be set manually in a static configuration

This minimum setup isn’t very usable. More configurations are needed for a host to fully utilize a network or the Internet

59
Q

What addresses cannot be assigned to a host in an IP network?

A

The first or last address

i.e. in the IP network 192.168.0.0/24, 192.168.0.0 is the first address & 192.168.0.255 is the last address

60
Q

What is the first address in an IP network used for?

i.e. in the IP network 192.168.0.0/24, 192.168.0.0 is the first address

A

To identify the network itself

61
Q

What is the last address in an IP network used for?

i.e. in the IP network 192.168.0.0/24, 192.168.0.255 is the last address

A

To broadcast to all hosts

62
Q

What is the valid host address range in 192.168.0.0/24?

A

192.168.0.1 to 192.168.0.254

The first & last address arent included because theyre reserved for other uses

63
Q

2 other parameters that make a host fully functional in an IPv4 network?

Besides an IP address & subnet mask

A
  • Default gateway
  • DNS server addresse(s)
64
Q

What happens if a host is not configured with a default gateway?

A

Host can only communicate within the LAN

65
Q

What is the primary DNS server address usually configured as?

A

The same as the gateway address

The router would be configured to forward DNS queries to a secure resolver. Often, 2 DNS server addresses are specified for redundancy

66
Q

What does static IP addressing require?

A

Admin to enter config. info for each computer/host

Admin must keep track of which IP addresses have been allocated to avoid issuing duplicates

67
Q

What happens if a host shifts to a new subnet with static addressing?

A

Admin must manually reconfigure it

Manually configuring IP addresses for every node in a large network is time-consuming and error-prone, risking communication disruptions

68
Q

What are static IP addresses typically only assigned to?

A

Systems with a dedicated functionality

i.e. router interfaces or application server that need to use a fixed IP address

69
Q

What is an alternative to static network configuration?

A

DHCP server

A host can receive its IP address, subnet mask, default gateway, & DNS server addresses

70
Q

What occurs if a host can’t reach a DHCP server for network setup?

A

Uses an APIPA/link-local address

71
Q

Meaning of APIPA?

A

Automatic Private IP Addressing

72
Q

What is the range of an APIPA/link-local address?

A

169.254.0.1 to 169.254.255.254

73
Q

What can a host with an APIPA/link-local address do?

A

Communicate with other hosts on the LAN using an APIPA/link-local address

74
Q

What CAN’T a host do with an APIPA/link-local address?

A

Can’t reach other networks or communicate with DHCP hosts

Meaning hosts with a valid DHCP lease

75
Q

Which vendor uses the term APIPA rather than “link-local”?

A

Microsoft

Other vendors & open-source products use the term “link local”

76
Q

What may a host do if it can’t reach a DHCP server but doesn’t use APIPA/link-local addressing?

A

May leave the IP unconfigured or use the 0.0.0.0 IP address

it would use 0.0.0.0 to indicate that the IPv4 address of the interface is not known

77
Q

What interfaces does a SOHO router have?

A
  • Public digital modem interface
  • Private Ethernet interface

The public digital modem is used to connect to the ISP. Ethernet is for LAN

78
Q

What must both interfaces of a SOHO router be configured with?

Both interfaces = Public digital modem interface & private Ethernet interface

A

An IP address & subnet mask

79
Q

Which SOHO router interface is used by hosts as the default gateway parameter?

A

LAN interface

This address is also used to access the router’s web management interface (i.e. https://192.168.0.1)

80
Q

What is a router’s public interface IP address determined by?

A

ISP

It must be a valid public IP address. Internet service providers sometimes assign a static IP or offer it as an option for an additional fee. Otherwise, the public interface gets dynamically configured using the ISP’s DHCP server.

81
Q

3 ways to tell if an IPv4 address is public?

A
  • Not from a private range
  • Doesn’t start with a 0
  • Not a value of 224.x.y.z or above

Private range like 10.x.y.z, 172.16-32.x.y, or 192.168.0-255.x

The values 224.x.y.x & above is reserved for other types of addressing schemes

82
Q

How to configure a SOHO router?

A
  • Connect computer to router
  • Load the device’s management URL on browser

Computer can be connected to router via RJ45 port or wireless network

The management URL could be an IP address or host/domain name (i.e. http://192.168.0.1 or http://www.routerlogin.com

83
Q

What to do if you can’t connect to a router’s device management URL?

The management URL could be an IP address or host/domain name (i.e. http://192.168.0.1 or http://www.routerlogin.com

A

Verify if the computer’s IP address matches the router’s LAN IP range

84
Q

How many bits are in a IPv6 address?

A

128

85
Q

What can one hexadecimal digit express?

A

4-bit binary value

i.e. hex A = 1010

86
Q

How is an IPv6 address constructed?

A

is divided into 8 double-byte values separated by colons

2001:0db8:0000:0000:0abc:0000:def0:1234

87
Q

2 ways to shorten an IPv6 address?

A
  • Ignore leading 0’s
  • Replace contiguous series of 0s with a double colon (::)

2001:0db8:0000:0000:0abc:0000:def0:1234 –> 2001:db8::abc:0:def0:1234

88
Q

How is the network & host ID identified in an IPv6 address?

A
  • First 64 bits = Network ID
  • Last 64 bits = Host ID

i.e. in 2001:0db8:0000:0000:0abc:0000:def0:1234, the Network ID is 2001:0db8:0000:0000 & the Host ID is 0abc:0000:def0:1234

89
Q

Why dont IPv6 address need a subnet mask?

A

The Network & host portions are a fixed size

90
Q

What does prefix notation in IPv6 represent?

i.e. /32

A

The length of the routing prefix in bits

The length of the network prefix in IPv6 determines whether addresses belong to the same network. ISPs often assign /48 prefixes to customers for private networks, allowing up to 65,346 subnets to be configured.

91
Q

2 types of IPv6 addresses IPv6 interfaces may be configured with?

A
  • Global address
  • Link-local address

IPv6 interfaces are more likely to be configured with multiple addresses

While it’s possible to configure IPv6 addresses statically, most hosts obtain a global & link-local address via local router

92
Q

What are IPv6 global addresses used for?

A

Communicating over the Internet

This is the equivalent to IPv4 public addresses

93
Q

What hex digit do IPv6 global addresses start with?

A

2 or 3

i.e. 2001:0db8:85a3:0000:0000:8a2e:0370:7334

94
Q

What are IPv6 link-local addresses used for?

A

Communication between devices on the same LAN

95
Q

What do IPv6 link-local addresses start with?

A

fe80::

96
Q

What is SLAAC?

SLAAC = StateLess Address Auto Configuration

A

IPv6 method where devises self-assign addresses without a server

Central server like DHCP server

97
Q

How do IPv6 hosts obtain a global & link-local address via router?

A

Through SLAAC

98
Q

What network configuration do IPv6 hosts not need?

A

Default gateway

99
Q

3 reasons IPv6 uses the Neighor Discovery (ND) protocol?

NDP is a protocol used in IPv6 to discover other devices on the same network, determine their link-layer addresses, find routers, and maintain reachability information about paths to active neighbors.

A
  • To implement SLAAC
  • Allow a host to discover a router
  • Performs interface address query

“Performs interface address query” refers to a similar process to ARP in IPv4, where a device queries for the link-layer address (MAC address) associated with a specific IPv6 address on the LAN

100
Q

What does a Dual Stack device refer to?

A

Device that can operate IPv4 & IPv6 simultaneously

A host first tries to establish an IPv6 connection and switches to IPv4 if the destination doesn’t support IPv6

101
Q

What TCP/IP layer do WAN interfaces work at?

i.e. DSL & cable modems

A

Link (Network interface) layer