Manage basic networking Flashcards
1
Q
Configured hostname to host.example.com
A
hostnamectl set-hostname host.example.com
2
Q
View the status of the system’s fully qualified host
name
A
hostnamectl status
3
Q
In what file is the static host name specified in?
A
/etc/hostname
4
Q
Test DNS server connectivity for classroom.example.com
A
host classroom.example.com
or
host 172.25.254.254
5
Q
Configure network service to start at boot time.
A
systemctl enable network.service
6
Q
how to create a new NIC called eno2 with IPv4 192.168.0.5/24 and gateway 192.168.0.1
A
nmcli con add con-name eno2 type ethernet ifname eno2 ipv4.address 192.168.0.5/24 ipv4.gateway 192.168.0.1