2.5 Given a scenario, install & configure basic wired/wireless SOHO networks Flashcards
What is a protocol?
Rules for structured data communication among networked hosts
What are protocols often designed for?
Working together as a protocol suite
Most networks have converged on the use of the TCP/IP suite.
Why is the TCP/IP suite divided into layers?
To better understand the function of each protocol
In the TCP/IP, what does each lower protocol do?
Encapsulate data from higher-layer protocols
As data moves down the protocol stack, lower-layer protocols add their own headers before transmitting it
List the 4 layers of the TCP/IP suite
- Application
- Transport
- Internet
- Link (Network Interface)
Purpose of TCP/IP’s link layer?
Put frames onto the physical network
Which TCP/IP layer does not contain a TCP/IP protocol?
Link (Network interface) layer
What is used at the TCP/IP’s link layer?
LAN protocols & media
i.e. Ethernet or Wi-Fi
Where does communication on the TCP/IP’s link layer take place?
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
Purpose of TCP/IP’s Internet layer?
Address & routes packets across across a network of networks
(the Internet)
What is an “end system host”?
Device that can communicate on an IP network
i.e. PC, laptop, mobile device, server, etc.
What’s required to transmit IP packets over a physical/data link layer?
Like Ethernet or Wi-Fi
Mechanism to encapsulate IP packets within data link layer frames
What mechanism encapsulates IP packets within data link layer frames?
ARP
Meaning of ARP?
Address Resolution Protocol
What does ARP do?
Queries the MAC address associated with an IP address
2 types of delivery IP can provide?
Unreliable & connectionless delivery
A packet may be lost, delivered out of sequence, duplicated, or delayed
Purpose of TCP/IP’s Transport layer?
Manages multiple connections for application layer protocols
How is the TCP/IP’s Transport layer protocol implemented?
Via TCP or UDP protocol
What kind of packet delivery does TCP provide?
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.
What kind of packet delivery does UDP provide?
Connectionless packet delivery
UDP provides unreliable packet delivery
Which Transport layer protocol is faster?
UDP
Why is UDP faster than TCP?
Doesn’t send extra data for reliable connections
When is UDP used over TCP?
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
What does the TCP/IP’s Application layer contain?
Protocols that perform a high-level function
Rather than simply addressing hosts & transporting data
What are Application protocols used for?
Managing network hosts & services
services like web & email
What does each application protocol use to connect clients to a server?
TCP or UDP ports
What are the 2 most important fields in an IP packet?
Source & destination IP address
2 versions of IP?
- IPv4
- IPv6
How long are IPv4 addresses?
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).
What is the range of an IPv4 address?
0.0.0.0 to 255.255.255.255
However some addresses are not permitted or are reserved for special use
What 2 pieces of information do IPv4 addresses provide?
- Network ID
- Host ID
What does the Network ID in an IPv4 address identify?
The network to which a device belongs
The network ID is common to all hosts on the same IP network
What does the host ID in an IPv4 address identify?
A host within an IP network
What distinguishes the host & newtork ID of an IPv4 address?
Network prefix
What is a network prefix?
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
What is the dotted decimal expression of a network prefix called?
i.e. 255.255.255.0
Subnet mask
What does each binary 1
indicate in a subnet mask?
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.
What does this slash notation mean?
192.168.0.0/24
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
What is slash notation often used for?
i.e. 192.168.0.0/24
To refer to network IDs
i.e. 192.168.0.0/24
refers to an IP network
What is a subnet mask often used for?
i.e. 255.255.255.0
Host configuration dialogs
i.e. 192.168.0.1/255.255.255.255
refers to a host address on that IP network