What is the standard communication method to send messages between devices known as?
TCP/IP
TCP/IP is also a routing protocol that provides best effort delivery.
Name the four layers of the TCP/IP model.
Each layer has a specific job in the communication process.
In the context of networking, what does IP represent?
House number
It is a unique number in the network.
What does Port refer to in networking?
Which door to use
Ports are used to identify specific services on a device.
Define Socket in networking terms.
Combo of IP and Port
Example: 192.168.10.1:23.
What are the three components of an IP configuration?
These components define the network and how to access it.
What does the subnet mask define in an IP configuration?
Defines your network/how big of network
It helps distinguish between the network and host parts of an IP address.
True or false: The first part of an IP address represents the host.
FALSE
The first part of the IP is the network; the rest is the host.
What is the difference between IPv4 and IPv6 addressing?
IPv4 supports ~4.2 million addresses, while IPv6 supports ~340 trillion-trillion-trillion addresses.
How do computers browse the Internet using names?
Mapping the name to the IP via DNS
IP addresses are used for routing messages across subnets.
What command is used to view the adapters in your system?
$ip link
This command shows the status and MAC of the adapters.
What utility can be used to test if you can communicate with a remote computer?
Ping
You need to know the remote IP address to use this utility.
What command shows the route table in Linux?
$ip route
The route table helps determine where to send packets.
What command is used to show all active sockets?
$ss -a
This command displays all sockets and their connections.
What is the purpose of the Network Manager in Linux?
Manages networking
It provides commands to show device info and manage connections.
To delete a connection in Network Manager, what command would you use?
$sudo nmcli com del enp2
This command removes the specified connection.
What file do you edit to set a computer’s hostname?
/etc/hostname
You can also use the command $sudo set-hostname <name>.</name>
What does the hosts file do?
Converts names to IP addresses
It is used for name resolution on the local machine.
What does a computer do when it can’t resolve a name or IP address?
Asks a Domain Name Service (DNS) server
The DNS address is specified in /etc/resolv.conf.