Chapter 8 - Configuring Networks Flashcards
(40 cards)
What are the two types of IP addresses available now?
IPv4 and IPv6
What is an IPv4 address?
These are based on 32-bit addresses and have four octets, separated by dots, such as 192.168.10.100.
What is an IPv6 address?
These are based on 128-bit addresses and are written in eight groups of hexadecimal numbers that are 16 bits each and separated by colons.
An IPv6 address may look like fe80:badb:abe01:45bc:34ad:1313:6723:8798.
What is a host?
A host is typically a server providing services on the network
How does computers commuinicate?
To make it easier for computers to communicate with one another, every IP address
belongs to a specific network, and to communicate with computers on another network,
a router is used
What is a router?
A router is a machine (often dedicated hardware that has been created for that purpose) that connects networks to one another.
What are private IP addresses?
Private network addresses are addresses that are for use in internal networks only. Some specific IP network addresses have been reserved for this purpose:
- 10.0.0.0/8 (a single Class A network)
- 172.16.0.0/12 (16 Class B networks)
- 192.168.0.0/16 (256 Class C networks)
What is the length of MAC addresses?
12-byte MAC address
An example of a MAC address is 00:0c:29:7d:9b:17.
What are the two parts of the MAC addresses?
The first 6 bytes is the vendor ID, and the second 6 bytes is the unique node ID
How do the default names of network cards in RHEL8 begin?
- Ethernet interfaces begin with en, WLAN interfaces begin with wl, and WWAN interfaces begin with ww.
- The next part of the name represents the type of adapter.
- Then follows a number, which is used to represent an index, ID, or port
- If the fixed name cannot be determined, traditional names such as eth0 are used.
Which command or utility can be used to check the configuration of network?
ip utility, or the ip command
what is the command “ip addr” used for?
Use ip addr to configure and monitor network addresses
What is the command “ip route” used for?
To configure and monitor routing information
Which command is used to configure and monitor network link state?
ip link
Which command to use to check or show current network settings?
ip addr show
Which interface is used for communication between the processes and what is the default IP of the loopback interface in Linux?
The loopback interface is used for communication between processes. Some processes are using the IP protocol for internal communications. For that reason, you’ll always find a loopback interface, and the IP address of the loopback interface is always set
to 127.0.0.1
What are all the informations seen in “ip addr show” command?
- Current state
- MAC address Configuration
- IPv4 configuration
- IPv6 Configuration
Which command to use if you are just interested to see the link status of the network interfaces?
ip link show
Which service in RHEL8 manages the networking?
NetworkManager service.
You can use the systemctl status NetworkManager
command to verify its current status
For what purpose is the commands nmtui command or the nmcli command used for?
To manage the network connections that you want to assign to devices, you use the nmtui command or the
nmcli command.
Which command to use to check your current permissions with changing/modifying the network configuration?
nmcli gen permissions
Which command can be used to temporarily set IP address on a network interface?
ip addr add
How to use nmcli command to show all connections?
nmcli con show
This shows active and inactive connections. You can easily see the difference because inactive connections are not currently assigned to a device
How to see all the properties of the network interface ens33?
nmcli con show ens33
syntax is : nmcli con show